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)
-   -   Remove "see details" and "save x%" (https://forum.x-cart.com/showthread.php?t=39302)

merbay 04-23-2008 07:48 AM

Remove "see details" and "save x%"
 
I'm a real newbie, but really trying to learn. Am making minor, minor changes to template, but still hard!

How do I remove "see details" and "save x%" from my category lists? Also, the "SKU" could also be removed. (I will just comment out for now)

Thanks for help!!

kube 04-23-2008 05:22 PM

Re: Remove "see details" and "save x%"
 
Hi merbay,

To remove "See Details"...
open up skin1/customer/main/products.tpl and {* comment out *}
Code:

<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}{if $featured eq 'Y'}&amp;featured{/if}">{$lng.lbl_see_details}</a>

To remove "save x%"...
Again in products.tpl locate and comment out...
Code:

{$lng.lbl_save_price} {$discount}%

There doesn't appear to be anything that can remove SKU either so if you've already commented it out. It should be okay.

Hope this helps.

merbay 04-23-2008 06:56 PM

Re: Remove "see details" and "save x%"
 
Kube-- Thanks for the quick answer. I made those changes, but nothing happened. Is there something else I need to do??

thanks!

kube 04-23-2008 07:12 PM

Re: Remove "see details" and "save x%"
 
Try cleanup.php which clears your cache.

Also, these are referring to the category pages with products listed, is that correct? For instance, 'see details' appears to be available only to those pages.

If it still doesn't work. Have you purchased any modules or templates which could affect output?

merbay 04-23-2008 08:34 PM

Re: Remove "see details" and "save x%"
 
Try cleanup.php which clears your cache ??

I rebooted, will this do the same thing? It did not help. Yes, I am referring to the category pages. I have not added any modules so far-- am using the default template.

kube 04-23-2008 08:48 PM

Re: Remove "see details" and "save x%"
 
Oops my bad, I forgot about multi-column layout... how about trying exactly the same for products_t.tpl which should be in the same location as products.tpl

merbay 04-24-2008 07:57 AM

Re: Remove "see details" and "save x%"
 
Thanks kube!
I am using multi-columns-- made the changes in products_t.tpl and it worked perfectly! Thanks so much for showing me exactly what was needed.

sparker2 07-03-2008 10:55 AM

Re: Remove "see details" and "save x%"
 
Is there a way to remove this only from 1 category only? I have 1 category that I do not want this to show but I do need to show the (List price) and(Price) but do not want it to look like a sale. Thanks in advance for any help.


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

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