Woocommerce Custom Add to Cart URL

I have a question about adding a product to cart via a url. Right now I can use http://example.com/cart/?add-to-cart=49 and it will add the item to the cart. I am using a plugin that adds custom text input for each product. Plugin - Additional WooCommerce product options on codecanyon.

I need to add a parameter to my add to cart url where I can add an item to cart but also pass the value to this user input via the url. Ideally, my url would look like http://example.com/cart/?add-to-cart=49&textbox=myvalue . I'm really not sure how best to approach this. I don't mind using this plugin if there is a better way to make it work. Thanks for your help.

+3
php wordpress woocommerce


source to share


No one has answered this question yet

Check out similar questions:

1475
Converting HTML + CSS to PDF with PHP?
2
WooCommerce add to cart confirmation: prevent being added to cart
1
Add estimated order price to Woocommerce cart
1
add item to cart manually in woocommerce
1
Add custom input field on Woocommerce cart page
0
Custom add to cart url adding product twice to cart in Woocommerce 3.3.1
0
woocommerce add custom data to cart
0
Booking Woocommerce | Add to Shopping Cart
0
Woocommerce add to cart with url code
-4
Incl. Add to cart, pass custom data to cart via GET request in Woocommerce



All Articles
Loading...
X
Show
Funny
Dev
Pics