• Resolved Cassio Murilo

    (@cmcontato)


    I like to use this plugin and use it on several projects, but now I needed to remove the add to cart button on some products because they are out of sale.

    These are courses that have closed enrollment, so I want to show it on the site, just like those with open enrollment. And in this case, I have a courses page where I’m using the product grid widget to display all courses, but it didn’t provide me with the option to send the user to the product page.

    So I created a palliative, with display none that doesn’t display a button. I inserted a “notbutton” class in the widget and in the advanced I put the code:

    .notbutton .eael-product-grid .add_to_cart_button {
        display: none !important;
    }

    Even though I would like to have the option “Read more” and from what I realized, it is not even possible in the pro.

    Anyway, thanks for this job.

    • This topic was modified 3 years, 7 months ago by Cassio Murilo.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @cmcontato,

    Hope you’re doing well. That is very unusual! It seems to be working fine from my end. Have a look: https://d.pr/i/SyN4Sx

    Can you please check for plugin conflicts by following this: You can check for Plugin conflicts by deactivating all the third-party plugins one by one except for Elementor and Essential Addons. Simply go to your WordPress Dashboard and navigate to wp-admin -> Plugins and then, deactivate other Plugins.

    Besides, you can switch to a different theme like Astra, Flexia or Twenty Twenty. And, check back as well.

    If the issue persists, please create a support ticket here so that we can investigate the issue properly.

    Thank you.

    Thread Starter Cassio Murilo

    (@cmcontato)

    I @aarin

    I tested this option, but what is the difference between ‘simple product’ and ‘default product’? Is this some configuration I have to do on the product in woocommerce for choice?

    I already used this option that you showed putting the product out of stock, but the button doesn’t direct you to the product page, it just informs you that it’s not possible to buy, since it’s an add to cart button. Anyway, I don’t want an add to cart button.

    And I don’t want to display this red stock out flag either, I had to remove it by putting the colors in white.

    Hi @cmcontato,

    Default product means that you’ve set in your Woocommerce setting. Since you’ve used “simple product” so it is currently set as your default product. On the other hand, if you would choose “variant product” that would be your default product. There’s no particular configuration needed for this.

    Anyways, I’m glad that you’ve been able to sort this in your own way. However, We’re taking this as feedback and will definitely work on this in the future.

    Have a great day!

    Thread Starter Cassio Murilo

    (@cmcontato)

    yes I understood that.

    But I’m seeing the need to use another plugin to solve my case, your widget is limiting me a lot. For example, I need to remove this cart icon that doesn’t fit in my project, since the product itself is a subscription and not a regular purchase.

    Thread Starter Cassio Murilo

    (@cmcontato)

    I solved this with:

    .eael-product-grid .button.add_to_cart_button::before {
        display: none;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not button add to cart’ is closed to new replies.