Loading

Author Topic: [New Plugin] Promotion codes  (Read 4100 times)

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
[New Plugin] Promotion codes
« on: July 26, 2011, 12:05:37 am »
Hi
**Update 1-25-12
Fixed bug with user menu not showing up. In newer versions of osclass.
**Update 8-2-11
Fixed bug now allowing admin to change signup bonus value.

**Update 8-1-11
Error fixed in sql so now tables should be add correctly
fixed bug that allowed one user to use the promo code more then once
.
**Update 7-29-11
Keny brought to my attention a minor bug in the manage promo codes that has been fixed in this updated version. I found a small error with the log page that I fixed so this updated version will require you to uninstall and reinstall the plugin.

**Update 7-29-11

I am releasing the promo codes plugin today. Please note that for this plugin to work you need to have the paypal plugin installed. Feel free to leave feedback and suggestions for future versions and please let me know if you found a bug as this is just the first version there may be some bugs that I have not found.

Jay







More sneak peek pictures






*** Update

Hi Guys and Gals

I wanted to give you an update if everything goes as planned I should be releasing the plugin Friday. There are just a few bits of code left to do. So get ready for an awesome plugin.

Jay

« Last Edit: January 25, 2012, 06:22:20 pm by trains58554 »

usclassifieds.org

  • Full Member
  • ***
  • Posts: 243
    • Email
Re: [Plugin Sneak Peak] Promotion codes
« Reply #1 on: July 26, 2011, 02:38:10 am »
wow, that looks great... i cant wait :)
www.usclassifieds.org -Your Ultimate Source of Online Classified Ads!

keny

  • Full Member
  • ***
  • Posts: 135
    • Proodi
Re: [Plugin Sneak Peak] Promotion codes
« Reply #2 on: July 26, 2011, 04:54:52 pm »
Great pluggin !!
You can download my OsClass pluggin here : https://github.com/keny10/My-Osclass-pluggin switch branch to download pluggin you need

search video
annonce classée

Juan Ramón

  • OSClass Developer
  • Hero Member
  • *****
  • Posts: 2243
    • osclass.org
    • Email
Re: [Plugin Sneak Peak] Promotion codes
« Reply #3 on: July 26, 2011, 08:42:55 pm »
How do you create the promotional codes form? Do you set a number of promotional codes?

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [Plugin Sneak Peak] Promotion codes
« Reply #4 on: July 26, 2011, 09:44:35 pm »
How do you create the promotional codes form?
Are you asking how I create the code? If so I am planning to allow the admin to create the code or randomly generate the code

Do you set a number of promotional codes?
There will be as many promotional codes as the admin wants to create they can also specify how many uses a code can be used.

Jay

Juan Ramón

  • OSClass Developer
  • Hero Member
  • *****
  • Posts: 2243
    • osclass.org
    • Email
Re: [Plugin Sneak Peak] Promotion codes
« Reply #5 on: July 27, 2011, 01:42:53 pm »
How do you create the promotional codes form?
Are you asking how I create the code? If so I am planning to allow the admin to create the code or randomly generate the code

Do you set a number of promotional codes?
There will be as many promotional codes as the admin wants to create they can also specify how many uses a code can be used.

Jay

Great! I can't wait to try the plugin

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [Plugin Sneak Peak] Promotion codes
« Reply #6 on: July 27, 2011, 02:27:10 pm »
hi Juan

It won't be long I am almost done just need to add an option for the admin to edit and delete the promo codes. Then it should be ready for testing.

Jay

usclassifieds.org

  • Full Member
  • ***
  • Posts: 243
    • Email
Re: [Plugin Sneak Peak] Promotion codes
« Reply #7 on: July 27, 2011, 03:52:57 pm »
Hey, will the user only be able to enter a promo code when checking out or whenever he/she wants because if you make a promo code unlimited then the user will just keep on using it getting tons of free credits which wouldn't be good business?
www.usclassifieds.org -Your Ultimate Source of Online Classified Ads!

