• Resolved millonario

    (@millonario)


    Hello, in my case I use woocommerce to provide a membership … what I have is a sales letter of the subscription, the problem is that I created the product and now I do not know how to add a link so that the user can subscribe to the product without having to access the url of the product ..

    What I want is to create a button on a normal page, that the client to click, go directly to buy that product … is it possible to do that? as?

    Another problem that I find, is that every time the user wants to buy the product but it is raised, go out and buy the product again, add 2 products to the cart, put in the options that the user can only buy a product, and when the user clicks for the second time, it appears that he can not buy that product and nothing else comes out …

    So what I would like is to create a button for a simple purchase, and not a cart ..

    I hope you can help me since I have tried everything but it is difficult

    thank you very much.

    • This topic was modified 6 years, 8 months ago by millonario.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    If I understand correctly, you’re essentially looking for a way where users can buy a product without having to go to the single product page (e.g. in a blog post).

    If that’s correct, you can use an add-to-cart shortcode for that. Here’s a guide on how to do that: https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Thread Starter millonario

    (@millonario)

    Thank you so much,

    I imagine it refers to this shortcode: [add_to_cart_url id=”99″]

    The doubt that I have, is that every time the customer clicks on this link, an extra product is added and the price multiplies. There is a way to always have a single product to the carraro every time the customer clicks. link?

    Mine is a service with a fixed monthly payment, it does not make sense for this payment to multiply …

    I try to make the customer can only buy a product with each order, but it gives me errors .. it detects that the car already has that product and puts error to the client ..

    If you could help me I would be very grateful ..

    Thank you

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    Hi there,

    >The doubt that I have, is that every time the customer clicks on this link, an extra product is added and the price multiplies.

    The add to cart action will always add a product to the cart for each time the button is pressed.

    >There is a way to always have a single product to the carraro every time the customer clicks. link?

    If you want to limit the quantity to a single product per order you can do so by toggling the “Sold individually” setting on the Inventory tab on the product settings page here: https://cld.wthms.co/ulc0Vx

    >I try to make the customer can only buy a product with each order, but it gives me errors .. it detects that the car already has that product and puts error to the client ..

    If you’ve already set the product to “Sold Individually” you will see an error when the add to cart button is pressed a second time. This is the correct behavior as it’s telling the customer that there is a product in the cart, and it can only be added once.

    Thread Starter millonario

    (@millonario)

    Thanks for your help…
    But what I want to offer is a subscription .. it’s just a unique product, for me it does not make sense to add many subscriptions to the cart …

    What I want to do, is exactly the same as this man: https://www.misingresospasivos.com/quieres-aprender-a-ganar-dinero-en-internet-copiame/?utm_source=acceso-login&utm_medium=acceso-login&utm_campaign=acceso-login

    If you click many times to subscribe, the same price will always appear … and you will not be adding more and more products ..

    Your website is made with woocommerce, so I understand that there is a way to do this ..

    If you can help me do the same, I would appreciate it

    Howdy ??

    Am I correct that the ‘sold individually’ setting achieves what you want to achieve but you do not want the error message to be displayed? If so, that will require some custom code to remove that particular error message. Here is an example code snippet that will remove that particular message: https://gist.github.com/WillBrubaker/3f868bf669357c01803db2a6bd474582

    Kind regards,

    Thread Starter millonario

    (@millonario)

    Hello, I put the code that tells me, it does not show me the error message, but it does not teach me anything ..

    I have the following shortcode [add_to_cart_url id=’246′], when clicking on nothing happens .. I would like to click, go to pay for the product but only one product ..

    I think that woocommerce is not designed to presetar service is rather designed to be a shopping cart ??

    I can’t possibly know how the example you provided has been configured but in my testing I have found one way to possibly achieve this.

    1) Set the add to cart behavior to “Redirect to the cart page after successful addition” – that setting can be found in WooCommerce -> Settings -> Products

    2) Set the cart page to be the checkout page under WooCommerce -> Settings -> Advanced, e.g:

    Thread Starter millonario

    (@millonario)

    I do not care … I do not want to take more time and I appreciate the intention of helping me, I sent him to the blog to ask how he did it and I will investigate online to see if I find something related … thank you very much for all aid

    Thread Starter millonario

    (@millonario)

    I want to leave a piece of advice … When the option “Single product per order” is enabled and at the same time the option of “Why not buy this product twice?” in the cart … in this way users like me, we could just hide the message and that’s it … and at the same time other people would not be hurt at all since the client will be in the payment area … which is where there are more possibilities for the customer to buy, in the change if the sale the message of the store … can interpret the message and leaving the store that there is some error …

    Well, it’s just a piece of advice, in my case I’ll have to hire a programmer to solve it.

    Greetings and success

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    Hi there,

    Thanks for the update on this issue. We’ll go ahead and mark this as resolved at this time.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘create external purchase button’ is closed to new replies.