Return to Category Screen after Add to Cart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mstella1
    Mivite



    • Apr 2012
    • 338

    #1

    Return to Category Screen after Add to Cart

    In one of my category screens I have multiple products that can be added directly from there. When you add the product to the cart the next screen goes directly to the shopping cart. I want to have it return to that screen in case they wanted to add others. Is that possible? This is what I have on the page right now.

    <form method="POST" action="&mvt:global:sessionurl;">
    <table width="160" border="0" cellspacing="0" cellpadding="0">
    <input type="hidden" name="Store_code" value="&mvt:store:code;">
    <input type="hidden" name="Screen" value="BASK">
    <input type="hidden" name="Category_Code" value="&mvt:global:MainCatCode;">
    <input type="hidden" name="Product_Code" value="&mvt:product:code;">
    <input type="hidden" name="Action" value="ADPR">


    Thanks,
    Mike
  • Bruce - PhosphorMedia
    Developer Partner











    • Mar 2006
    • 11256

    #2
    Try
    change: <input type="hidden" name="Screen" value="BASK">
    to
    <input type="hidden" name="Screen" value="CTGY">
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment

    • mstella1
      Mivite



      • Apr 2012
      • 338

      #3
      Thanks, that worked but I did have to hard code the actual category code for some reason. Not a big deal since that screen is unique to that category.

      Comment

      • Bruce - PhosphorMedia
        Developer Partner











        • Mar 2006
        • 11256

        #4
        changing this
        <input type="hidden" name="Category_Code" value="&mvt:global:MainCatCode;">

        to this

        <input type="hidden" name="Category_Code" value="&mvt:category:code;">

        would probably solve that issue (if you need it on other categories)
        Bruce Golub
        Phosphor Media - "Your Success is our Business"

        Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
        phosphormedia.com

        Comment

        • mstella1
          Mivite



          • Apr 2012
          • 338

          #5
          That did it, I removed the hard coding. Thank you!

          Comment

          Working...
          X