• Resolved amhoffmaster

    (@amhoffmaster)


    Hi there, I reviewed and tested the wppizza plugin on a local installation. Everything worked great and I liked the features and thought they would be very useful for my client for their holiday meal orders. They don’t currently want to collect online payments, but that will probably be coming in the future so I wanted to plan for it and your plugin seemed a good fit as it has the “pick up in store” option.

    I installed the plugin on a live site and now the plugin doesn’t work. The page is: http://tbonesmarketplace.com/thanksgiving-menu/. If I check the “I am using a caching plugin” (which I’m not) on the Settings page, the cart never loads. This was the only setting difference between my local installation and the one on the live site. I have the same plugins installed, same versions of everything installed, yet when you place an order and click Send Order, it doesn’t send but clears the order form and the order is never sent. The Place Order button on the orders page doesn’t work either. You can update the individual items, but the totals don’t update.

    Can you please help me determine the problem. I really want to use the plugin.

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

    (@ollybach)

    for starters , enable debug and check if there are any errors in your debug log.
    you also want to tun OFF debug display

    so – generally – something like this

    
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    
    
    Thread Starter amhoffmaster

    (@amhoffmaster)

    Thank you for your attentention to this matter. I enabled debug. I see that I had an issue when I tried to rewrite the WPPIZZA Title the Admin, so I removed that. It also showed an error in the theme’s 404 page, so I removed the page (temporarily). It also said there was an error in another plugin called Catablog, I turned it off, tried the order form and it still didn’t work, so I turned the other plugin back on as it is in use. The Send Order button still just clears the order form and doesn’t send the order.

    Plugin Author ollybach

    (@ollybach)

    your theme is trying to load javascript functions that do not exist and breaks what follows
    you will probably find that switching to a default theme (like twentysixteen or something) will make it all work again

    Plugin Author ollybach

    (@ollybach)

    you could also TRY the following (this may or may not make any difference in your case and may make things worse even)
    in wppizza->settings you find an option: “Javascript in Footer”
    try enabling that and see what happens (you can always disable it again if this doesnt do anything useful for you)

    Thread Starter amhoffmaster

    (@amhoffmaster)

    The second option didn’t work. Is there anyway for me to narrow down which functions it’s calling but are not there that are causing the problem. I can comment them out one at a time, but thought you may know how to pinpoint it more accurately.

    Thread Starter amhoffmaster

    (@amhoffmaster)

    This is odd because it still works flawlessly on my local computer.

    Thread Starter amhoffmaster

    (@amhoffmaster)

    I found a plugin conflict. wpppizza won’t work with Black Studio TinyMCE Widget v 2.2.10 or 2.2.12.

    Plugin Author ollybach

    (@ollybach)

    works just fine from what i can tell

    Plugin Author ollybach

    (@ollybach)

    btw, what does seem somewhat odd to me is that your jquery/ui/spinner.min.js gets loaded at the very bottom when – normally – it would be somewhere close to / after ,ui/core.min.js, jquery/ui/button.min.js etc.

    seems to me (I might be wrong though) something (your theme would be my guess) is loading some ui js files in the wrong place . again, try with a default theme and see if your problem goes away – then you can at least narrow things down

    Plugin Author ollybach

    (@ollybach)

    also – a very outside chance but worth a quick try – maybe there’s a race condition with some priorities somewhere and just de-activating wppizza and reactivating it again (or switching themes and switching it back) perhaps helps

    again , slim chance but worth a go

    Thread Starter amhoffmaster

    (@amhoffmaster)

    I tried so many things to try and solve this problem. I even setup a completely new site using the theme and html sidebar widgets to test and everything worked. I changed to a different html widget on the live site and thought it fixed the problem, but it did not. So I no longer think it had anything to do with the Black Studio widget. I did however, identify some code in my footer for the newsletter signup form that appears to have been the issue. It was javascript code from Formstack where the newsletter signup form is hosted. Once I removed that code, everything worked fine.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Send Order function not working in wppizza’ is closed to new replies.