Jump to content

husein522

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by husein522

  1. Can we delete ps_modules_perfs. It has too many rows. What will be its impact if we delete it
  2. Hi, I have a requirement to split a single order with multiple products into multiple Order. Eg. if i receive a order of 3 different products. The order should be automatically get converted into 3 Orders.
  3. Hi, How can I apply pagination for large number of products. Is it possible to initially add 5 product from list of 50 product and on click of load more button list 5more product and so on. Thansk, Husein
  4. Hi, I am getting error while executing code: $first.product_list[0].carrier_list[0] in order-carrier.tpl error: <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>252</b><br /> hide"> <table class="delivery_option_carrier selected resume table table-bordered"><tbody><tr><td rowspan="2" class="delivery_option_radio first_item"> <div class="radio" id="uniform-delivery_option_27_0"><span class="checked"><input id="delivery_option_27_0" class="delivery_option_radio" type="radio" name="delivery_option[27]" data-key="90,89," data-id_address="27" value="90,89," checked="checked"></span></div></td> <td class="delivery_option_logo<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>252</b><br /> hide"> <img class="order_carrier_logo" src="/mystore/img/s/90.jpg" alt="free shipping"></td><td class="<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>262</b><br /> hide"> <input type="hidden" value="90" name="id_carrier"> <i class="icon-info-sign"></i> 2-3&nbsp;(For this product: WigOWig Long Beautiful Extension for Ladies(Washable &amp; Curlable hair) Hair Extension)</td><td rowspan="2" class="delivery_option_price"><div class="delivery_option_price">Frees</div></td></tr><tr><td class="delivery_option_logo<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>330</b><br /> hide"> <img class="order_carrier_logo" src="/mystore/img/s/89.jpg" alt="Free Shipping non cod"></td><td class="<br /> <b>Notice</b>: Undefined offset: 0 in <b>/home/saifkvc5/public_html/mystore/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code</b> on line <b>340</b><br /> hide"> <input type="hidden" value="90" name="id_carrier"> <i class="icon-info-sign"></i> 4-5&nbsp;(For this product: Curren Men Black Decker Planet Ocean Analog Watch)</td></tr></tbody></table>
  5. this is the error [PrestaShopException] Property Address->id_country is empty at line 909 in file classes/ObjectModel.php 904. } 905. 906. $message = $this->validateField($field, $this->$field); 907. if ($message !== true) { 908. if ($die) { 909. throw new PrestaShopException($message); 910. } 911. return $error_return ? $message : false; 912. } 913. } 914. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] 241. * @return array All object fields 242. * @throws PrestaShopException 243. */ 244. public function getFields() 245. { 246. $this->validateFields(); 247. $fields = $this->formatFields(self::FORMAT_COMMON); 248. 249. // For retro compatibility 250. if (Shop::isTableAssociated($this->def['table'])) { 251. $fields = array_merge($fields, $this->getFieldsShop()); ObjectModelCore->getFields - [line 487 - classes/ObjectModel.php] 482. 483. // Database insertion 484. if (Shop::checkIdShopDefault($this->def['table'])) { 485. $this->id_shop_default = (in_array(Configuration::get('PS_SHOP_DEFAULT'), $id_shop_list) == true) ? Configuration::get('PS_SHOP_DEFAULT') : min($id_shop_list); 486. } 487. if (!$result = Db::getInstance()->insert($this->def['table'], $this->getFields(), $null_values)) { 488. return false; 489. } 490. 491. // Get object id in database 492. $this->id = Db::getInstance()->Insert_ID(); ObjectModelCore->add - [line 173 - classes/Address.php] - [2 Arguments] 168. /** 169. * @see ObjectModel::add() 170. */ 171. public function add($autodate = true, $null_values = false) 172. { 173. if (!parent::add($autodate, $null_values)) { 174. return false; 175. } 176. 177. if (Validate::isUnsignedId($this->id_customer)) { 178. Customer::resetAddressCache($this->id_customer, $this->id); AddressCore->add - [line 445 - classes/ObjectModel.php] - [2 Arguments] 440. * @return bool Insertion result 441. * @throws PrestaShopException 442. */ 443. public function save($null_values = false, $auto_date = true) 444. { 445. return (int)$this->id > 0 ? $this->update($null_values) : $this->add($auto_date, $null_values); 446. } 447. 448. /** 449. * Adds current object to the database 450. * ObjectModelCore->save - [line 212 - controllers/front/AddressController.php] 207. $this->ajaxDie(Tools::jsonEncode($return)); 208. } 209. } 210. 211. // Save address 212. if ($result = $address->save()) { 213. // Update id address of the current cart if necessary 214. if (isset($address_old) && $address_old->isUsed()) { 215. $this->context->cart->updateAddressId($address_old->id, $address->id); 216. } else { // Update cart address 217. $this->context->cart->autosetProductAddress(); AddressControllerCore->processSubmitAddress - [line 107 - controllers/front/AddressController.php] 102. * @see FrontController::postProcess() 103. */ 104. public function postProcess() 105. { 106. if (Tools::isSubmit('submitAddress')) { 107. $this->processSubmitAddress(); 108. } elseif (!Validate::isLoadedObject($this->_address) && Validate::isLoadedObject($this->context->customer)) { 109. $_POST['firstname'] = $this->context->customer->firstname; 110. $_POST['lastname'] = $this->context->customer->lastname; 111. $_POST['company'] = $this->context->customer->company; 112. } AddressControllerCore->postProcess - [line 178 - classes/controller/Controller.php] 173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 174. $this->setMedia(); 175. } 176. 177. // postProcess handles ajaxProcess 178. $this->postProcess(); 179. 180. if (!empty($this->redirect_after)) { 181. $this->redirect(); 182. } 183. ControllerCore->run - [line 367 - classes/Dispatcher.php] 362. if (isset($params_hook_action_dispatcher)) { 363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 364. } 365. 366. // Running controller 367. $controller->run(); 368. } catch (PrestaShopException $e) { 369. $e->displayMessage(); 370. } 371. } 372. DispatcherCore->dispatch - [line 28 - index.php] 23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch();
  6. Hi, I am getting same error after upgrading to php 7. I am using prestashop version 1.6. in 1.6 version there is no such class as form\CustomerAddressPersister.php thanks, husein
  7. Hi, I am getting 403 Forbidden error while login to google. https://xxx.com/mystore/module/socialloginizer/google?state=adf&code=zxcz&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile# scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile# I am getting error in in scope when i remove "https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile#" it works fine. I tried to modify code but could not suceed. need help Thanks husein
  8. Hi, Can you please help me with the attached product CSV file. The product features takes me to error page I have done lot of research but no solution products_import _b.csv
  9. Hi, I am trying to do csv import with the attached file but feature is not getting imported . Need urgent help. products_import _b.csv
  10. Hi, I am also looking for the same kind of feature. Any help plz Thanks, Husein
  11. Hi, I got direct dropbox link just add &raw=1 at the end of dropbox link. Now i am able to load images from dropbox to prestashop via csv import
  12. Is there any way to upload images from dropbox as I have product sheet of 1000 rows with drobox url. If I go with direct link I have to update all image url
  13. I have all my images in dropbox and I have pasted public link in csv file but the images are not reflecting in prestashop product. Can any one help me for this. I had tried same with google drive too that too not working.
  14. Hi, I am also having same problem. I have all my images in dropbox and I have pasted public link in csv file but the images are not reflacting in prestashop product. Can any one help me for this. I had tried same with google drive too that too not working.
  15. Hi, I have all my images in dropbox and I have shared dropbox image url in prestashop csv import but the images are not getting uploaded Thansk, husein
  16. I want to set Expanded Category by default in mobile theme. How can I achieve the same
  17. Hi, I had installed COD plus (Cash on delivery plus (COD+) v1.5.7 - by PrestaHost.eu), It was working fine but suddenly it got disappeared from the payment page on front end. I did lot of research and found "Disable all overrides" in performance tab. After enabling override the COD plus is visible on front end. May I know what can be the reason of sudden disappearance of COD plus module from frontend and how can i view the cod plus module without touching any overrides button. As override button is under debug mode section. Thanks, Husein
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More