Jump to content

Shipping out of stock product


falkor

Recommended Posts

Hello,

 

I have strange problem with carriers, when any product in cart is out of stock (I've turned on Allow ordering of out-of-stock products, and advanced stock menagment) I cant choose any carrier because of 'No carriers available' error.

 

Everything is fine until one of products is out of stock so I think backoffice settings are good, and there is any error in php code of controller/class.

 

Feel free to give me any idea how to fix it :)

 

Edited by falkor (see edit history)
Link to comment
Share on other sites

Falkor,

 

    This sounds to be more of a shipping zone issue than an out of stock one.  My settings are nearly the same as yours with the only exception being I do not use the advanced stock management.  However, this message you are seeing is usually the result of either not being logged in (depending on cart visitor,guest,customer options) or the carrier for that product price/weight range has not been authorized for the region of the customer.  If it were me, I'd go back and look at the basics.. Does the product being added to the cart exceed price/weight limitations you have set up for the carrier or is that carrier not selected in the B.O for that region.  Sometimes it's just the simplest thing that throws it off.

Link to comment
Share on other sites

First of all thanks for your reply, after longer weekend I'll try to figure where's problem.

 

I've checked settings of every single carrier multiple times, im using price range (but in my opinion its other problem, because even free shipping is not displayed), with option "Apply the cost of the highest defined range" turned on.

Region: Europe and Europe (non-EU) customer account have set Poland in delivery address

I'm comparing my settings with backoffice PS demo, so only difference is advanced stock menagement.

 

EDIT:
Carriers in advanced menagement are selected as well.

Confirmed, this error exists only when advanced menager is turned on. Need someone to confirm this bug on other installation and then I'll report him on bugtracker.

 

EDIT2:

Now im recieving error from js when changing carriers (have some troubles with checkbox to accept terms of service, need to check him each time I change carrier, thats strange):
 

error.jpg?1399276373

 

Looks like I have problems now with whole ajax in cart, cause I can't log in to existing account from cart too.

 

EDIT3:
I've pasted default orderOpcController and looks like it helped with edit2, we'll see (1 problem fixed, 2 new appears :P ).

Edited by falkor (see edit history)
Link to comment
Share on other sites

EDIT2:

 

check what you've got in ajax response, turn on browser console ctrl+shift+j in chrome and try to reproduce error,

when the popup with error will appear - you will see in console log with query, click on it and then open "reponse" tab

what you see there?

Link to comment
Share on other sites

Like I said before, I've pasted default orderOpcController (I'm not only person who working on this project) and it helped with edit2 problem.

On the other hand I were watching on this error in firebug console, answers were correct, but there was problem with parse to json, with default controller everything works fine.

 

Now I need only confirmation of a bug with advanced menagement and out of stock selling, then I'll make bug report and mark topic as solved

Link to comment
Share on other sites

×
×
  • Create New...