Add to cart button on single product page

This topic has 11 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Jack Richardson

  • Avatar: Paula
    Paula
    Participant
    June 29, 2016 at 09:51

    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
    June 29, 2016 at 10:12

    Hello,

    Please provide FTP and WP Dashboard credentials in Private Content.

    Best regards,
    Jack Richardson.

    Avatar: Paula
    Paula
    Participant
    June 29, 2016 at 10:20

    Thank you, please see details in private content.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 29, 2016 at 11:04

    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
    June 29, 2016 at 11:28

    Please see below…sorry

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 29, 2016 at 11:50

    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
    June 29, 2016 at 12:20

    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
    June 29, 2016 at 13:30

    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
    June 29, 2016 at 13:50

    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
    June 29, 2016 at 14:29

    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
    June 29, 2016 at 15:24

    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.

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.