Checkout not displaying - store hours instead

  • Posts: 198
  • Thank you received: 5
11 years 7 months ago #127245

-- url of the page with the problem -- :http://www.dadshotsauce.net/
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Empty checkout page and hours of operation

I have been crafting the checkout page all day and it was coming along really nicely. I was finally able, after updating to 2.2.2, to display the login, guest and new registration in one page with the radio box selection.

I then created a custom field because I wanted to see if I could enter a notice on how to use the registration for new and current users. I did it but realized that the custom field would not work for me so I deleted it.
All this time I was refreshing the checkout page to see what the effect was.
After deleting the custom field I went back to the registration (which I kept on firefox not to mix sessions) and the entire page disappeared showing instead this notice:

Message
The store is open from 9:00 to 18:00

I was planning to create another view, but while I opened a few pages to see the overrides, I never saved any. Just opened them and closed them without saving.
Now I am unable to arrive at the checkout page and the error above is the only thing that shows on the page.
I am completely puzzled. What could I have set to compromise the page like this?

Thank you for your help













Attachments:
Last edit: 11 years 7 months ago by conticreative.

Please Log in or Create an account to join the conversation.

  • Posts: 198
  • Thank you received: 5
11 years 7 months ago #127246

I wanted to add a couple of things that may not be related but then again they might:

1) Right before the checkout disappeared, I had a few orders in the backend that I did by going all the way to Paypal and then exiting back to the site without paying. These orders were made using the "Guest" checkout.

2) I created a language override, but the checkout kept working after that. It's just one of the last things I did before the disaster.

3) I activated the debug the site is at: www.dadshotsauce.net Purchase any product and go to checkout and you can see the blank page and the debug below.

Based on the debug, I will try to optimize the database, just in case. I doubt it will work.

I did the optimization and repair and found this upon just checking the DB:

pear_main.ajx70_finder_tokens
note : The storage engine for the table doesn't support check
pear_main.ajx70_finder_tokens_aggregate
note : The storage engine for the table doesn't support check


Then after repair, I found these (the repair had no effect) but a number of tables had the same message. Many more than on check.

pear_main.ajx70_languages
note : The storage engine for the table doesn't support repair
pear_main.ajx70_menu

Last edit: 11 years 7 months ago by conticreative.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #127278

Hi,

My bad I think I misunderstood the issue that you were having through this thread . This issue is caused by the values that you have set through your "Business hours" option, you should just unset these values and you'll be able to access to your checkout again.

Please Log in or Create an account to join the conversation.

  • Posts: 198
  • Thank you received: 5
11 years 7 months ago #127401

Wow, I just answered your previous response, but now I can't see it and neither can I see my original replay to it.

In any case, I set up the store hours weeks ago and I haven't touched anything since, while checkout kept working fine.

Would you mind taking a look if I send you access via PM? I can't tell you how frustrating this is. I was supposed to show this to the client today and the very last thing I did yesterday made the checkout page stop working. I am going top try to mess around with the store hours, but I doubt that's the culprit. I am also getting "No shipping setup" error while I know it is setup and has been working. It's like the products are never sent to the cart or the cart doesn't exist anymore.

EDIT

Well, I'll be darned. I went to the site today and the checkout is back to work. I honestly cannot understand what happened. I have not touched anything. Yesterday I tested the issue on 3 different browsers and I run all of them without browser cache. The site also has no cache turned on and I cleaN IT ANYWAY WITH A NoNumber plugin.

The reason I am not just happy and moving along is because I would like to know what caused that issue last night that basically made the checkout disappear for several hours and come back without a reson for either.

Last edit: 11 years 7 months ago by conticreative.

Please Log in or Create an account to join the conversation.

  • Posts: 198
  • Thank you received: 5
11 years 7 months ago #127404

By the way, since this happened yesterday, the UPS plugin has stopped working and I get the "No shipping method found". In the last few days UPS worked flawlessly after I had some trouble at the beginning so I made sure that every product had weight and dimensions, as that was the problem. Now it has stopped working and I can't understand why. All products are set a 5x5x5 " in dimensions and the weights are actually their own weights (I am waiting for the real dimension).

I am completely baffled, but I left the debug console on in case you guys can figure out what's wrong from there.

