WYSIWYG Editor: Link URL with Item Price as parameter

Ruud

In your Bakery page settings you can use:

<a href="http://www.x-rates.com/calculator/?from=EUR&to=GBP&amount=[PRICE]" target="_blank">PND</a>
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

gearup

Hi,

How to format a URL string so that the parameter (last value) can be added as a data item name.

For example, I want to use a web currency converter to show GBP (£) price of an item without needing to manage multiple prices/currencies within the shop module.

such as in the link editor the URL entry would be,

www.x-rates.com/calculator/?from=EUR&to=GBP&amount=57.95

what I want is the 57.95 to be replaced by some code to dynamically get the item price.

I would rather not include explicit item price values in the URL as a change in item price would no longer be a simple task although it does work ok like that (right now) for the test products.

This links are located in the "Add New Product, Brief description" editor section and display on the web page like,



Regards,

ps. I was looking to implement an easy and simple solution so I don't mind if someone suggests an alternative approach :)
Tomorrow is a day we can look forward to but will never see.