| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing the "Add to Wish List" Button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
Can someone tell me how to remove(disable) the "Product Price"(Add to Cart button) and the "Check Quantity Selection" button on the Featured Products page at home(main) page? Thanks. Here is the store URL: http://www.lcdpartsworld.com/store/ ---------- x-cart Gold 4.3.0 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Having looked at your shop, I see that you have your regular products, as well as your Featured products in the same Column format. That means they are both using the same template, therefore as it stands, any changes you make to the Featured Products to remove these items, would be replicated on all the products listed.
Presuming that's not what you want, so you can't just disable the buy now button in admin. So start by duplicating the template - make a copy of skin1/customer/main/products_t.tpl and call it say products_t_fp.tpl You now have a separate template just for the feat prods. Edit this new file and comment out: {include file="customer/main/buy_now.tpl"} ie change it to {* include file="customer/main/buy_now.tpl" *} Now you need to alter the template that calls this one - so open up: skin1/customer/main/featured.tpl and change: {include file="customer/main/products.tpl" products=$f_products featured="Y"} to {include file="customer/main/products_t_fp.tpl" products=$f_products featured="Y"}
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi pauldodman, it works fine now after the changes. Thank you for your help.
|
|||||||
#4
|
|||||||
|
|||||||
![]() Hello Paul Dodman,
Yeah, it works, but it has a Javascript error when shows on MS I.E.(works with Firefox). Could you tell me how to fix it? Thanks. Here is the error message: Quote:
The store's URL is: http://www.lcdpartsworld.com/store2010/ |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|