Welcome to the Liquify Community

c
consti
Joined November 7, 2024
Hi,

Ich use GSAP for the fade in of the element on the website. The problem is, that when I scroll through some pages, some content doesn´t load with GSAP. But when I open the live webflow site without the conversation, it´s working. Does somebody know if I need to change something?
Or does somebody know an alternative the have the fade in effect when scrolling. I already had the native fade un animamtion from webflow, but it was very buggy, so maybe there is another solution?

Here a video to show: https://drive.google.com/file/d/1se2VYMPJMasZdOatwsVI7AR6Alh5Te_-/view?usp=sharing
And this is my code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script>

/* Initial styles for load animations /[animation="load"] { opacity: 0; transform: translateY(40px);}/ Initial styles for scroll animations */
[animation="scroll"] {
opacity: 0;
transform: translateY(40px);
}

<script>
gsap.registerPlugin(ScrollTrigger);

// On page load animations
document.addEventListener("DOMContentLoaded", () => {
gsap.to('[animation="load"]', {
opacity: 1,
translateY: 0,
duration: 1,
stagger: 0.25,
ease: 'power2.out',
});
});

// Scroll into view animations
gsap.utils.toArray('[animation="scroll"]').forEach((element) => {
gsap.fromTo(element,
{ opacity: 0, translateY: 40 },
{
scrollTrigger: {
trigger: element,
start: 'top 98%',
end: 'bottom 2%',
},
translateY: 0,
opacity: 1,
duration: 0.8,
ease: 'power2.out',
}
);
});
</script>
4 comments
J
c
This is not a Liquify realted Bug, its a general Bug with Swiper js. When I only have 2 Items in a Slider, the Loops doesn´t really work. But On bigger screens it doesn´t even work if I have 4 items selected. Does somebody know why?

Here the Code, a Demo Video and the Attributes the Slider is using.
5 comments
j
c
What do I need to change that the ceeation_date will be shown in the contact form?
17 comments
j
c
Hi,

I used a Code Snippet from Shopify dynamic Button for the direct Checkout. I know it´s not liquify direct, but maybe somebody knows what to do.

The direct checkout (f.e. works when I have something in the Cart, but doesn´t work when there isn´t something in the cart. So I think there is a problem with ids etc...

Here the code I used:
{% if product.available %}
<!-- Produktformular beginnt -->
{% form 'product', product, class: 'product-form' %}
<input type="hidden" name="id" value="{{ product.variants.first.id }}" />
{{ form | payment_button }}
{% endform %}
{% endif %}
12 comments
j
c
When I view the logs I have a few errors. When I look in the code, I don´t know what do change. Does these errors matter or not?
5 comments
c
j
When a product is sold out and I try to change the variants (e.g., size or color), the selected option doesn’t update correctly. It seems like there’s a bug in how the variant selection behaves.

Read-only: https://preview.webflow.com/preview/gooddesk-2-0?utm_medium=preview_link&utm_source=designer&utm_content=gooddesk-2-0&preview=714c6bed7cb355aab8979e48c6ad6e2a&pageId=65eebb01574038784679b79d&locale=en&workflow=preview
15 comments
j
c
I used li-object="item.product_title" and li-object="item.variant_title" in the mini-cart. Is there a way to use these attributes in the normal cart? item. is already the name in the normal cart.

Thank you 🙂
4 comments
c
j
When I download pull the Github Code to my Computer and add some }, and push it back, will they stay at future conversions? Because they will be in code sections that have a liquify attribute
1 comment
j
I uploaded a Theme to Shopify for a client and he told me, that the normal Shopify Analytics doesn´t work with that theme. Is this possible or do I need to make some changes?
4 comments
j
c
In the one screenshot you see the webflow export with a id, attribut and class. In the Shopify Theme the attribute and the id is missing. Why?
11 comments
c
j
Hi,
When I slide through the product images, the small images under the main one are not scrolling as espected. When an images is cut off at the right side, it doesn´t jump more to the left. It only jumps more to the left if the images is 100% cut off... How can I change that?
7 comments
j
c
How can I separate the variants from the product title?
6 comments
c
j
I have the rich text field in my Meta Object and I need more possibilities. The Blog post Rich Text field has more possibilities like the Custom HTML which the Meta Object doesn´t have. How can I change that, so that the Meta Object has more features too?
6 comments
c
j
Hi, how can I create the multi language Theme? Like how do I change the Text Elements (f.e. li-settings:text) elements on diffrent locales?
3 comments
c
j
Is there a way, that the variant Image changes smooth? Like in the Video (First Part) and in the second Part, there is the Version, that is not that smooth.
17 comments
c
j
I have the li-settings attribut, but it doesn´t work like on other elements. I changed the Image in Shopify, but it doesn´t change in the Editor and als not on the published Site.
10 comments
j
c
Hi,
I just found out, that I have diffrent prices in my minicart and on my product. Why?
Attribut on the Product Page: li-object="product.price | money" (I added this price in the Product Backend)
Attribut in the Mini-Cart: li-js-price="product.price"
14 comments
j
c
Can I use the Variant MetaFields in the MiniCart?
1 comment
j
I don´t know hy, but these radio button elements are visible in the editor but not on the live site.. Why and what can I do, that they are visible?
13 comments
c
j
C
How can I show the cheaper price and the original price of an product in the mini-cart?

I tried it with these attributes, but I think the are wrong... https://preview.webflow.com/preview/gooddesk-2-0?utm_medium=preview_link&utm_source=designer&utm_content=gooddesk-2-0&preview=714c6bed7cb355aab8979e48c6ad6e2a&workflow=preview
17 comments
c
j
Are there any attributes
4 comments
j
c
C
I want to add a custom page, but I can only select the page called "contact". I removed this a few weeks/months ago, so there is no way, that it can exist anymore. I created a new one called contact-page, and I see this page in the Designer, but I cannot select it...

When I use the li-page="" Attribut with "contact", then nothing changes, that´s why I created a new lipage called contact-page.

I use github and I imported the github project multiple times, but I cannot find the error.

Here the read-only: https://preview.webflow.com/preview/gooddesk-2-0?utm_medium=preview_link&utm_source=designer&utm_content=gooddesk-2-0&preview=714c6bed7cb355aab8979e48c6ad6e2a&pageId=65eebb01574038784679b752&locale=en&workflow=preview
2 comments
c
j
Hi, is there a way to preview drafts in the browser how they look there and not only in the preview? Without unpublishing the live website? So like a staging/preview domain?
3 comments
c
j
What attribute do I need to set the currently selected option? Like Color: White?
4 comments
c
j