## Can’t get BOGO to reflect in cart, but applies. HELP

I am trying to create a BOGO coupon in Magento. 2 things.

Is there a configuration to turn on the website field in the Cart Price Rules (it’s not available to me)?

When i create the BOGO, i can get it to apply in the shopping cart. But the subtotal doesn’t actually reflect that  was discounted.

Right now I have it set up to discount the cart total 50% if X amount of products are in the cart. This seems very hacky, but the only way i could get it work on the cart  .

## How do I determine if a Racial Trait applies to Wildshape?

The description for Wild Shape says, “You retain the benefit of any features from your class, race, or other source and can use them if the new form is physically capable of doing so.”

How do I tell if I can retain a feature? What criteria are used to determine if a Racial Feature would still be available in a Wild Shape form?

## Set Session in anchor tag like how it applies in gridview

So I have edit link in gridview using buttonfield in aspx embedded as

<asp:ButtonField CommandName="Edit" Text="Edit"/> 

and process inside vb

Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand     If e.CommandName = "Edit" Then         Dim Index As Integer = Convert.ToInt32(e.CommandArgument)         Dim IDfundamental As String = GridView1.Rows(Index).Cells(0).Text         Session("IDFundamental") = IDfundamental         Response.Redirect("Back_Fund_Detail.aspx?Flag=EDIT")     End If End Sub 

As you can see I set session when row clicked.
But how do I apply same stuff with process like this? How can I set different session based on value [let’s say row(3)] in anchor tag

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load      If Not Me.IsPostBack Then         Dim dt As DataTable = Me.GetData()          Dim html As New StringBuilder()          html.Append("<div style='width:500px;float:left;clear:both'>")           For Each row As DataRow In dt.Rows             html.Append("<div style='width:200px;margin:50px'>")              html.Append("<div style='background-color:gray'>")              html.Append("test = " + row(0) + "<br>test1 = " + row(1) + "<br>test2 = <a href='Functional_Sub.aspx'>test</a>")              html.Append("</div>")             'Next             html.Append("</div>")         Next          html.Append("</div>")         PlaceHolder1.Controls.Add(New Literal() With { _            .Text = html.ToString() _          })     End If  End Sub 

Cheers!

## Show attribute value which applies to all items in a category

Let’s say I have a shop which is specialized in organic food but still offers non-organic food. All items have the attribute “organic” with the options “yes”, “partially” and “no”.

There is a category “coffee”. All coffee in my shop is organic. When a user selects the coffee category, the value “yes” for the “organic” filter will not be shown because all items use this value.

I’d like to show this “yes” value because I want to emphasize for the users that all coffee is organic.

Is there a solution for this? Can this configured via the UI? If not, where in the source code can I change this behaviour?

## Does Android 7 “Data Saver” also applies to metered WLAN?

The section ‘Use Android Nougat’s “Data Saver” (Android 7.0+)’ under this site ‘How to Restrict Background Data for Metered Wi-Fi Networks on Android’ mention:

Android 7.0 Nougat introduced a much more granular way to take the reins on your mobile data with a new feature called Data Saver.

Basically, this allows you to limit background data used by apps, but whitelist anything that want to have unrestricted access. This means background data is disabled for every app by default, then you can pick and choose where to grant unlimited access

And that’s all there is to it. It’s worth keeping in mind that this only applies to mobile data-all apps will remain unrestricted while on Wi-Fi.

My question is whether this ‘Data Saver’ option applies to Wi-Fi that you set to metered, meaning metered WLAN?

## Create one common blacklist that applies to all campaigns in Google AdWords

We are currently creating an IP exclusion list for each campaign separately in Google AdWords. Is it possible to instead have one common list for all of my campaigns?

Is it possible to make exclusions not by IP but by AS (Autonomous System – IP range) completely?

## Is there a variation of Coppersmith’s method that applies to disjoint variable set with additional control?

We have a polynomial $$f(x_1,x_2,x_3,x_4)\in\mathbb Z[x_1,x_2,x_3,x_4]$$ where the only monomials are $$x_1^2,x_1,x_1x_2,x_2,x_2^2,x_3,x_4,x_3x_4$$ and we seek solutions $$(x_1,x_2,x_3,x_4)\in\mathbb Z^4$$ with $$|x_1|, $$|x_2|, $$|x_3| and $$|x_4|. We see that $$x_1,x_2$$ and $$x_3,x_4$$ variables do not mix.

It seems the set of $$x_1,x_2$$ variables satisfy the generalized lower triangle bound on page $$16$$ http://www.cits.rub.de/imperia/md/content/may/paper/jochemszmay.pdf and the overall set of variables $$x_1,x_2,x_3,x_4$$ also satisfy the generalized lower triangle bound.

In here $$\lambda_1=\lambda_2=\lambda_3=\lambda_4=2$$ and $$D=1$$.

Assume we have the additional condition that for a given $$(x_1,x_2)\in\mathbb Z^2$$ with $$|x_1| and $$|x_2| we have that there is an unique $$(x_3,x_4)\in\mathbb Z^2$$ with $$f(x_1,x_2,x_3,x_4)=0$$, $$|x_3| and $$|x_4| vice versa for a given $$(x_3,x_4)\in\mathbb Z^2$$ with $$|x_3| and $$|x_4| we have that there is an unique $$(x_1,x_2)\in\mathbb Z^2$$ with $$f(x_1,x_2,x_3,x_4)=0$$, $$|x_1| and $$|x_2|. $$W$$ is highest absolute value of coefficient of $$f(x_1X_1,x_2X_2,x_3X_3,x_4X_4)$$.

1. In this situation can the bound of $$X_1^{\lambda_1}X_2^{\lambda_2}X_3^{\lambda_3}X_4^{\lambda_4}\leq W^\frac1D$$ be improved to $$\max(X_1^{\lambda_1}X_2^{\lambda_2},X_3^{\lambda_3}X_4^{\lambda_4})\leq W^\frac1D$$ or may be at least $$\max(X_1^{\lambda_1}X_2^{\lambda_2},X_3^{\lambda_3/2}X_4^{\lambda_4/2})\leq W^\frac2{3D}$$ ($$\lambda_3/2$$ and $$\lambda_4/2$$ is based on guess that variables are disjoint and have separate control and $$x_3,x_4$$ do not satisfy generalized triangle bound with $$\lambda_3=\lambda_4=1$$ and assuming $$x_1,x_2$$ variables were not present in given polynomial will give $$W^{\frac2{3D}}$$ bound)?

2. If not what is the best we can do at least for the case $$X_1=X_2=X_3=X_4$$?

Cross-posted: https://crypto.stackexchange.com/questions/64296/is-there-a-variation-of-coppersmiths-method-that-applies-to-disjoint-variable-s