Jump to content

Gany.akshu

Members
  • Posts

    6
  • Joined

  • Last visited

Gany.akshu's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello eddiebarsant, Can you please explain more in detail or sample code to create a code to add prefix + sequence number.
  2. Thank you for this. If i want ALPHANUMERIC values. I have edited your code as below. " / classes / order / Order.php " return strtoupper (Tools :: passwdGen (9 'ALPHANUMERIC')); And in The file ' / classes / Tools.php " public static function passwdGen ($ length = 8, $ flag = 'ALPHANUMERIC') { switch ($ flag) { case 'NUMERIC': $ str = '0123456789 '; break; case 'NO_NUMERIC': $ str = 'AK'; break; default: $ str = 'abcdefghijkmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; } for ($ i = 0, $ passwd =''; $ i <$ length, $ i + +) $ passwd. = Tools :: substr ($ str, mt_rand ( 0, Tools :: strlen ($ str) - 1), 1); return $ passwd; } So that I can get the order reference as only AK(Numberic) values. Please correct me if I am wrong.
  3. I really in need help. Please someone provide me solution for above topic. . Only becoz of this my website is in hold to release for more than 3 days!!!
  4. I would like to change the add to cart functionality slightly. After clicking Add to cart button from Product page->After product get added in Ajax add to cart block. . Need to expand the block automatically after adding the product instead of mouse over I attached the screenshot for the same. Someone please give me any idea to do this at my end.
  5. Hi guys, Using new version of Prestashop 1.5.2.0. I would like to change the Order reference ( alphabets ) to alphanumeric value. I tried searching in forums and Seen this forum. Unfortunately it wont work for me. Can any one have solution to change Order reference ( alphabets ) to alphanumeric value in entire application. I mean "AQMKATRQG" to "AK1001" and the increment it to "AK1002" Thanks in advanced. I am in only hope of getting solution from helping hands.
×
×
  • Create New...