Jump to content

jkfoong

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    JK
  • Last Name
    Foong

Recent Profile Visitors

135 profile views

jkfoong's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello. I want to add customer in the back office and prefill their email and password. But it seems like the code changed in AdminCustomersController is not working. Can anyone help me please? if (Tools::isSubmit('addcustomer') && Tools::isSubmit('submitFormAjax')) { $visitor_group = Configuration::get('PS_UNIDENTIFIED_GROUP'); $guest_group = Configuration::get('PS_GUEST_GROUP'); foreach ($groups as $key => $g) { if (in_array($g['id_group'], array($visitor_group, $guest_group))) { unset($groups[$key]); } } if (!$this->object->email){ $this->object->email = strval(Tools::getValue('firstname'))."@gmail.com"; $this->object->passwd = '123'; } }
  2. Hello. The problem i'm encountering is that my price is not displaying correctly after the volume discount only in the quick view. For example the original price for the product is at $12, when quantity is at 5, the price will be at $10. When I go into the product page, and chose quantity as 5, it shows $10 but when i into quick view and choose 5, it remains at $10. Could anyone please help me with this? I've compared the product.tpl and quickview.tpl and they look similar. I've attached the quickview.tpl. If I remove the "hidden" word inside the block product_refresh, a refresh button will appear and when I press refresh on the page, the price will be updated. I need it to update automatically instead of unhide it and press refresh manually. Thanks for the help! quickview.tpl
  3. Hello. I am using Prestashop 1.7.2.0. When I go to the Back Office -> Advanced Parameters -> Information, I got the red error with no errors shown behind. Is that a bug? What can I do instead of ignoring it? Thank you! As shown below: Required parameters: Please fix the following error(s) Optional parameters: OK
  4. Hello. When I go to the Back Office -> Advanced Parameters -> Information, I got the red error with no errors shown behind. Is that a bug? What can I do instead of ignoring it? Thank you! As shown below: Required parameters: Please fix the following error(s) Optional parameters: OK
×
×
  • Create New...