[MarketPress eCommerce] Cart remains empty despite add to cart works

Hi,
On the page :
http://automotoecole.com/boutique/produits/
cart remains empty despite "add to cart" seems working.
I have enabled the support access,
Thanks

  • jnkfrancis

    Hello Siteweb,

    I took a look at your site and I can see the issue you are describing. It looks like this could be a plugin conflict. We will need to do a plugin conflict test to determine if this is the case.

    So if you can, let's run a conflict test.

    First, create a recent backup in case you lose any settings during the test and have to restore to a previous working state.

    Then deactivate all plugins and MU-plugins apart from WPMUDEV Dashboard and MarketPress, activate a default theme like TwentySeventeen, clear all caches and check and see if your cart is now working.

    If it is working then we know that either a plugin or your theme is conflicting with MarketPress. So your next step would be re-activate your theme and make sure that the theme is not conflicting.

    If it is not conflicting, that means that it is a plugin, so start activating the remaining plugins one by one, checking every time to see if your cart is working, and when it stops working the last plugin activated is likely the culprit.

    The following flow chart image can assist you during this test: https://premium.wpmudev.org/wp-content/uploads/2015/09/Support-Process-Support-Process.gif

    If this is a live website with traffic, it would be a good idea to set up a staging site, meaning a complete and exact copy of this installation into another location/folder in the same server, using a separate database, and perform the test in there instead without worrying about the live site.
    Reference: https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-2

    Once you do that respond back to this thread with the results so that we can go on from there.

    Thanks!

    Jeremy

  • siteweb

    Hi,
    There was no plugin conflict. But the multiple domains mapped made an issue. (it was one of your previous idea but you deleted it)
    I desactivate all of them and so far the plugin is working. If I add even one domain, there is further issues with the cart. Products added not adding, or removed not being removed, quantity not being updated, or products not passing throught payment page.
    Before I search for another way to redirect the other domains, can you tell me if you may work around this issue, since "domain mapping" is one of your plugins ?
    Thanks

  • Nithin

    Hi siteweb,

    Hope you are doing good today. :slight_smile:

    Before I search for another way to redirect the other domains, can you tell me if you may work around this issue, since "domain mapping" is one of your plugins ?

    If it's an issue specific to Domain Mapping, we would be glad to help troubleshoot it further, and help get it resolved. However, on checking your above mentioned site:
    http://automotoecole.com/boutique/produits/

    I'm not able to replicate the issue in your website with the cart page remaining empty. It works when I tested in your website as seen in the following screenshot:

    Was this issue resolved? I Could still the the domain mapped in your system. Am I missing anything?

    If the issue still exists, could you please point out the steps to replicate the issue in your website, so that we have a better idea regarding this, and see what could be done in order to get this sorted asap.

    Looking forward to your reply. Have a great day ahead. :slight_smile:

    Regards,
    Nithin

  • Nithin

    Hi siteweb,

    Thanks for explaining further. I could notice anomalies regarding this, was able to detect the following console error, when tested in my local server:
    Access to XMLHttpRequest at 'http://website/admin-ajax.php?action=mp_update_cart' from origin 'http://website2' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    It'll require further troubleshooting in order to test further , and see what needs to be done to map the other domain without any issue.

    Seems like the support access was disabled in your system, so wasn't able to check your website further. Could you please temporarily map both the domains in your subsite, so that we could run couple of test in your website, and see what could be done to fix this?

    Also, please share your websites login credentials by using our secure contact form below, so that we could troubleshoot this further:
    https://premium.wpmudev.org/contact/#i-have-a-different-question

    - To Mark to my attention, the subject line should contain only: ATTN: Nithin Ramdas
    -WordPress admin username
    -WordPress admin password
    -login url
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant urls

    Have a nice day. :slight_smile:

    Kind Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.