Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
No, that's no good. That removes it everywhere. I want to remove it from the cart page but leave it on the login page.
Then you will have to dig in to the code and comment out the lines manually
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
I'm getting to like Paypal Express - it certainly increases turnover. Hence trying to remove another page in the checkout . . .
Is there any reason why it doesn't show on individual product pages and would it work if I can find the code and put it on the product.tpl page?
Thanks.
I think I'm nearly there. I added the code below from tpl_shopping_cart_default.php to the tpl_product_info_display.php:
<!-- ** BEGIN PAYPAL EXPRESS CHECKOUT ** -->
<?php // the tpl_ec_button template only displays EC option if cart contents >0 and value >0
if (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True') {
include(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php');
}
?>
<!-- ** END PAYPAL EXPRESS CHECKOUT ** -->
It's only showing for a logged in customer but disappears for other visitors. Any help greatly appreciated.
Thanks.
PayPal is not designed to be used that way.
You need to first add the item to the cart, and then the cart's contents are sent to PayPal after clicking the PayPal button.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thank you - in that case I shall stop messing.
Bookmarks