- This topic has 1 reply, 2 voices, and was last updated 13 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Hyperlink which contains environment variable value of the buy now price
Can anyone help me with this please, i have read through a lot of posts already but could not find an answer.
i need to make a hyperlink in a post which has to hand over a variable value to another PHP page.
i want to use the buy now price value in that other PHP script
so i need something like this (i only need the url part of the hyperlink):
‘http://www.my-website.com/myscript.php?product_price=<value of product_price>’
Of course the syntax above is incorrect
Is this possible ? What is the correct syntax ?
Tuatara
The buy now price is not an environment variable. Environment variables are dynamic variables that affect the way processes run on an operating system… not sure what eStore has to do with that.
If you are developing a custom script to do custom work then you should query the database to retrieve the product details (the product you are after) which will give you the product price. Then you can add that product price to a URL as a HTTP GET parameter and pass it along.