Sale Amount of 0.00

General ShopSite user discussion

Sale Amount of 0.00

Postby VinceS » Mon Apr 23, 2007 8:30 am

Is the Sale On flag the only determining factor of the amount that gets sent to the cart?
I changed my template to look at the value of the Sale Amount to see if it was zero and then to default to the price. That all works fine until you add the product to the cart. The cart shows zero. Funny, the SS code process for pricing looks to see if the Sale.Amount is present but doesn't check for zero value.
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Postby Jim » Mon Apr 23, 2007 9:41 am

Yes the Sale On flag is what determines if the shopping cart will use the sale or regular price. On adding an item to the cart it checks to see if the On Sale Price value is empty and if it is then the regular price is used but if there is any value in the On Sale Price then that value will be used. Empty and 0 are not the same thing in this case.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 131 guests