Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从prestashop中的multistore获取产品URL_Prestashop_Multistore - Fatal编程技术网

从prestashop中的multistore获取产品URL

从prestashop中的multistore获取产品URL,prestashop,multistore,Prestashop,Multistore,我需要在不同域的prestashop multistore中获取特定产品的产品url链接 我知道我可以通过以下方式获得产品链接: getProductLink($id\u产品) 但是这将从主存储返回url,我需要能够获取特定id_存储的产品链接您需要使用带有参数的getProductLink。第六个参数是id shop。 使用 在php中,或 {$link->getProductLink(1, null, null, null, null, 'your_shop_id_here')} 在

我需要在不同域的prestashop multistore中获取特定产品的产品url链接

我知道我可以通过以下方式获得产品链接: getProductLink($id\u产品)


但是这将从主存储返回url,我需要能够获取特定id_存储的产品链接

您需要使用带有参数的getProductLink。第六个参数是id shop。 使用

在php中,或

{$link->getProductLink(1, null, null, null, null, 'your_shop_id_here')}
在smarty内部

{$link->getProductLink(1, null, null, null, null, 'your_shop_id_here')}