Hello, I just want to continue this closed ticket which has been thought resolved,https://toolset.com/forums/topic/how-to-build-a-pricing-table-with-woocommerce-by-toolset/ I just wanna build a pricing table for few simply products. so I did following steps.
1, Using title+ price + product briefs + {!{wpv-woo-buy-or-select add_to_cart_text="Pay now"}!} to set up a view, note, the add_to_cart is just using for products listing page,
2, put that shortcode of View on the page,
3. put this piece of code to function.php hidden link
add_filter('add_to_cart_redirect', 'themeprefix_add_to_cart_redirect');
function themeprefix_add_to_cart_redirect() {
global $woocommerce;
$checkout_url = $woocommerce->cart->get_checkout_url();
return $checkout_url;
}
4. As per other steps that webpage says, I also set up product setting of woocommerce,
but there are two issues appeared.
1. after clicking "Buy now", "view cart" shows up next to button, only if clicking "view cart", the page goes to checkout page, can it go to checkout page just one click?
2. the most important thing is that shopping cart still gets +1, if clicking "pay now", an ideal solution should be automatically clearing shopping cart while each new clicking triggered I guess.
I think the pricing table of your site is very good, maybe you can share this to me if possible 🙂 https://toolset.com/buy/
Best regards