Woocommerce redirect [on hold]


I’m working on a classfields website and I want to make featured ads where users have to pay for premium ads so I added in the Ad Listing page some woocommerce products for users to select.

What I want is when the user clicks the Submit Listing at the bottom of the page to redirect him to checkout or cart page but only if he added some product to cart. If no product selected the page should act as normal.

I’m thinking that I need some Php if…else Statement, I’m not so good with php:)

Here’s the page http://carfind.ro/add-car/

Link: Woocommerce redirect [on hold]
Source: Stack WordPress


About Author

Leave A Reply