Offer module – XPath price path contains also text
-
One of the affiliate shops (from which I would like to use product links) on my site using offer module, does not contain the price information “isolated” in a specific Xpath locator. When I use the only XPath available, that has [price + some words], content egg plugin doesn’t seem to know how to isolate the price information from the rest. I don’t know what to do in this case.
Affiliate offer: https://bit.ly/2h540Oq
XPath locator: //*[@id=”offerPrice_4611686018426492515″]
I am using Chrome extension “XPath Helper” to test the XPath locator before adding it in the list of affiliate offers on offer module.
I tried to use the expression substring(//*[@id=”offerPrice_4611686018427045504″],10,8) as the XPath locator (because this expression removes the text from the price), but content egg does not seem to understand this command (I’ve tested substring, substring-after, substring-before).
Any help would be appreciated. Thanks in advance.
- The topic ‘Offer module – XPath price path contains also text’ is closed to new replies.