This is a discussion on changes with gift voucher within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; hola! i have gift voucher discount of 10$. i want to remove it, and give an overall 10% discount on ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hola! i have gift voucher discount of 10$. i want to remove it, and give an overall 10% discount on the whole shop. (or if easier, change the gv to 10%) help appreciated, thanks. |
|
#2
| |||
| |||
| altenter, Please, like the rest of us have had to, search through the forum before you post, many of the answers are there. The answer to yours is here http://oscdox.com/index.php?name=PNp...t=gift+voucher
__________________ Google says be nice! |
|
#3
| |||
| |||
| i have searched endlessly, but apparently not enough thanks battleaxe for the link, but it is not clear in that post (or maybe its me overlooking everything) but to change the $ into % in includes/add_ccgvdc_application_top.php doesnt seem to work. i still get the 10$ voucher emailed after registering.... |
|
#4
| ||||
| ||||
| In add_ccgvdc_application_top.php: Quote:
ZERO - IS NO signup bouns A NEGATIVE -is a % off define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '10'); $10 off next purchase. define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '0'); Nothing is generated/sent define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '-10'); -10% (10% off) next purchase. Good Luck! |
|
#5
| |||
| |||
| jpf, thanks for clarifying, but still, as soon as a put a "-" like: define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '-10'); i recieve no gift voucher upon registering other settings seem correct: Quote:
|
|
#6
| ||||
| ||||
| EDIT : create_account.php on about line 247 // ICW - CREDIT CLASS CODE BLOCK ADDED ************************************************** ***** BEGIN if (NEW_SIGNUP_GIFT_VOUCHER_AMOUNT > 0) { $coupon_code = create_coupon_code(); $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; CHANGE TO: // ICW - CREDIT CLASS CODE BLOCK ADDED ************************************************** ***** BEGIN if (NEW_SIGNUP_GIFT_VOUCHER_AMOUNT <> 0) { $coupon_code = create_coupon_code(); I think..... Good Luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#7
| |||
| |||
| thanks jpf for your time, ok, now the gv is sent, but with a -10$ as amount, and doesnt count it in the total. im almost there, i can smell it |
|
#8
| |||
| |||
| jpf? anyone? |
|
#9
| |||
| |||
| not a lot of help but -10 works for me, as does 10 and as does 0 what version are you running? want to paste the whole file? |
|
#10
| |||
| |||
| running ms2max1.55 here's my add_ccgvdc_application_top.php: Quote:
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gift Voucher Questions | alexbranding | osCMax v1.7 Discussion | 1 | 04-11-2005 11:18 AM |
| Gift Voucher checkout | harpon | osCMax v1.7 General Mods Discussion | 2 | 07-30-2004 11:00 AM |
| Creating a Gift Voucher | Anonymous | osCMax v1.7 Discussion | 1 | 06-14-2004 05:55 AM |
| Updated Gift Voucher mod? | DaisyO75 | osCMax v1.7 General Mods Discussion | 1 | 02-17-2004 06:44 AM |
| Gift Voucher texts | Lynoure | osCMax v1.7 General Mods Discussion | 2 | 11-21-2003 08:43 AM |