{{ item.product.featured_image | product_img_url: 'thumb' }} returning LINK!

Highlighted
New Member
17 0 0
Anyone understand why the following code returns the product image with the image being a link to the product instead of just returning *the image* like I need it to? The item title is also a link. Why? ==============================================================

{{ item.title }}
{{ item.quantity }}x
<small> {{ item.title | truncate: 18 }}
remove </small>
================================================================= --Balazs--
--Balazs--
0 Likes
Highlighted
Excursionist
1027 0 9

Without seeing all the code on the page its hard to tell. But I would assume that you didn’t close an anchor tag (link tag) somewhere above the code you posted.

Dan - http://www.xtremechargers.com
0 Likes
Highlighted
New Member
17 0 0

Jeez, so, that was silly. my HTML was getting over-ridden by javascript in shop.js. That’s how the anchor tags were being inserted. Debugging js is always a blast.

—Balazs—

--Balazs--
0 Likes