Adding an Enquiry Button on a shop in Catalog Mode

Good afternoon!

i am creating a catalog database using WordPress on BE theme.


I've disabled the add to cart button as its inconsequential for my website, however i do require a "enquiry" button to popup a form using contact form.


As far as i can tell (correct me if i am wrong please) there is no way to assign a button to popup said form , with a element that defines the product (by title or URL) , so i got a plugin to do so called " Quote or enquiry form for contact form 7" .


Now this works almost perfectly , the button shows up under the now hidden "add to cart" option , (See example A) however, when browsing by product listings, there is a popup on the products list page (not on the custom product page itself) with a small icon called "add to cart" , that i would like removed, and i don't see how to do so within the theme editor, is there any way to override this behaviour ?


Example 1 (Behaving correctly, hiding under the "add to cart" button)

Example of unwanted behaviour , popup , on the product page, on hover item

Unwanted behaviour on related products


As another point , i can remove these issues by activating "Catalogue" mode on Betheme woocommerce section , but then i lose the enquiry popup button.


Is there a way to replicate the behavior of the enquiry button natively ? perhaps by using a standard button to call this action ?


thank you for your time ,


product page for reference:

https://version2.chiangly.com/product/test-product-melsec-fx/

Category Page for reference:

https://version2.chiangly.com/product-category/uncategorized/

Comments

  • Hi,

    You can hide the add-to-cart button with a custom CSS code.

    You can place all your custom codes in Betheme -> Theme options -> Custom CSS & JS -> CSS.

    Do you want me to help to write such CSS code?


    Best regards

  • edited December 2022

    Hey phil , thank you for the quick response,

    would that css code get rid of the small add to cart highlights but still retain the enquiry button then ? because as it stands the button is in fact hidden, the "ask for enquiry" button is being created by the other plugin , and is being attached to the "end" of the area where the button should be.

    As it stands , my issue is more with the small highlights showing when hovering the product, than the button in itself (i am unaware if those are different functionalities , or are connected to the same system) .

    does that make sense ?


    EDIT: Corrections

  • Yes, the CSS will remove only the add to cart highlights.

    You can test it on your website:

    .woocommerce .image_links .add_to_cart_button{
       display: none!important;
    }
    

    Please, let me know if it works correctly.


    Best regards

  • Thank you Phil , that worked like a charm!

    Is there a similar code to remove the " view product" highlight that shows up under the now removed cart ?

    As clicking the picture already redirects to the product, the highlight is unnecessary.


    Again , thank you so much for the quick response !

  • You can remove all the icons on the product image hover completely in Betheme -> Theme options -> Global -> Image frame by selecting the style Zoom, or by Disabling it at all.

    Best regards

  • Thank you Phil!

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.