Home Forums General Issues ACF and Woocommerce


ACF and Woocommerce

  • Hi
    Just need some help to see if something like this is possible somehow

    I need to use the sum of the quantity of all cart items to create a button or page link. So if cart quantity sum was 1 then this would conditionally display a button that I could add a custom link to. Similarly, if the quantity sum was 2. 3 or 4plus then a button for each of these would conditionally show. The purpose is to avoid having to display all four buttons and so only display the relevant button determined by the cart quantity sum. I thought that if an ACF field could automatically display the sum of the quantity of all cart items then I could use some logic to do the rest.

    Hope this makes sense 🙂

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.