COUPON-CODES valid for a RANGE of codes

Phoca Cart - complex e-commerce extension
User avatar
CRM-Hero
Phoca Member
Phoca Member
Posts: 31
Joined: 24 Sep 2023, 12:11

COUPON-CODES valid for a RANGE of codes

Post 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
Last edited by CRM-Hero on 24 Sep 2023, 14:30, edited 1 time in total.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: COUPON-CODES valid for a RANGE of codes

Post 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
User avatar
CRM-Hero
Phoca Member
Phoca Member
Posts: 31
Joined: 24 Sep 2023, 12:11

Re: COUPON-CODES valid for a RANGE of codes

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: COUPON-CODES valid for a RANGE of codes

Post by Jan »

Hi,

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

Jan
If you find Phoca extensions useful, please support the project
User avatar
CRM-Hero
Phoca Member
Phoca Member
Posts: 31
Joined: 24 Sep 2023, 12:11

Re: COUPON-CODES valid for a RANGE of codes

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: COUPON-CODES valid for a RANGE of codes

Post by Jan »

Hi, I didn't do such customization yet, so hard to say which all files should be customized :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply