I am trying to add all the coupons used on the Customer Comment once they placed an order.
Currently looking at /catalog/model/checkout/order.php but not really sure which one to change.
The reason for doing this is because I'm using shipstation and it doesnt export customer coupons. only customer comments.
EDIT:
Example.
They used the coupon 10OFF. it will be added to their order comment. if they added a comment of "Hi, please ship asap"
the coupon will be appended to their comment which will make their comment
"Hi, please ship asap - Coupon used 10OFF"
Would really appreciate if anyone could assist.
Thank you in advance
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
When a customer places an order. I wanted to append the coupon code they used to their comment.
Example.
They used the coupon 10OFF. it will be added to their order comment. if they added a comment of "Hi, please ship asap"
the coupon will be appended to their comment which will make their comment
"Hi, please ship asap - Coupon used 10OFF"
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
It's just an order comment, it's neither negative, nor positive.straightlight wrote: ↑Sun Feb 11, 2018 10:54 pmI would not suggest this strategy on attaching coupon codes since there would be no way on knowing if the provided comment is a positive / negative comment. It wouldn't make sense to attach a coupon code based on a negative / unrelated comment to the order before approving the order.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Please, stop shooting replies without even thinking before that. Read the description above, OP clearly stated what for he needs this. Nothing unrelated or unsecure, just coupon code from ALREADY APPLIED coupon is added to order comment as additional info for ANOTHER PLATFORM, which obviously has another structure.straightlight wrote: ↑Sun Feb 11, 2018 11:08 pmIf so, then anyone could just write anything unrelated and obtain his coupon code. A coupon code would normally be attached to an order for a specific purpose.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
That is, of course, your own version and your saying. Based on my last reply, I still don't suggest this solution to be used.Please, stop shooting replies without even thinking before that.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
A bit direct but also has its truth.paulfeakins wrote: ↑Mon Feb 12, 2018 7:07 pmBasically, post this in the Commercial Support forum and pay someone to do it.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Google [Bot] and 199 guests