Remove items in cart when exiting the page
-
Good morning,
I have a site that shows a page for every business that wants to be there and the simple cart is next to the products of each business (there is no check-out page).
I am trying to avoid being in the middle of the transaction of money between the clients and the businesses, so I would like to know if there is a way to set up different Live Client ID, Live Secret, Sandbox Client ID and Sandbox Secret.
I am using Advanced Custom Fields and CPT UI plugins, so I can add a text box there for each business, write their payment codes and then call them with shortcodes created with PHP.
However, it seems like Advanced Settings does not accept the codes behind the shortcodes (for example if I put: Live Client ID: [field “live-client-ID]).
I also would like to know if there is a way to remove the items in the cart when changing to another business (another page), so the cart only considers the products of that specific page and the payments do not get mixed up.
Thank you for reading this and best regards,
Alba
- The topic ‘Remove items in cart when exiting the page’ is closed to new replies.