• Resolved marie4057

    (@marie4057)


    I want to display the cart but not allow online ordering. I have followed instructions such as not setting an order page etc. but I can’t figure out how to disable the button at the bottom of the cart.

    On my site, the button has the phone number to call your order in to. The problem is that if you click on that button it empties the cart. I’ve even added the code not to display the button in the additional CSS with no luck. Any suggestions?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author ollybach

    (@ollybach)

    >The problem is that if you click on that button it empties the cart.

    Sounds to me like you have actually enabled (in wppizza->order settings) and re-labelled the “empty cart” button here which – unsurprisingly – will empty the cart when clicked.

    Thread Starter marie4057

    (@marie4057)

    Sorry, I guess I was too tired to be working on this last night. Went back in today and realized that there were settings under Item and Cart Updates and Amendments that enable those buttons. Totally missed them last night.

    Thank you for your response. That problem is resolved. However, removing the button also changed the borders on the cart so they no longer fit. Where can I find the settings to fix that? The bottom border puts a line through the sales tax entry instead of being under the total.

    Thank you.

    Plugin Author ollybach

    (@ollybach)

    >However, removing the button also changed the borders on the cart
    unlikely really – though never impossible of course
    got a url where i can see this ?

    Thread Starter marie4057

    (@marie4057)

    The cart is on every page on the site https://bubbasnapanee.ca/

    You will need to add at least one item to see what I mean as until you do it looks fine. It is when the tax and totals are added that it doesn’t look right.

    Thanks.

    PS You can’t add items outside of store hours. The site is set to Eastern time.

    Plugin Author ollybach

    (@ollybach)

    you are absolutely correct (and it’s clearly a mistake on my part – not going to bore you with the details as to why)

    i’ll correct that in the next update and will post a solution you can use in the meantime – until the next update is released – here tomorrow (it’s kind of late here now)

    thanks for flagging the issue

    Plugin Author ollybach

    (@ollybach)

    add this to your custom css as appropriate as outlined here
    https://docs.wp-pizza.com/advanced/?section=frontend-css-styles-layout

    and i would think this would fix it (but let me know if it does not of course)

    
    .wppizza-cart table.wppizza-order-summary{float: none;}
    
    Plugin Author ollybach

    (@ollybach)

    this should now be fixed as of v3.12.14

    Thread Starter marie4057

    (@marie4057)

    Thank you! That looks a lot better now that I’ve installed your update. Much appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disable order button in cart.’ is closed to new replies.