Page 1 of 1

COUPON-CODES valid for a RANGE of codes

Posted: 24 Sep 2023, 14:00
by CRM-Hero
Hello Folks, hello Jan,

I just registered and I am keen on exchanging information and understanding/improving PhocaCart.
I have studied intensively the web and this forum but could not find solutions.
Several different issues are addressed and that is why I am opening different threads.

Phoca Cart: COUPON-CODES valid for a RANGE of codes
  1. with WildCards (*, ?) or otherwise to be valid for a wide range of Coupon-Codes
  2. I want to use this for an E-Mail Campaign (Outlook) with
  3. customer-specific Coupon-Codes ( Format: i.e. X347_customer-ID_Date )
  4. Coupon-code ( Format: X347 )
  5. How can I do this so that the Coupon-code is accepted/validation
  6. Maybe a little ovverride in the "Coupon.php" will do the trick so validation still works
    - If InStr(X347_customer-ID_Dat, X347) …
    - If Find(X347, X347_customer-ID_Dat) …
Thanks in advance
Roland

Current System:
Joomla 4.3.4
PhocaCart 4.0.8

Re: COUPON-CODES valid for a RANGE of codes

Posted: 24 Sep 2023, 14:22
by Benno
Hi,
Current System:
Joomla 4.3.4
PhocaCart 4.0.7
Why not current Phoca Cart Version v4.0.8? :idea:

Kind regards,
Benno

Re: COUPON-CODES valid for a RANGE of codes

Posted: 24 Sep 2023, 14:33
by CRM-Hero
done 👍
Benno wrote: 24 Sep 2023, 14:22 Hi,

Why not current Phoca Cart Version v4.0.8? :idea:

Kind regards,
Benno

Re: COUPON-CODES valid for a RANGE of codes

Posted: 26 Sep 2023, 23:46
by Jan
Hi,

a) there are no wildcards in coupon codes.
c) try to see: https://youtu.be/mmk8br2OhAs

Jan

Re: COUPON-CODES valid for a RANGE of codes

Posted: 28 Sep 2023, 11:17
by CRM-Hero
Hi Jan,

thanks. The gift-vouchers do not help in my case.

Do you think an override in the "coupon.php" (or similar) is possible. I have looked at the php-Code, but I need to learn more about php-programming.

Which relevant files do I have to change for my project (COUPON-CODES valid for a RANGE of codes) ?

Thanks & best regards
Roland
Jan wrote: 26 Sep 2023, 23:46 Hi,
a) there are no wildcards in coupon codes.
c) try to see: https://youtu.be/mmk8br2OhAs
Jan

Re: COUPON-CODES valid for a RANGE of codes

Posted: 28 Sep 2023, 12:57
by Jan
Hi, I didn't do such customization yet, so hard to say which all files should be customized :-(

Jan