You are here:  » Changing part of URL of a product link and also changing compare to "visit site"

Support Forum



Changing part of URL of a product link and also changing compare to "visit site"

Submitted by ICH on Mon, 2007-05-07 04:08 in

Hello,

is it possible to change part of the product link so i can place my own one?

for example lets say i get from the datafeed the destination url of:

http://www.xyznetwork.com/affiliateid12345/merchantid12345/?http://www.merchant.com/link-to-merchants-productpage12345

and to change it to:

http://www.another-network-link.com/afid12345/mercid12345/?http://www.merchant.com/link-to-merchants-productpage12345

any thoughts regarding this?

also how to i change the "compare" link/button that takes the visitor to the compare page to a "visit merchant/product page" so i can take the visitor directly to the merchants product page?

thanks

Submitted by support on Mon, 2007-05-07 04:44

Hi,

See the following thread for the code to add a "Visit Store" button to the search results page...

http://www.pricetapestry.com/node/1004

Regarding changing the product link, that looks to be quite a significant change but you should be able to achieve it using a series of Search and Replace filters against the Buy URL field. For example, you could replace the domain name; and then replace "affiliateid" with "affid" and "merchantid" with "mercid"...

Hope this helps,
Cheers,
David.

Submitted by ICH on Mon, 2007-05-07 04:55

hello,

thanks for the quick response

yes thats what i am thinking of doing, searching and replacing the ddf before importing it, although the ddf in question is huge.

anyway thanks once again for your assistance