NicholeAllder Posted March 28, 2023 Posted March 28, 2023 Hi, I'm doing some amends to a site. The programmer created an extra button with a form attached on a couple of products. https://growthcollective.com.au/purchase-programs/p/leadership-fundamentals and https://growthcollective.com.au/purchase-programs/p/emerging-leader The client has created some new products but needs the second button 'Request an Invoice' removed on these pages. https://growthcollective.com.au/purchase-programs/p/disc-profile https://growthcollective.com.au/purchase-programs/p/disc-profile-fbjc2 I believe this is the code to create the second button, but can't seem to customise it to only show on the first 2 pages. Thanks
NicholeAllder Posted March 29, 2023 Author Posted March 29, 2023 This is also in the advanced area heading... <!--second shopping button attempt--> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <script> $(function() { $("<a class='checkoutbutton' href='/request-an-invoice/'>Request an Invoice</a>").insertAfter(".sqs-add-to-cart-button-wrapper"); });
Solution NicholeAllder Posted March 29, 2023 Author Solution Posted March 29, 2023 Figured it our - it was #item-6417c3d416fc5e2dcab707d1 .checkoutbutton { visibility: hidden; }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment