Jump to content
thirty bees forum

the.rampage.rado

Silver member
  • Posts

    1,194
  • Joined

  • Last visited

  • Days Won

    104

Posts posted by the.rampage.rado

  1. Thank you for looking into that!

    I'm not even sure if I can process card payment and not apply VAT currently as here we are obliged to issue a fiscal receipt and my machine is not configured to issue 0% VAT.

    What about if we limit the vouchers to the country of purchase - we detect the invoice country and pass this information on the voucher creation logic. Not that it solves anything else other than the possible difference in VATs.

    When I purchase a voucher in Bulgaria they issue me with receipt as a normal purchase and apply VAT at this moment. I'll have to look into that.

  2. Here is a tiny module that is s till in alpha stage so please test and use with care.

    You want to offer virtual gift vouchers to your customers? OK then!
     
    Virtual Vouchers Generator

    How to use this module:
    1. Create your voucher products - set those as Virtual so they don't incur delivery if ordered alone. The value of those products will be picked as voucher value. If multiple products are ordered at once the value will be combined into one voucher.
    2. Specify the Product IDs for those products in Virtual Voucher Product IDs.
    3. Specify the proper statuses when the virtual voucher order is considered paid in Paid Order States (IDs).
    4. Configure the rest of the options to your liking.
    5. Copy the cron URL and run it at proper intervals (recommended 5-10 mins).

    Configuration page:
    image.thumb.png.eb6c635e0d20595e9e90d1e41d17652c.png


    Email sent after order validated as paid:
    image.png.14a0293d6f3e11db55669ef2f5855491.png

    Check voucher page (in Niara - adjust module css to your liking!):
    image.png.f8782b66773aacd27a50602068fccb1b.png

    As I'm still learning, so please keep in mind this module could (and most probably will) have some bugs. And still the lookback logic for validating the orders is not so cleared out. If in future somebody want to take over development would be more than happy.

    Changelog:

    • 0.7.3 alpha (12/1/2024) - Fixed bugs with translation strings, new email template (single column, mobile-friendly), fixed bug with cron link not including https.
    • 0.7.2 alpha - Minor bugfixes with multistore reCAPTCHA settings, voucher check page, and controller name.
    • 0.7.1 alpha - Introduction of 'Check voucher' page where the customer can see how much funds are left into their multi-use voucher. Integrated with Thirty Bees' reCAPTCHA module (if it's installed, enabled, and configured the reCAPTCHA will be shown here too) - the customer has to enter the validity date of the voucher as a safety measure. The page's friendly URL should be configured in SEO & URLs (or if you don't use SEO URLs, access from here: /index.php?fc=module&module=tbvirtualvouchers&controller=vouchercheck).
    • 0.7.0 alpha - Option to limit the voucher country based on where it was ordered (from invoice address), email tweaks and fixes, new logo with attribution.
    • 0.6.0 alpha - New email template, Bulgarian email language.
    • 0.5.0 alpha - Initial release.
       
    • image.thumb.png.e9e8fc54fae4d9e8d765f41234341724.png

    To do:

    • further voucher settings
    • add T&C section to configuration so those are attached to the email.
    • pass conditional information to email for country restriction (if available).
    • introduce changelog in the module.

     

     

     

     

     

    tbvirtualvouchers-0.7.2.zip

    tbvirtualvouchers-0.7.3.zip

    • Like 2
    • Thanks 1
  3. Do you have some custom js code?

    The issue is not only on mobile browsers but if you click on mobile view in your desktop browser too. So something is acting funny. In my test instance I just switched to Niara and I'm able to add to cart from this list.

    You also have 2 console errors - piwik is failing to load - temporarily disable it (very little chance it is causing the issue) and one more error with front.js that I'm unable to figure out.

×
×
  • Create New...