Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.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
如何更改“的url”;添加到愿望列表“中”;magento中的按钮_Magento - Fatal编程技术网

如何更改“的url”;添加到愿望列表“中”;magento中的按钮

如何更改“的url”;添加到愿望列表“中”;magento中的按钮,magento,Magento,我正在设计一个magento网站,我是新手。我找不到在哪里更改“添加到愿望列表”按钮的URL。 我附上了截图,以检查是否有人需要 如果有人提供解决方案,我将不胜感激。 您可以从以下模板文件更改URL: template/catalog/product/view/addto.phtml 去 your_theme>default>template>catalog>product>view>addto.phtml 您可以在这里更改href现在我不知道如何更改此$\u WishlistSubmitu

我正在设计一个magento网站,我是新手。我找不到在哪里更改“添加到愿望列表”按钮的URL。 我附上了截图,以检查是否有人需要

如果有人提供解决方案,我将不胜感激。

您可以从以下模板文件更改URL:

template/catalog/product/view/addto.phtml

your_theme>default>template>catalog>product>view>addto.phtml

您可以在这里更改
href

现在我不知道如何更改此$\u WishlistSubmitur。如何更改此url?您到底想做什么?您到底想做什么?你能解释得更清楚些吗?
your_theme > default > template > catalog  > product > view > addto.phtml


<?php if ($this->helper('wishlist')->isAllow()) : ?>
<a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist">
    <?php echo $this->__('Add to Wishlist') ?>
</a>
<?php endif; ?>