Welcome to the Liquify Community

Home
Members
Georgy Rakita
G
Georgy Rakita
Offline, last seen 2 weeks ago
Joined November 7, 2024
Liquify generates a srcset from an image tag - however, for some reason on my store it results in it displaying the image set in webflow, not the asset_url (which should be the second image of the product).

Why might this be happening? Attaching how my image tag looks like after the conversion.
10 comments
m
j
G
j
Hi!

When I run the conversion, the theme.liquid file which, as I understand, is used to create new page layouts, doesn't have a <main> tag for some reason. I've read elswhere in this help topic that the theme.liquid is generated from the main page - however, my main page has the li-content-for-layout applied correctly to the <main> element.

Looks like an issue with the conversion process maybe? When I add it manually in Shopify code editor and then do another conversion, my changes are overwritten.
37 comments
j
G
Is it possible to add a discount input in the mini-cart with the current setup?

I know that it is displayed in the checkout, but the client is inquiring if it's possible to implement it one step earlier.

Thanks!
3 comments
j
G
Hey,

I am battling with one last thing with my cart implementation.

Right now, when I click the "remove" button on any item in the mini-cart, the cart closes after a delay (likely when the new cart content is done fetching), even if there were more items in the cart. The cart closes even if there are other, completely different products in there.

I am not sure where this is coming from - can't see anything that might be causing that in the code.
The cart code has been modified a bit as @jonas.halbstark knows, but there shouldn't be anything in this modification to cause the issue.

The store address is https://magnurs.myshopify.com/, password is magnurs. Video reference attached.
23 comments
j
G
Hi,
I've just built a jewellery store using Liquify, and I've encountered an issue when populating products - as things like rings can have lots of sizes, I've quickly overflowed the 100 variants limit (3 materials x 3 width x 20 sizes > 100).

I've done some research and found out that since the "Size" option doesn't affect the price / inventory, I can use "line items properties" (https://shopify.dev/docs/api/liquid/objects/line_item#line_item-properties) for this.
I've tested it with Liquid (adding a text input or radio buttons with [name="properties[Size]"]) but I then realised that the "add to cart" form seems to be using the Shopify API rather form submission solution, so this didn't work.

How can this be done, given that we can't really modify default Liquify elements like the product form? I'd also need to display this element in the cart, if possible.

If there's a chance you could build it into the product form, it would be great! Thanks!

Store URL: https://magnurs.myshopify.com/, password: magnurs
8 comments
G
j