Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 updateprice JS not firing correctly?
Author « Topic »  

Graham Slaughter
Ecommerce Template Expert

814 Posts

Posted - 03/17/2020 :  10:14:17  
I have a product that has a % discount applied to it. Typically this would update the PRICE to display the discount adjusted price.

If that same product has an option that changes the price, then the PRICE doesn't display correctly - it only displays the OLD price instead of the % discount adjusted price:
https://www.suspension.com/moog-packagedeal030



We tried recreating this behavior on the demo site, but I think its parameters arent set to display OLD / vs NEW pricing.

Can you guys tell me if bug is present in the current versions?

- Graham Slaughter

Edited by - Graham Slaughter on 03/17/2020 10:15:23

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 03/17/2020 :  13:43:22  
Hi Graham, the discount is applied in the cart, I may not be understanding the issue but this is what I got when adding to cart.

1 Front End Steering Rebuild Package Kit has been added
- Add Center Link:
Center Link - DS909 Qty 1
Price:$351.85
Cart contents:1 item(s)
(Discounts:$52.78) / Cart total:$299.07

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Graham Slaughter
Ecommerce Template Expert

814 Posts

Posted - 03/17/2020 :  18:30:16  
Yes, I understand that it is showing in the cart correctly.

The issue is highlighted in the screenshot I added - circled in blue.
The price there should be after the discount, not before the discount. The discounted price should show up on the product page, not just on the cart page.

For example, THIS one shows CORRECTLY:
https://www.suspension.com/moog-packagedeal234

The only difference being that it doesn't have a product option on it that effects the price. The bug shows up when you have a product option that effects the price of the product.

- Graham Slaughter

Vince
Administrator

42428 Posts

Posted - 03/18/2020 :  02:36:08  
Hi Graham
Is this by any chance set up with a List Price rather than a discount? With a discount, as Sinbad mentioned, you won't see the discount until you add the item to the cart.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Graham Slaughter
Ecommerce Template Expert

814 Posts

Posted - 03/18/2020 :  07:07:47  
Hey Vince,

You can see the exact setup of the discount here:


The discount does show up prior to cart as long as there isn't a product option available that effects the price of the product.

- Graham Slaughter

Vince
Administrator

42428 Posts

Posted - 03/18/2020 :  07:55:36  
Hi Graham
I tried here and really, defining and assigning a discount to a product won't change the price displayed on the product pages. It will only change it in the cart. Can you make a screen shot of the product definition page?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Graham Slaughter
Ecommerce Template Expert

814 Posts

Posted - 03/18/2020 :  10:05:09  
Oh. You're totally right. It's something I apparently added to the programming.

If you think about it, people are more likely to get to the cart page if they see the discount first rather than just being pleasantly surprised :P

I'm sorry to have sucked up your time on this.
Thanks as always.

- Graham Slaughter

Vince
Administrator

42428 Posts

Posted - 03/18/2020 :  10:36:01  
No problem Graham . . . given that in this part of the world we can't go out for two weeks I'm glad of anything to do.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000