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)
-   -   Our price $ 39.00 you save 1% (https://forum.x-cart.com/showthread.php?t=35904)

paint@autopaint18.com 12-04-2007 09:27 AM

Our price $ 39.00 you save 1%
 
Hi,
hope i am in the right section,
can anyone tell me if and how there is a way to space out the you save from the amount ?
i added the word you to the save and it's a little too crowded.
thanks
z

balinor 12-04-2007 09:33 AM

Re: Our price $ 39.00 you save 1%
 
It depends on where. If you are using a one column product layout, it is in customer/main/product.tpl. If you are using multiple columns, it is customer/main/products_t.tpl

paint@autopaint18.com 12-04-2007 09:46 AM

Re: Our price $ 39.00 you save 1%
 
thanks for your quick response,
how can i tell which one that i need to edit?
thanlks
Z

paint@autopaint18.com 12-04-2007 09:51 AM

Re: Our price $ 39.00 you save 1%
 
do you think the webmaster mode would be easier to deal with?
i was told by xcart to try to stay away from curls.
Z

balinor 12-04-2007 09:55 AM

Re: Our price $ 39.00 you save 1%
 
curls? Which layout are you using, a single column product display or a multi-column?

paint@autopaint18.com 12-04-2007 10:05 AM

Re: Our price $ 39.00 you save 1%
 
is this the area i am suppose to be in?
i am attaching the area that i thought i have to be in?
Z

balinor 12-04-2007 10:11 AM

Re: Our price $ 39.00 you save 1%
 
You have totally lost me...

paint@autopaint18.com 12-04-2007 10:43 AM

Re: Our price $ 39.00 you save 1%
 
Ryan it's you ,
i am clueless , i don't know who assigned advance member to me but i am no where advanced.
when entering the template that you asked me to go into all i see is curls ie:},am i in the correct template?
sorry
i came from l/c so it was a little more simple.
thanks
Z

balinor 12-04-2007 10:49 AM

Re: Our price $ 39.00 you save 1%
 
Heh...the advanced is based on post count, has nothing to do with skill level :)

Yes, the curls are Smarty...if you don't understand Smarty, it is difficult to edit X-Cart templates, as they are all based on that language. You want to look for the bit of code that looks like this:

{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if}

Add more spacing before the {$discount}% part using   for a space.

paint@autopaint18.com 12-04-2007 10:55 AM

Re: Our price $ 39.00 you save 1%
 
thanks for pointing out the advanced business,
you are just amazing ryan,
with your example i can now go and make the spaces i need .
you are a great help and saves some point with xcart.
thanks
Z


All times are GMT -8. The time now is 12:08 PM.

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