X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   "You Saved..." under sub-total in cart (https://forum.x-cart.com/showthread.php?t=41772)

balinor 08-15-2008 07:35 AM

"You Saved..." under sub-total in cart
 
Here's an interesting one - I have a client who would like to list the total amount saved in their cart as a line item. The math would be the total list price - total sale price = $saved. Any ideas? I'm guessing I need to put some code in that defines a total list price subtotal and then I can probably handle the Smarty math function from there.

peterstagg 09-05-2008 03:35 PM

Re: "You Saved..." under sub-total in cart
 
Hi Balinor
From what I have seen I don't think the values you need are there. I am looking at the VAT issue. It shows up in the products page but wont shift over to the minicart list. Would you need to customise the cart sql first?

balinor 09-06-2008 11:21 AM

Re: "You Saved..." under sub-total in cart
 
Need to define the Smarty values into the cart.php file I'm guessing and then it can be called via the template.

uglysign 01-21-2010 03:18 PM

Re: "You Saved..." under sub-total in cart
 
Padraic or anyone else,

Was there any update to this "You Saved..." under the sub-total?
What files needed changes etc.

I recently bought AC's OnSale mod and was thinking of doing something like this.

Thanks! :D/


All times are GMT -8. The time now is 04:51 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.