After adding a product to cart, page is not redirecting

Discussion in 'PHP' started by Devesh Sharma, Jan 5, 2016.

  1. #1
    Hi DP's

    I have a problem in magento.

    When adding a products via add to cart button, it show items added to cart and stay remain on the same page. it nowhere redirects .

    So i want to redirect it to the cart page after adding the products.
    I have done it through magento via
    system>configuration>Sales>Checkout>shoppingcart>After Adding a Product Redirect to Shopping Cart set to yes.

    But nothing happened.. it stay remains on the same page.

    Can anyone help on this
     
    Devesh Sharma, Jan 5, 2016 IP
  2. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #2
    I don't know Magento or how it does re-directs, but if it is using conventional header re-directs the problem could be that the redirect page is writing something out (even a blank line) before it tries to re-direct. That will always fail unless the output is buffered and does not actually get sent.

    You might want to try the Magento support site: https://magento.com/help/overview

    They have documentation and a forum that is product specific, and that is probably the kind of help you need.
     
    COBOLdinosaur, Jan 7, 2016 IP
  3. K4rl

    K4rl Greenhorn

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    13
    #3
    Have you tried clearing your cache? If you're caching using APC or something then this could be an issue.
     
    K4rl, Jan 8, 2016 IP
  4. kostas13ioannou

    kostas13ioannou Greenhorn

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #4
    I think, magento has a great community/forum/support portal.
    Did u search there?
     
    kostas13ioannou, Jan 15, 2016 IP