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)
-   -   display images? (https://forum.x-cart.com/showthread.php?t=17021)

Wambli 10-01-2005 05:02 PM

display images?
 
how do I change my code so that my thumnails on my product.tpl page display side by side and not under each other?? PLEASE HELP I'M NEW AT ALL OF THIS :(

balinor 10-01-2005 05:38 PM

General Settings/Appearance Options - number of products per row.

Wambli 10-01-2005 05:45 PM

Did that
 
I already did that I changed the number to 3 and nothing happened?

balinor 10-02-2005 05:41 AM

Are you talking about the product detail page or the products that display under a category/sub-category?

Also, please put your X-Cart version in your signature. Thanks!

Wambli 10-02-2005 06:53 AM

I'm talking about The products that display under a category/sub-category

if you go to page http://www.omagruene.com/xcart/home.php?cat=255

that is the page I want to display the images side by side
I have version x-cart 4.0

balinor 10-02-2005 08:22 AM

Ok, so put 3 in the box we discussed above, and make sure you uncheck the box that says 'only display featured products in multiple columns'.

And please put your exact version in your signature. 4.0.x...probably .16 if you just got it. Edit profile, enter version, enter password, save. Thanks!

Wambli 10-02-2005 08:38 AM

Thanks
 
Thank you so much for your help I did not uncheck the box that says 'only display featured products in multiple columns'.!! Thanks again and I will Edit my profile! :lol:

embellish1 10-19-2005 05:51 PM

I made my products in a 2 column format but my "buy now" button disappeared. It is still checked in the general settings. Is there a way to have 2 or 3 columns and still have the "buy now" button appear?

shan 10-20-2005 05:41 AM

edit products_t.tpl

youll see where the buy now button is commented out

embellish1 10-20-2005 08:57 AM

Will you please elaborate? I went to the Edit products option.tpl becauset that was the only one I could find and the only thing I found was this
{include file="buttons/button.tpl" button_title=$lng.lbl_edit_options href=$href title=$title style=$style}

Were do I go from here?

balinor 10-20-2005 09:27 AM

Edit customer/main/products_t.tpl. Remove the {*** comments around the buy now button.

embellish1 10-20-2005 10:14 AM

What do you mean take out the comment out? I tried to take out the {/if}
{*** Uncomment it if you need 'Buy Now' button *** but that didn't work. then I tried to just take out the *** but no luck. This is what I found. please explain further. And thank you for taking your time to explain.



{/if}
{*** Uncomment it if you need 'Buy Now' button ***
{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
*** Uncomment it if you need 'Buy Now' button ***}

balinor 10-20-2005 10:42 AM

Remove JUST these two lines:

{*** Uncomment it if you need 'Buy Now' button ***

*** Uncomment it if you need 'Buy Now' button ***}

embellish1 10-20-2005 10:55 AM

For some reason it didn't work. I have tried this 2 times. THis is the error I get
[color=blueFatal error: Smarty error: [in customer/main/buy_now.tpl line 1]: syntax error: unrecognized tag: $Id: buy_now.tpl,v 1.15.2.7 2004/12/01 15:15:49 mclap Exp $ (Smar in /home/embellis/public_html/store/Smarty-2.6.3/Smarty.class.php on line 1082

][/color]

embellish1 10-20-2005 10:56 AM

Sorry here is the error I get
Fatal error: Smarty error: [in customer/main/buy_now.tpl line 1]: syntax error: unrecognized tag: $Id: buy_now.tpl,v 1.15.2.7 2004/12/01 15:15:49 mclap Exp $ (Smar in /home/embellis/public_html/store/Smarty-2.6.3/Smarty.class.php on line 1082

balinor 10-20-2005 11:01 AM

You either did something to the buy now template, or you removed more than just those two lines of code from product_t.tpl....

embellish1 10-20-2005 11:08 AM

I copied an entire section before I started then took those two lines out and checked to make sure I didn't take anything else out or make any other changes. IT still didn't work.
I will eventually figure it out.
Thank you for your time and info.

balinor 10-20-2005 11:10 AM

Did you alter buy_now.tpl?

embellish1 10-20-2005 11:11 AM

I looked at it but didn't take anything out.

embellish1 10-20-2005 01:28 PM

I just restored my buy_now.tpl then commented out and it works. I must of done something when I opened the buy_now button.
The buy now button appears but it is left justified with lack of a better word. How do I center the buynow button under my product image?

balinor 10-20-2005 01:31 PM

Use <div> or <span> tags around the button code to position it how you would like.


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

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