Forum Replies Created
Could you please point me to where / how I can tell eStore to send the notification to my licence generation script?
Is it a setting in the Admin panel or where would I need to add some code?
Thanks for your help!
if ($_SESSION['discount_applied_once'] != 1)before applying the discount code. Seems to resolve the issue.
Thanks, that works great!
However, when the customer clicks on the checkout page again, I get the ESTORE_DISCOUNT_LIMIT. Makes sense, since the coupon can only be applied once. How can I check in PHP if a coupon code has been applied or reset the coupon code?
I just couldn’t find a reference of available eStore functions, great if you can point me to it (similar to your eStore shortcodes).
Thanks a lot! That resolved it.
I’m using eStore version 220.127.116.11.
Additional question: How can I add line breaks in the body?
Example email test strings in languages/ger.php:
[admin removed characters]
How would I be able to fix that for the email? I seem to have a similar issue. Referring to email being sent for free download but I guess it applies to all emails (which I haven’t tested yet).
I hope you can help me out with this one.
More of a hack I suppose but one possible starting point I found is to manipulate the current language in wp_eStore1.php, line 35:
$cart_language = get_option('eStore_cart_language');
It wouldn’t cover product description etc as I understand though. Any thoughts?
Thanks for the pointer. Could you give a hint on where to access the i18n? I mean, is there a hook, action, filter that I can use as a starting point?
I suspect there is some coding needed which is fine but I’m struggling to find the entry point for eStore.