Jump to content

(!) Searching for products on Create order page


Tinox

Recommended Posts

Hi,

I'm in the process of setting up a new webshop using 1.7.7.1.

When creating an order in backoffice as administrator, I can choose the customer, but none of the available products are retreived when searching for them the field "Search for product" in the "Cart" section. A blue box is shown stating [ (!) Searching for products. ]. This makes it impossible to create an order from the backoffice, an imperative task in this shop's scenario.

Is this a bug, am I doing something wrong or could some module be causing this? Hardly using any yet though.

Thanks for reading and best wishes,
Tinox

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

  • 6 months later...
  • 2 months later...

Please check your browser console in the developer tools and check if any JavaScript error is present or not. Also, try to check the Network tab, there should be a XHR request which is being sent when you type in the search field, check the response of that request by enabling the debug mode and see if any error is present or not.

Link to comment
Share on other sites

  • 2 weeks later...
  • 10 months later...
On 1/27/2021 at 8:33 PM, Tinox said:

Hi,

I'm in the process of setting up a new webshop using 1.7.7.1.

When creating an order in backoffice as administrator, I can choose the customer, but none of the available products are retreived when searching for them the field "Search for product" in the "Cart" section. A blue box is shown stating [ (!) Searching for products. ]. This makes it impossible to create an order from the backoffice, an imperative task in this shop's scenario.

Is this a bug, am I doing something wrong or could some module be causing this? Hardly using any yet though.

Thanks for reading and best wishes,
Tinox

Hi Tinox, did you find a fix? Thanks

Link to comment
Share on other sites

On 11/19/2021 at 6:56 AM, Knowband Plugins said:

Please check your browser console in the developer tools and check if any JavaScript error is present or not. Also, try to check the Network tab, there should be a XHR request which is being sent when you type in the search field, check the response of that request by enabling the debug mode and see if any error is present or not.

Failed to load resource: the server responded with a status of 403 (Forbidden)
/backoffice/index.php/sell/orders/products/search?_token=vukBLLXaXrUuWOgehy6Bv78G817PMLzIYPGBZdpEiI4&search_phrase=al:1          Failed to load resource: the server responded with a status of 500 (Internal Server Error)
main.bundle.js:1404 jQuery.Deferred exception: Cannot read properties of undefined (reading 'message') TypeError: Cannot read properties of undefined (reading 'message')
    at Object.<anonymous> (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/order_create.bundle.js?1.7.8.7:340:3465)
    at o (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/main.bundle.js:1404:80145)
    at d (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/main.bundle.js:1404:80469) undefined
M.Deferred.exceptionHook @ main.bundle.js:1404
/backoffice/index.php/sell/orders/products/search?_token=vukBLLXaXrUuWOgehy6Bv78G817PMLzIYPGBZdpEiI4&search_phrase=all:1          Failed to load resource: the server responded with a status of 500 (Internal Server Error)
main.bundle.js:1404 jQuery.Deferred exception: Cannot read properties of undefined (reading 'message') TypeError: Cannot read properties of undefined (reading 'message')
    at Object.<anonymous> (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/order_create.bundle.js?1.7.8.7:340:3465)
    at o (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/main.bundle.js:1404:80145)
    at d (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/main.bundle.js:1404:80469) undefined
M.Deferred.exceptionHook @ main.bundle.js:1404
/backoffice/index.php/sell/orders/products/search?_token=vukBLLXaXrUuWOgehy6Bv78G817PMLzIYPGBZdpEiI4&search_phrase=all:1          Failed to load resource: the server responded with a status of 500 (Internal Server Error)
main.bundle.js:1404 jQuery.Deferred exception: Cannot read properties of undefined (reading 'message') TypeError: Cannot read properties of undefined (reading 'message')
    at Object.<anonymous> (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/order_create.bundle.js?1.7.8.7:340:3465)
    at o (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/main.bundle.js:1404:80145)
    at d (https://WEBSITE.co.uk/backoffice/themes/new-theme/public/main.bundle.js:1404:80469) undefined

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...