Juan Ramón

  • OSClass Developer
  • Hero Member
  • *****
  • Posts: 2243
    • osclass.org
    • Email
Re: [Plugin Sneak Peak] Promotion codes
« Reply #8 on: July 27, 2011, 04:47:13 pm »
I understand that the promo code get expired once it's used, am I right?

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [Plugin Sneak Peak] Promotion codes
« Reply #9 on: July 27, 2011, 06:30:19 pm »
Hi usclassifieds.org, Juan
Hey, will the user only be able to enter a promo code when checking out or whenever he/she wants because if you make a promo code unlimited then the user will just keep on using it getting tons of free credits which wouldn't be good business?
A user will be able to enter a code whenever they want. What I meant by unlimited is that that code never expires but say user A can only use that code once all promo codes are a onetime use to every user. So lets say instead of unlimited you put in 5 uses so user A uses the code then user B, C, D, and E. Then when user F comes and tries the code he gets a message this code is no longer valid.

I understand that the promo code get expired once it's used, am I right?
Yep the promo code gets expired for the user that uses the code but if there are still uses the other users can use that code.

usclassifieds.org

  • Full Member
  • ***
  • Posts: 243
    • Email
Re: [Plugin Sneak Peak] Promotion codes
« Reply #10 on: July 27, 2011, 06:35:06 pm »
oh, okay sounds good
www.usclassifieds.org -Your Ultimate Source of Online Classified Ads!

keny

  • Full Member
  • ***
  • Posts: 135
    • Proodi
Re: [Plugin Sneak Peak] Promotion codes
« Reply #11 on: July 27, 2011, 09:50:46 pm »
Jay if you want in future release you can add condition to coupon code

exemple :
code is only valid for this user or a group of user
code is only valid until this date
code is only valid if a user have already buy a pack before (don'y know if this is possible we have to check if paypal pluggin keep all transaction in back office)
ect ...

I know is alot of code to do so that why i suggest you in future release.

I should be back to OSClass coding and translating next week i have to finished a project now
You can download my OsClass pluggin here : https://github.com/keny10/My-Osclass-pluggin switch branch to download pluggin you need

search video
annonce classée

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [Plugin Sneak Peak] Promotion codes
« Reply #12 on: July 27, 2011, 11:46:35 pm »
Jay if you want in future release you can add condition to coupon code

exemple :
code is only valid for this user or a group of user
Thats a great idea but I think this will be in a later version.

code is only valid until this date
I have thought about that and I may still release that in this version I have not decided yet.

code is only valid if a user have already buy a pack before (don'y know if this is possible we have to check if paypal pluggin keep all transaction in back office)
ect ...
I have not thought about doing something like that I think it should be doable just have to check if the users id exists in the paypal wallet table. This may make it in the first release if not in the next version.

I know is alot of code to do so that why i suggest you in future release.

I should be back to OSClass coding and translating next week i have to finished a project now

Keny Thanks for the suggestions and ideas.

Jay

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1817
  • The Ghostbuster
Re: [New Plugin] Promotion codes
« Reply #13 on: July 29, 2011, 08:24:44 pm »
Hi all

Promo codes plugin is now released you can download the zip in the first post.


keny

  • Full Member
  • ***
  • Posts: 135
    • Proodi
Re: [New Plugin] Promotion codes
« Reply #14 on: July 30, 2011, 08:26:24 am »
Hi Jay,

I have take 5 min to test your pluggin and i just have to say : congradulation !

Anyway i found a very minor bug :

In admin if we set a value for number of use for a code and the code is all use the colum use left show unlimited in place of 0 or none.
This is because in your code you take value 0 to be unlimited so i suggest you to add a new value in the db and set this value true or false for unlimited.

But again very usefull pluggin !
You can download my OsClass pluggin here : https://github.com/keny10/My-Osclass-pluggin switch branch to download pluggin you need

search video
annonce classée