Tell us what you are trying to do? I want to add both Buy Now and Add to cart button in Toolset.
Buy Now = Adds product to cart and redirects user to Checkout.
Add to cart = Adds product to cart.
Currently, I am using the [wpv-woo-buy-options add_to_cart_text="Buy Now"] which has the Buy Now function. How can I add an add to cart button in conjunction with the shortcode above?
Hello. Thank you for contacting the Toolset support.
Sorry - but [wpv-woo-buy-options add_to_cart_text="Buy Now"] serves the both purpose. It adds to product to cart as well as you can checkout. Please check the following test link:
=> hidden link
We do not have any other shortcode that displays the add to cart button. We offer the following shortcode but that works on the product listing page:
[wpv-woo-buy-or-select add_to_cart_text="Add to basket" link_to_product_text="More details"]
It says:
description:
This shortcode outputs the Add to cart button on the Product detail pages for simple products. For Variable products, a user will be presented with a drop-down menu of Variations to select from.
For other product types, the shortcode output will adjust automatically to the correct Add to cart button output. For example, the product bundle or a group appears before the button. For an external product, the Add to cart button links to an external or affiliate site.
As you read the shortcode output will be adjusted automatically based on product type.
We want to give the users two options in the product page:
1. Buy now (which directs them straight to Checkout).
2. Add to cart (normal add to cart function).
Screenshot for explanation: hidden link
Right now, [wpv-buy-options] just allows either add to cart or buy now (based on your settings in Woocommerce).