Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

LadyM
ECT Moderator

1690 Posts

Posted - 10/19/2020 :  10:58:10  
When I had pages, I would just add this to products.php to disable the checkout button at the top. If I add this to the theme css with dynamic pages, I think it would disable the buy and checkout globally. How do I target just the products page to remove the checkout button at the top.

$nobuyorcheckout=TRUE;

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 10/20/2020 :  02:32:08  
Hi Anne,
Yes normally you would add the parameter $nobuyorcheckout=TRUE; to the vsadmin/includes.php file (in WP format of course) or add the following to your css file
div.checkoutbutton{display:none;}

Unfortunately with the later WordPress set up both those additions will remove the checkout button globally and I can't think of a solution for that.



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

LadyM
ECT Moderator

1690 Posts

Posted - 10/22/2020 :  14:15:08  
Bumping this up. The checkout on the products page is kind of silly. I really need to remove it from the dynamic products page if possible. Any other suggestions please? It's not in the css layout, first place I checked.

Edited by - LadyM on 10/22/2020 14:16:26

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 10/22/2020 :  14:27:36  
Hi Anne
When I said globally I meant it will only be removed from the products categories and product detail pages.
It won't be removed from the cart page.



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

LadyM
ECT Moderator

1690 Posts

Posted - 10/22/2020 :  14:32:25  
Quite an important definition, grin. ...and it works perfectly. Thanks Phil. Glad I asked again.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000