Created
December 11, 2017 09:02
-
-
Save uzaharova/b2f740cd99db5b61f70ee86d42d98f2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/templates/addons/wishlist/hooks/products/product_detail_view_url.override.tpl b/design/themes/responsive/templates/addons/wishlist/hooks/products/product_detail_view_url.override.tpl | |
index cac5761..afd825b 100644 | |
--- a/design/themes/responsive/templates/addons/wishlist/hooks/products/product_detail_view_url.override.tpl | |
+++ b/design/themes/responsive/templates/addons/wishlist/hooks/products/product_detail_view_url.override.tpl | |
@@ -1 +1,4 @@ | |
-{"products.view?product_id=`$product.product_id`"}{if $product.combination}{"&combination=`$product.combination`"}{/if} | |
\ No newline at end of file | |
+{$product_detail_view_url = "products.view?product_id=`$product.product_id`&tt=111" scope=parent} | |
+{if $product.combination} | |
+ {$product_detail_view_url = "products.view?product_id=`$product.product_id`&combination=`$product.combination`" scope=parent} | |
+{/if} | |
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/templates/views/products/components/product_icon.tpl b/design/themes/responsive/templates/views/products/components/product_icon.tpl | |
index cdefb21..9e8ffc3 100644 | |
--- a/design/themes/responsive/templates/views/products/components/product_icon.tpl | |
+++ b/design/themes/responsive/templates/views/products/components/product_icon.tpl | |
@@ -1,7 +1,8 @@ | |
+{assign var="product_detail_view_url" value="products.view?product_id=`$product.product_id`"} | |
{capture name="product_detail_view_url"} | |
{** Sets product detail view link *} | |
{hook name="products:product_detail_view_url"} | |
-{"products.view?product_id=`$product.product_id`"} | |
+{$product_detail_view_url} | |
{/hook} | |
{/capture} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/templates/views/products/quick_view.tpl b/design/themes/responsive/templates/views/products/quick_view.tpl | |
index b4becc1..f1e9c57 100644 | |
--- a/design/themes/responsive/templates/views/products/quick_view.tpl | |
+++ b/design/themes/responsive/templates/views/products/quick_view.tpl | |
@@ -52,6 +52,7 @@ | |
} | |
{assign var="form_open" value="form_open_`$obj_id`"} | |
+ {assign var="product_detail_view_url" value="products.view?product_id=`$product.product_id`"} | |
{$thumbnail_width = $settings.Thumbnails.product_quick_view_thumbnail_width} | |
{$thumbnail_height = $settings.Thumbnails.product_quick_view_thumbnail_height} | |
@@ -73,7 +74,7 @@ | |
{capture name="product_detail_view_url"} | |
{hook name="products:product_detail_view_url"} | |
- {"products.view?product_id=`$product.product_id`"} | |
+ {$product_detail_view_url} | |
{/hook} | |
{/capture} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment