Skip to content

Commit 24ebca8

Browse files
committed
Fixed cart product url
1 parent 4d896fa commit 24ebca8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/template/components/cart.tpl

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ if($products) {
3131
//@cart-product [data-v-product-content] = $product['content']
3232
3333
//catch all data attributes
34-
@cart-product a[data-v-cart-product-*]|href = $product['@@__data-v-cart-product-(*)__@@']
3534
@cart-product [data-v-cart-product-*]|innerText = $product['@@__data-v-cart-product-(*)__@@']
35+
@cart-product a[data-v-cart-product-*]|href = $product['@@__data-v-cart-product-(*)__@@']
36+
@cart-product a[data-v-cart-product-url]|href = $product['url']
3637
3738
@cart-product [data-v-cart-product-remove-url]|href =
3839
<?php echo htmlentities(Vvveb\url(['module' => 'cart', 'action' => 'remove', 'product_id' => $product['product_id']]));?>
@@ -104,4 +105,4 @@ if(is_array($coupons)) foreach ($coupons as $index => $coupon) {
104105
@coupon a[data-v-cart-coupon-*]|href = $coupon['@@__data-v-cart-coupon-(*)__@@']
105106
@coupon input[data-v-cart-coupon-*]|value = $coupon['@@__data-v-cart-coupon-(*)__@@']
106107
107-
@coupon|after = <?php }?>
108+
@coupon|after = <?php }?>

0 commit comments

Comments
 (0)