| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
buy now button removal | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I have this code in my product template:
Quote:
I tried this, but all I get is a blank page from the point that I modify: Quote:
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#2
|
|||||||
|
|||||||
![]() That's not a correctly formatted comment
![]() {* Commented Out Code *} So in your case, it would be: <BR><BR>{/if} {if $product.forsale ne "B"} {*{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}*} {if $login ne "" and $active_modules.Wishlist ne ""} {include file="customer/add2wl.tpl"} {/if} {else} That's the add to cart button though, not the buy now button.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Ah ha! Caught it. Thanks!
Oh so now I've fixed that, I can still see the "Quantity" and the dropdown of how many they can choose. I'm wondering if you could help me out with commenting out that portion too? Quote:
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#4
|
|||||||
|
|||||||
![]() You actually need to comment out more than you posted above - everything from the first <tr> to the closing </tr>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|