EDIT: It turns out that the reason I got the UPS plugin error was because I hadn't yet logged in or registered, so I was seeing a UPS error and I was getting taxed as if I were in Colorado. Both of those things are less than ideal since pretty much every customer is going to see the error and most likely flee. This has just started happening. How would I fix it?



I'll also be happy to send you admini info if you want to check if I set everything correctly.

We basically sell in the USA and we ship from Colorado. The UPS plugin has been configured the same way since forever and it worked. Yesterday I added 2.9 percent to colorado, but it was previously set, I just didn't know the tax value.

Maybe that's the problem, but after I made that change, I was able to enter several orders and check them out with flawless UPS values, so something else must be at play.

Last edit: 11 years 7 months ago by conticreative.

Please Log in or Create an account to join the conversation.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 7 months ago #127428

Hi,

Just to not loose time to answer twice.
Which thread is the right one ?!

www.hikashop.com/forum/checkout/862697-c...e-hours-instead.html
www.hikashop.com/forum/install-update/86...e-hours-instead.html

Please reply/continue on one single thread.


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 198
  • Thank you received: 5
11 years 7 months ago #127577

Hi, I am not sure how the thread got split in two. I only created one version of the OP, but yesterday I noticed (and infact I wondered about here) that I answered already but the post was missing. Now I know why.

In any event, I found a solution, splitting the checkout over two pages it now works and I think it will be fine for us.

Basically, when I activated the Login/Guest/registration the checkout didn't yet know the customer location, so the UPS plugin would not calculate the shipping. In addition, not knowing the address yet, hikashop charged taxes just in case.

However, splitting the checkout only shows the product on page 2 so in the first page there are no errors and no taxes are calculated. I guess we are pretty happy with that but I suppose there may still be something wrong with it as far as Hikashop is concerned.

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 198
  • Thank you received: 5
11 years 7 months ago #127928

-- url of the page with the problem -- : ggboxing.com/staging
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3

It happened again to a different shop I am working on.

let me start from the beginning to try to avoid confusion.

Last week I created this thread because on a shop located at dadshotsauce.com when I went to the checkout page all I got was a blank page (the only thing showing was a message saying "The store is open from 9:00 to 17:00").
The day after I posted this thread, that problem went away on its own. Overnight. I did no work on the site and I touched nothing, yet the checkout page returned and now it seems to work OK.

However, I am also working on a completely different site at this domain: ggboxing.com/staging
While working on the site with my client, we added a product in the cart and went to test the checkout. I was presented with the very same blank page I did on the other shop. Here too the message said: The store is open from 9:00 to 17:00 but the rest of the page was blank.



My client told me it has been like that for a few days but he assumed I was working on it. Instead, I had already tested the flow and it worked fine. This is a new development identical to the problem I had on the dadshotsauce.com website
(FYI, dadshotsauce.com uses the "Essential" version, while this site GGboxing.com uses the Business version) .

At this point, I am sure this is not a coincidence and it may be related to the new version (2.2.2) I installed on both carts at the beginning of last week.

In dadshotsauce.com the day after I posted this thread, the checkout page had returned, making the point moot. I know all too well that it's already hard to fix a problem you can see. One you can't is impossible. So I let it go. Now I need to reopen this thread and I will send the moderator access to both sites. But the most important one At this moment is the ggboxing.com site as we cannot even test it properly.

Thank you

I also checked the PHP error on both sites and Hikashop seems to have no errors at all. However, one thing I noticed while installing yet another site (a third one) today was that the 2.2.2 update has a really hard time installing and that may be a cause?

In any event, I need to solve this issue for both shops (and any future ones). I cannot have a checkout page that decides to show up only on certain days.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #127987

Hi,

When setting hours for the shop, if the customer visit the shop when it's closed he can't checkout.
That a normal thing.

If it seems to be closed when it should not be closed, there is maybe a problem with the server time.
What can be done is editing the view "product / step" and change the way we get the current date.
Replace "time()" by "new JDate()"

To force the possibility to checkout, you can remove the check:

			if($closed){
				$app=& JFactory::getApplication();
				$app->enqueueMessage(JText::sprintf('THE_STORE_IS_ONLY_OPEN_FROM_X_TO_X',$open_hour.':'.sprintf('%02d', $open_minute),$close_hour.':'.sprintf('%02d', $close_minute)));
				echo '</div>';
				return;
			}

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum