Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-06-2014 10:04:14

ThomasGiannou
Member
Registered: 02-10-2007
Posts: 184

Mobile app encountering an error after returning to the cart

On the Mobile version, one can make a purchase and then return to the cart for more purchases. 

When one clicks on the "return to the cart" button, a display of all the categories comes up.

The customer must then click on one of categories in order to display the products.

If the customer decides to go back to that category display, an error condition pops up that says "Confirm form Resubmission".   There doesn't appear to be any place or way to do that "Confirm form Resubmission" process.  There is a details link that one can click on and error message is indicated "Error code:  Err_Cache_Miss". 

One can hit "back" a number of times on the mobile device and the cart will display a category / product list again.

The point of all of this is the customer can't get back to the display of all the categories once they have selected a category to look at the products in that category.   When given a list of categories and their full descriptions, shouldn't the customer be able to come back to that list of categories if the product they were looking for isn't in the category they originally selected?   That's when the above error message happens.

Offline

 

#2 11-06-2014 15:04:10

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Mobile app encountering an error after returning to the cart

I think you mean this happens when clicking the continue shopping button on the shopping cart page.  Correct?


Nick Hendler

Offline

 

#3 11-06-2014 16:34:44

ThomasGiannou
Member
Registered: 02-10-2007
Posts: 184

Re: Mobile app encountering an error after returning to the cart

Yes.  I didn't describe the button name correctly.

Offline

 

#4 11-07-2014 08:14:19

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Mobile app encountering an error after returning to the cart

We'll address this by changing the button to a link in a future update.  Thanks for the report.


Nick Hendler

Offline

 

#5 11-07-2014 11:08:07

ThomasGiannou
Member
Registered: 02-10-2007
Posts: 184

Re: Mobile app encountering an error after returning to the cart

This problem is happening with the Mobile and Full Site version of the shopping cart.   When ever the "Continue shopping" button is presented and depressed, a special report of all the category descriptions is presented.   In the Full site version, if a customer goes into one of those categories and displays products under the category selected, and then decide the product they are looking for is not being displayed and they hit the "Back button" on their browser, they get a message that the web page has expired.  So, what you are saying is if that return to shopping button was changed to a link, then the browser would hold onto that internal category report and the failure would go away in both the mobile and full site version?

I notice that when one displays the items in the shopping cart, the return to shopping button is there also and this error noted above can occur in both the mobile and full site versions of the cart.   Isn't there a way you can share the code with us now that will change that button to a link so we can update the cart programs involved in order to eliminate this bug so the cart doesn't fail in mobile and full site mode?

Offline

 

#6 11-07-2014 18:53:01

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Mobile app encountering an error after returning to the cart

It's not a problem.  That's simply how form posts work on the web.  Try using MSIE on an SSL-based site.  Talk about annoying.  You can change the continue shopping button from a form button to a link by editing the {private}/apps/ecom/ECOM/includes/cartdisplay.php file if you would like.  Simply style the href you create with class="formbutton" and it will look the same.


Nick Hendler

Offline

 

#7 11-07-2014 19:09:50

ThomasGiannou
Member
Registered: 02-10-2007
Posts: 184

Re: Mobile app encountering an error after returning to the cart

You are talking to a non-php type programmer here.  I need to see the exact code or I will be forced to try a bunch of things that I am not familiar with and most likely will make matters worse for my customers.

Offline

 

#8 11-10-2014 09:16:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Mobile app encountering an error after returning to the cart

In the section which starts:

Code:

// +--
// | Print the buttons.
// +--

Change (non-mobile display):

Code:

     print '<div style="display: inline-block; margin-bottom: 5px;"><form action="' . $link_shop . '" id="CONTSHOP" method="post">';
     print '<div><input class="formbutton" type="submit" name="CONTSHOP" id="CONTSHOP--SUBMIT" value="Continue Shopping" /></div></form></div>' . $eol;

to:

Code:

     print '<div style="display: inline-block; margin-bottom: 5px;"><a href="' . $link_shop . '" ';
     print 'id="CONTSHOP" class="formbutton">Continue Shopping</a></div>' . $eol;

And (non-mobile display):

Code:

     print '<td class="invisible"><form action="' . $link_shop . '" id="CONTSHOP" method="post" style="display: inline; margin: 0px; padding: 0px;">';
     print '<div><input class="formbutton" type="submit" name="CONTSHOP" id="CONTSHOP--SUBMIT" value="Continue Shopping" style="margin-top: 3px;" /></div></form></td>' . $eol;

to:

Code:

     print '<td class="invisible"><a href="' . $link_shop . '" ';
     print 'id="CONTSHOP" class="formbutton">Continue Shopping</a></td>' . $eol;

Nick Hendler

Offline

 

Board footer