Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Dynamic URLs

$
0
0

Replies: 1

I would like to be able to create dynamic URLs for buttons. I’m using calculated fields to calculate quantities of multiple products throughout the form. At each point where a specific product/quantity is calculated I would like to place a button next to the field that says “Order” that would allow the user to add the product to their cart. This would be accomplished as the button generates a dynamic URL for WooCommerce such as:

href=”http://yourdomain.com/?add-to-cart=25&quantity=3″

Is this possible? If so, can you explain?


Viewing all articles
Browse latest Browse all 59525

Trending Articles