Add to cart button on single product page

10 replies2 participantsUpdated by Jack Richardson

  • Avatar: Paula
    Paula
    Participant

    Good day

    I have replaced the “add to cart’ functionality, using a plugin to “request a quote”. However, this works on the main shop page http://ces.kif.co.za/ and variable products http://ces.kif.co.za/product/anti-spatter-spray/ (once you select the variation of attribute) but for simple products, the “add to cart” button remains on the single product page – as shown by the following single product page (simple product): http://ces.kif.co.za/product/10mm-drill/

    The “request a quote” plugin developer has provided some feedback saying that…because the theme has override the default “Add to cart” button with the below code:

    <button type=”submit” class=”button big active “><span>Add to basket</span></button>

    Default:

    <button type=”submit” class=”single_add_to_cart_button button alt”>Add to cart</button>

    is apparently why it is not working. I have been advised to add into the theme a “single_add_to_cart_button ” class to work in the Single product page.

    I am not sure how to do this. Please can you help / advise….

    Thanks in advance,
    Paula

    10 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please provide FTP and WP Dashboard credentials in Private Content.

    Best regards,
    Jack Richardson.

    Avatar: Paula
    Paula
    Participant

    Thank you, please see details in private content.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    We can’t connect via FTP getting the error “Cannot connect to the server”.
    Please check the credentials.

    Best regards,
    Jack Richardson.

    Avatar: Paula
    Paula
    Participant

    Please see below…sorry

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Sorry, but still the same issue:
    Status: Connection attempt failed with “EAI_NONAME – Neither nodename nor servname provided, or not known”.
    Error: Could not connect to server

    Are there any special settings for FTP, port number?

    Best regards,
    Jack Richardson.

    Avatar: Paula
    Paula
    Participant

    Hi, please see below. I have logged in to ftp using these details

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    I’ve edited simple.php file in the directory /wp-content/themes/idstore/woocommerce/single-product/add-to-cart. Please check single product page now.

    Best regards,
    Jack Richardson.

    Avatar: Paula
    Paula
    Participant

    Great, thank you.

    Could you perhaps tell me where i can edit the font used for the following widgets: (it’s not matching the theme font used.

    “search for products” widget

    “Woocommerce product categories” – Dropdown list font used.

    Thanks a mill

    Regards,
    Paula

    Avatar: Paula
    Paula
    Participant

    Is there any way i could ask you to assist me in creating a child theme. I don’t want to get it wrong.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    I’ve created child theme. You can activate it in Appearance > Themes.

    Could you please show a screenshot for what elements you want to change font?

    Best regards,
    Jack Richardson.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register