Jump to content

[JOB OFFER] prestashop configuration value saved by ajax for multishop


SmartDataSoft

Recommended Posts

we saved our all option by ajax page from a module by call

ajax and on that ajax.php we save option like bellow

Configuration::updateValue($key, $value);

and add

include_once('../../config/config.inc.php');

include_once('../../init.php');

on the ajax.php pages top to load library.

But when enable multishop and same ajax call which return 200 ok message on firebug

return 320 ok which means that page is found but request is not complete.

I go through the config.php and debug and find that.

$context = Context::getContext();

/* Initialize the current Shop */ $context->shop = Shop::initialize();[/code]

code block send page by redirect when multishop is enable.

So want some expert to solve this issue. I am so busy right now. So need some one can fix this as soon as possible.

Link to comment
Share on other sites

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...