Skip Navigation

[Resolved] How to add both Buy Now and Add to cart button in Toolset?

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by StanleyT8485 5 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1301105

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?

#1301213

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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"]

=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-buy-or-select

#1301227

Thanks for the reply, Mitesh.

As far as I know, [wpv-woo-buy-options] is either Buy Now or Add to Cart. You have to choose either one.

We want to give the users two options:
1. Buy now (which directs them straight to Checkout).
2. Add to cart (normal add to cart function).

Can Toolset do this?

#1301233

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - As you can see with our Docs:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-buy-options

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.

#1302519

I understand all that.

But what I want is to add two options:

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).

Am I missing something from your explanation?

#1302539

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi Stanley,

There is no such feature available for now and I do not have any workaround to offer you at the moment.

You may submit the new feature request using the following form:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1302555

My issue is resolved now. Thank you!