Jump to content

justic3

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by justic3

  1. Hi, may I know how to disable file to rename? in state of rename can i change to order refence no? if (isset($fileAttachment['rename']) && !empty($fileAttachment['rename']) && rename($fileAttachment['tmp_name'], _PS_UPLOAD_DIR_.basename($fileAttachment['rename']))) { $cm->file_name = $fileAttachment['rename']; @chmod(_PS_UPLOAD_DIR_.basename($fileAttachment['rename']), 0664); } I tried to add $fileAttachment['rename'] = $order->getUniqReference(), before the code above and it works, but the file does not have file extension. How to save the filename as {order reference no} + {tmp_name}
  2. Thanks for the modules! Been looking how to solve my customer from calling my company and ask for their shipment status but now my customer can track their order shipment in my merchant website.
  3. I have a several payment gateway, is it able to configure the payment option according to the amount? For example: I have payment gateway A, B, C if shopping cart value is $100, customer is only able to pay with payment gateway A, C if shopping cart value is $10, customer is only able to pay with payment gateway B, C Is there such a configuration?
×
×
  • Create New...

Important Information

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