You are here:  » Open Merchant in new window has stopped working


Open Merchant in new window has stopped working

Submitted by Pep on Fri, 2016-04-01 22:06 in

Hi
I have used the code for opening the Merchant in a new window successfully for some time but it has been working only at times and now not at all. Any ideas? Code is in includes/tapestry.php

{
$retval = $product["buy_url"];
}
return $retval."' target='_BLANK";
}

Submitted by support on Mon, 2016-04-04 08:54

Hello Pep,

If your template is using double-quotes around the Buy URL instead of single quotes the above would need to be modified accordingly - have a go with;

  return $retval."\" target=\"_BLANK";

Cheers,
David.
--
PriceTapestry.com

Submitted by Pep on Thu, 2016-05-19 02:10

Fixed. Thanks