I 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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

I 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.

If 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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

If 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.

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.

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

Basically, post this in the Commercial Support forum and pay someone to do it.

A bit direct but also has its truth.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.