HomeHome Product Discus... Product Discus...SmithCartSmithCartAdding Product Variant Through Query String not Pricing CorrectlyAdding Product Variant Through Query String not Pricing Correctly
Previous
 
Next
New Post
10/8/2013 11:04 AM
 
When a Product (sandwich) with a multiple variants is added to the cart the via the query string, pricing is not applied properly. Only the price of last variant added is being applied. As per documentation we should be able to add multiple variants in query string  and the price should be applied based on the variants. 

Example Scenario:
Product: Sandwich -$ 5:00
Variant Groups: 
  • Meets
  • Vegetables
Meets
  • Chicken -- $1:00
  • Turkey -- $2:00
Vegetables
  • Tomato --$00:00
  • Onions--$00:00

If we select meets(chicken) first and then vegetables, the sandwich price shown in cart $5:00
If we select vegetables first and then meets(chicken), the sandwich price show in cart $6:00

We are sending the variants in the query string as described in the manual:

3. The format of the URL when passing multiple product ids and variant ids in the querystring is the following:
https://www.mydomain.com/BuyNow/cart.aspx?Variants=1~3~5;14~34~35~38
A semi colon is used to delimit “productids” and the tilde is used to delimit “variantids”. This format allows you to add multiple products and multiple variants and associate products with a specific set of variants. 

We are using SmithCart v.5.65.  Please let me know if you need any more information.

Thanks for your help!
Dave

 
New Post
10/9/2013 2:15 PM
 
Hi Dave,

Can you confirm which version of DNN you are currently running?

Also please provide screenshots of the Variant Setup screens of the Variants you are trying to add via the querystring.

Thanks!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartAdding Product Variant Through Query String not Pricing CorrectlyAdding Product Variant Through Query String not Pricing Correctly