Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

'Page Not Found' when adding/removing products from Cart

(15 posts) (5 voices)
  • Started 1 year ago by raistlin
  • Latest reply from Zain
  • Possible Solutions (Related Topics):
    1. How to align "Add to Cart" button on Products page
    2. Error loading page when adding products to the cart
    3. Suppress the "Item already exists in the cart" message following page change.
    4. Affiliate needs to direct traffic directly to sales cart page
    5. Sales page "add to cart button" should add the product and open the eStore page

Tags:

  • 404
  • page not found
  • shopping cart
  • Update Cart
  • WP eStore
12Next »
  1. raistlin
    Member

    Good Day,

    I am experiencing an error when products are added or removed from the Shopping Cart.
    When you add or remove a product you get delivered to a 'Page not Found' page. The item remains in order (adding or removing from cart) but the page reloads as 'Page not Found'. :/

    Any suggestions or pointers in the right direction would be greatly appreciated! :D

    Kind thanks in advance,

    Posted 1 year ago #
  2. wpCommerce
    Moderator

    Can you please post a link to the page where you are having the issue?

    Posted 1 year ago #
  3. raistlin
    Member

    Of course! My apologies,

    http://bit.ly/ex1U1Z

    Thank you so much, your time is greatly appreciated.

    Posted 1 year ago #
  4. amin007
    Key Master

    If you are using "Automatic Redirection" to the checkout page can you please post a link to your checkout page too?

    Posted 1 year ago #
  5. raistlin
    Member

    Unfortunately it appears that the "Automatic redirection to checkout page" is not checked on the Settings page.

    Posted 1 year ago #
  6. amin007
    Key Master

    Some setup on your server is not complete. When doing a HTTP POST to the same page it seem to give a 404 error. Not sure if the URL rewriting on your .htaccess is screwed a bit. Can you please post the content of the .htaccess file from the root of your site?

    Also, if you use the automatic redirection option do you still get this issue?

    Posted 1 year ago #
  7. raistlin
    Member

    When I enable the automatic redirection option it does route to the specified URL in the options page. Here's the code from the root .htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thank you so very much :)

    Cheers,

    Posted 1 year ago #
  8. amin007
    Key Master

    Your .htaccess file looks good. Are you using a windows server?

    Posted 1 year ago #
  9. raistlin
    Member

    The website is hosted via HostMonster (http://www.hostmonster.com) which I believe operates Linux servers.

    Posted 1 year ago #
  10. raistlin
    Member

    Good Day,

    Just thought I'd drop by to clarify that Hostmonster does use Linux servers (I apologize after re-reading what was written prior it was not clear).

    I've been digging around the forums over the past day or so and found this snippet:

    Hi This plug in is very useful and easy to use. but I have problem with it after I change my theme and I can not solve the problem. The them I use know RT-Theme 11 1.0 from theme forest the problem is when clicking the add to cart button the theme responses its 404 not found page. And when I go back to the page and refresh it I see the product I desire is added to the cart. the other problem is that when I try to remove the product from cart I found myself at the home page of my site.
    ----------
    I solved the problem
    $products variable is used in the theme for its own purpose and I replaced them with $wp_shopping_cart_products and my problem resolved

    Not sure if this could be relevant at all but I went through and tried disabling all other plugins etc but didn't have any luck. It doesn't appear that there is a predefined custom post field in the theme for $product to replace either.

    Thanks again :)

    Cheers,

    Posted 1 year ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin