New Landing How can we help? Themeforest Theme Support Neighborhood Hide price and "add to cart" on certain products

Viewing 7 posts - 1 through 7 (of 7 total)
  • #74702
    LaLinda
    Member
    Post count: 43

    Hello!

    Is is possible to hide the “add to cart” and the price on certain products but not all?

    Thanks!

    #74862
    Barq™
    Member
    Post count: 57

    Hi Linda,

    Yes this is possible.
    Although this is with a workaround.
    Follow the steps, and you’ll be helped.

    1. Navigate to your Theme Options > General Options.
    2. Find ‘Custom CSS’ and paste the following into the textarea:

    .hide-addtocart .summary-top, .hide-addtocart .cart {
      display: none;
    }

    Save your theme settings.
    3. Navigate to your product that doesn’t need a price nor the add to cart button.
    4. Scroll down and find ‘Misc. Options’. Under ‘Misc. Options’ you see ‘Extra page class’.
    5. Add this to the textarea: hide-addtocart
    6. Publish/update your product.
    7. Navigate to your product and be happy.

    Now in the future you only have to add ‘hide-addtocart’ to the Extra page class.
    No matter what product it is, it will work.

    Have fun!
    Cheers,

    Stan
    Barqwithus.com

    #74877
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Hope that should work .
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #74891
    Barq™
    Member
    Post count: 57

    That’s a totally useless reply – no offense

    #74900
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Thanks Barq to help 🙂
    With Best Regards
    Swift Ideas

    #115076
    RobertAn
    Member
    Post count: 26

    Dear Team,

    How can we remove the add-to-cart button from the previews only?
    Currently the user is allowed to add a product to cart from crossselling displays and the shop page without having to check for prices and details. Thats illegal in our country.

    Thats why we need to remove the Add-To-Cart option in the previews but not on the product pages.

    Do you have any suggestions how to do this :)?

    Thank you
    -Robert

    #115270
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register