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)
-   -   X Cart Discounts (https://forum.x-cart.com/showthread.php?t=65337)

Johnwiggity 11-12-2012 08:49 AM

X Cart Discounts
 
1 Attachment(s)
When adding to cart using the Discounts section in X Cart, I want the Discount to show as negative. Is there a way to alter this?

John

totaltec 11-12-2012 12:00 PM

Re: X Cart Discounts
 
Should be a simple matter of editing the template and adding the minus sign in front of the discount amount. Use webmaster mode to determine the right template to edit.

Johnwiggity 11-12-2012 12:17 PM

Re: X Cart Discounts
 
Doesn't really show where the price is at just the word discount.

totaltec 11-12-2012 02:42 PM

Re: X Cart Discounts
 
What template are you looking at? Can you post a snippet of the code?

Johnwiggity 11-12-2012 02:57 PM

Re: X Cart Discounts
 
I'm looking at the ideal comfort template. Using Google Chrome I've located the CSS but I don't thing that will help. The language for the Discount is lbl_Discount I believe. Am I supposed to be looking in the cart.tpl?

Here's a link to the site if you wanna check it out.

http://www.learningguitarnow.com/store/home.php

Thanks.

totaltec 11-12-2012 03:31 PM

Re: X Cart Discounts
 
What I would do is look for the template file where the discount is displayed. I can go find the template for you, but it would behoove you to learn to find the template yourself. Watch my tutorial on webmaster mode if you need a refresher.

If you can't find the template, I'll go look it up for you.

Johnwiggity 11-12-2012 03:49 PM

Re: X Cart Discounts
 
Thanks a lot man! Your video tutorials are really good.

John


All times are GMT -8. The time now is 02:41 PM.

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