Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X Cart Discounts

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-12-2012, 08:49 AM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default X Cart Discounts

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
Attached Thumbnails
Click image for larger version

Name:	discount.JPG
Views:	147
Size:	26.8 KB
ID:	3271  
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #2  
Old 11-12-2012, 12:00 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 11-12-2012, 12:17 PM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default Re: X Cart Discounts

Doesn't really show where the price is at just the word discount.
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #4  
Old 11-12-2012, 02:42 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: X Cart Discounts

What template are you looking at? Can you post a snippet of the code?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #5  
Old 11-12-2012, 02:57 PM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default 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.
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote
  #6  
Old 11-12-2012, 03:31 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #7  
Old 11-12-2012, 03:49 PM
  Johnwiggity's Avatar 
Johnwiggity Johnwiggity is offline
 

Advanced Member
  
Join Date: Nov 2012
Posts: 48
 

Default Re: X Cart Discounts

Thanks a lot man! Your video tutorials are really good.

John
__________________
4.5.4

http://www.learningguitarnow.com
Reply With Quote

The following user thanks Johnwiggity for this useful post:
totaltec (11-12-2012)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:22 AM.

   

 
X-Cart forums © 2001-2020