Check Workflow Setup for steps not working

  • Posts: 56
  • Thank you received: 9
6 years 3 months ago #296321

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Firefox 61.0.1

Hi,

I have an issue in the back end where the Configutration > Checkout Workflow - Yoou can not add steps or add views. If you click ADD STEP button the STEP (No) counts upwards everytime you click it but no area is shown to add the views. If you click on a view to add it to the next step then the STEP (No) starts counting upwards and nothing else happens.

I have tried this in Firefox, IE and Chrome. They all do the same thing. What is causing this?


I can't change the direction of the wind, but I can adjust my sails to always reach my destination.
Attachments:

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
6 years 3 months ago #296325

Hi,

You must have a javascript error caused by another extension which messes with the checkout workflow.
Open the console of your browser and try again. Then, you should see some error(s) in the console which will point at the source of the problem.
If you don't get any error, we'll need you to provide a backend access along with a link to this thread via our contact form so that with can look at the situation more in depth.
www.hikashop.com/support/contact-us.html

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

  • Posts: 56
  • Thank you received: 9
6 years 3 months ago #296348

Thanks for your reply Nicolas.

I checked that and no errors are showing. It just shows:

JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js?8ad60bca054cf4db040c89d070299280:2

I have submitted a contact form to you.


I can't change the direction of the wind, but I can adjust my sails to always reach my destination.

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

  • Posts: 56
  • Thank you received: 9
6 years 3 months ago #296352

I have just tried the console in Firefox and I get the following:

JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:542
Empty string passed to getElementById(). jquery.min.js:2:24932
Empty string passed to getElementById(). jquery.min.js:2:24932

Everytime I click on the "Add Step" or "Add View" button I get (Empty string passed to getElementById(). jquery.min.js:2:24932)


I can't change the direction of the wind, but I can adjust my sails to always reach my destination.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
6 years 3 months ago #296367

Hi,

This is cuased by some custom javascript added to the response of the AJAX requests done by the checkout workflow editor:
monosnap.com/file/PKWQDKWIOa00bG79r6wK3VjZb0LqZR
Because of all that javascript, it breaks the AJAX request processing.
From what I understand, this code was added for the checkout on the frontend so you need to add it only on the frontend.
It's easy to do in PHP in Joomla:

$app = JFactory::getApplication();
if(!$app->isAdmin()) {
 // code only for frontend
}

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

  • Posts: 56
  • Thank you received: 9
6 years 3 months ago #296385

Sorry Nicholas, I have no idea what this means? I will get my developer to have a look at this. Thank you


I can't change the direction of the wind, but I can adjust my sails to always reach my destination.
Last edit: 6 years 3 months ago by olstadesigns.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum