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)
-   -   Modify Thumbnail Display (https://forum.x-cart.com/showthread.php?t=40352)

eddyh 06-07-2008 08:08 PM

Modify Thumbnail Display
 
1. how do i modify , remove text like Our price, market price, see detail ?
2. how do i display 4 columns of products in a row?

Lingerieblowout 06-08-2008 07:44 AM

Re: Modify Thumbnail Display
 
1. There is no quick an easy way to display products by 4 as xcart gives the option 1-3 in admin you would have to change soure for that.

2. you can modify the text in languages unless its a picture then modify the TPL.

Modifing any TPL you should first create a backup :)


Quote:

Originally Posted by eddyh
1. how do i modify , remove text like Our price, market price, see detail ?
2. how do i display 4 columns of products in a row?


JWait 06-08-2008 09:25 AM

Re: Modify Thumbnail Display
 
eddyh, it sounds like you are trying to just show thumbnails and maybe a price on your category pages, is this correct? If so, you need to modify "customer/main/products_t.tpl" you should see the references to "Our price, market price, see details, etc." Comment out what you don't want using "{* what you want to remove *}" and save the file as a different name (personally, I just add "-1, -2, etc" to each edit I make. Then upload using FTP and change the name by removing the -1 and test by reloading the page.

As for changing the number to anything above 3, Lingerieblowout is probably correct about changing the coding. Without looking at it I don't know where.

Lingerieblowout 06-08-2008 10:34 AM

Re: Modify Thumbnail Display
 
This line in customer/main/products_t.tpl displays the image "see details"

<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}"><img src="{$ImagesDir}/details.gif" alt="{$lng.lbl_see_details}" /></A>


Just put {* *} around it to comment it out save and refresh page .. see it that give you what you want.


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

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