• Resolved blind337

    (@blind337)


    I got a client who want to make a paypal shopping cart in his website, but his website is already modified with some kind of ajax/javascript based themes.

    I try to implement this plugin, and it shows the add to cart buttons (by the shortcode), but I can’t show the shopping cart plugin.

    After several trial and errors, I’m using this shortcode : [always_show_wp_shopping_cart] instead the normal one. And it says that my shopping cart is empty, even after pressing the add to cart button serveral times. So my conclusion is my add to cart button somehow isn’t working

    Well, it’s kinda make sense, since page my page always refreshed every time I pressed the button (I tried it in the default wordpress it’s added automaticly without refreshing the page)

    Is there any chance that the javascript in this plugin crashed or something with the one in the theme? If it so, is there any way to fix it, or could I just make it add the product “manually” (it’s okay for me to refresh the page every time the button clicked, as long it works)

    Here’s the link

    Quick reply is really appreciated, since I don’t have too much time to finish this project ??

    https://www.ads-software.com/plugins/wordpress-simple-paypal-shopping-cart/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hello blind337, try the following tutorial. Let us know if that helps you.

    Kind regards

    Thread Starter blind337

    (@blind337)

    Okay, thanks for the reply
    I’ve read the tutorial and it’s not much different with what I’ve done. I’ve installed this plugin in localhost’s default wordpress and it works splendidly. But the problem is, when I implement in my client’s website, the button (or the cart) didn’t work.
    When I click an “add to cart” button in localhost, it didn’t need to refresh the page. But in my client’s page it did. And after I clicked it, the items won’t shown in the shopping cart (it always say that the shopping cart is empty)

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hello blind337, what theme are you using?

    What are the differences between the local install working and the online install not working?

    Thread Starter blind337

    (@blind337)

    I think my client using “This Way” theme. Maybe the differences is the url/permalink, idk why but in my client it converted from it’s usual pattern. Also in that theme, sometimes loading a page is kinda AJAX things, no need to reload the whole page

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hello blind337, can you click on the following URL to test, if there is a plugin or theme conflict.

    Thread Starter blind337

    (@blind337)

    Well, it turns out that the problem occurred because the session in my wordpress won’t start, so it’s not the plugin’s fault. I guess I’m gonna mark this topic as resolved. Thx for the support, mbrsolutin ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add to cart button didn't work’ is closed to new replies.