[DBTech] DragonByte eCommerce

[DBTech] DragonByte eCommerce 3.4.0

No permission to buy ($29.95)
Update highlights

!!!This version requires PHP 7.4+!!!


This version contains numerous quality-of-life updates, please see the changelog for the complete list.

In addition, a bug that inverted the check for the "Buy add-ons" button on a user's license list has been resolved. Whoops.

This version also refactors some backend code and fixes a compatibility issue with PHP 8.4.


Complete Change Log

Feature: Add WebP support to product icons
Feature: Add JPG/JPEG support to invoice icons
Feature: Changing the MaxMind GeoIP license key will now immediately trigger a background update
Feature: Add version number to product overview page where applicable
Feature: License prefix can now be auto-assigned on product creation
Feature: More prominent "Your licenses" button on the product wrapper
Change: Any validation errors when creating or replying to a product update thread will now be logged in the XenForo error log
Change: Product wrapper now uses icons for Join Discussion and Get Support buttons
Change: Reduced template duplication for the product wrapper sidebar
Change: Better dynamic redirects when removing items from cart via the navbar menu
Change: Always show license key in the license drop-downs
Change: Add option to only fetch purchasable licenses to License repo function
Change: Remove user reference from certain navigation links that don't need it
Change: Refactored backend code
Change: Bump minimum PHP version to 7.4 and recommended version to 8.2
Change: Update dependencies to the latest version(s)
Fix: Fix MySQL errors when unsubscribing from Watched emails
Fix: Fix inverted check for the "Buy add-ons" button in the license list
Fix: Eliminate a couple of queries on product overview page
Fix: Fix PHP 8.4 compatibility issue
  • Like
Reactions: Xon
Update highlights

This version adds support for obtaining cookie consent for 3rd party payment profiles, as well as standardising the way payment profiles are loaded to match the XenForo default code.

Lastly, an issue with the new shipping formula variable (previously hotfixed into v3.3.2) has now been permanently resolved.


Complete Change Log

Feature: Add support for cookie consent for payment profiles
Change: Standardise payment profile display in the front-end to match XF's Account Upgrades
Fix: Fix errors with the new shipping formula variable
Update highlights

This version resolves an oversight with the Shipping Method formula; previously, q referred to the number of items being shipped, not the quantity. For instance, if you had 100 of Product A and 1 of Product B, q = 2.

In this version, q = 101.

If you would like to keep using the previous functionality, a new token t has been introduced that behaves like before.

Please check your shipping formula after updating if this applies to you.


Complete Change Log

Change: Fixed calculation of q and added t in Shipping Method formulae
Fix: Fix potential server error when checking if shipping method is applicable to any given order
  • Like
Reactions: Chernabog
Update highlights

This version aims to improve upon and fix some issues with the new Order Creation feature in v3.3.0. You can now more easily delete orders in the AdminCP via some new Delete buttons. Furthermore, you now receive more feedback about invalid orders as opposed to just having them silently disappear.

Lastly, a server error with the "What's new" navigation entry has been resolved.


Complete Change Log

Change: "Delete order" buttons now appear on order view / order edit where appropriate
Fix: Fix AdminCP created orders being silently deleted with no user feedback
Fix: Fix potential server error with the "What's new" navigation entry
  • Love
Reactions: Chernabog
Update highlights

This version is a large upgrade with multiple new features and changes, many of which were requested by our community 🎉

The biggest new feature is Order generation / edit in the AdminCP. You're now able to edit Pending orders and add products to a user's cart, change pricing tiers and licenses for digital products' renewal orders. You can also generate a new order either manually or by adding all non-Lifetime licenses to a user's cart, or only add already expired licenses to their cart. You no longer have to ask users "could you please add these products to cart and then I'll add a coupon"!

The user experience (UX) for purchasing has also been improved in a number of ways. Firstly, there's now a "Checkout" button in the purchase overlay, which means fewer clicks if your customers are only interested in purchasing a single product. Secondly, sale information is now also shown on the product overview page, with both the "Sale" banner and the green pricing colour in the Pricing Information box. Lastly, the checkout page has received some back-end changes to ensure required license fields are saved whenever any action is taken; customers no longer need to manually save only those fields before they can do anything else.

Other than that, minor features, changes and features have been added to improve the overall experience. Please see the changelog for the full list of changes.


Complete Change Log

Feature: Edit existing pending orders in the AdminCP
Feature: Order generation in the AdminCP
Feature: Pagination in front-end license list
Feature: Add "Checkout" button to Purchase overlay
Feature: Improved checkout flow to reduce friction when filling out custom checkout fields
Feature: Digital products can now have an optional "title" to be displayed instead of the license length
Feature: Also show sale price / sale banner on product overview
Feature: Ability to delete orders "Awaiting payment" older than a certain threshold
Change: Reassigning a license will now also transfer temporary user group changes, if any
Change: Add custom "Your account" phrase
Change: "Your licenses" links will no longer show if the user does not own any licenses
Change: Replace hasOption with callable
Change: Reduce number of queries ran on the license list
Fix: "Renewal cost from x" tooltip will no longer show for products without license functionality
Fix: Fix server error when attempting to purchase a product already owned via All-Access Pass
Fix: Fix server error when trying to perform inline moderation on products in the front-end
Fix: Fix server error with certain background tasks
Update highlights

This version addresses a shortcoming in the User Criteria integration, where it was only possible to check for orders that were "Awaiting payment" but not "Pending. The difference is; an order "Awaiting payment" is where the payment process started but was aborted, whereas a "Pending" order did not even start the payment process.


Complete Change Log

Feature: New criteria: "User has one or more pending orders"
Change: Update composer packages
  • Like
Reactions: BassMan
Update highlights

This version contains numerous fixes and improvements, most of which were contributed by @Xon.

The AdminCP product filter has been improved to use AJAX rather than simply filtering the current page, which should make finding the product you're looking for much easier.

A few issues with search indexing have been resolved, which should lead to more reliable search results for products.

The "Permanent additional user groups" setting for a product did not apply when a license was manually applied in the AdminCP.

Lastly, certain payment processors would cause a server error if a valid transaction ID was not found.


Complete Change Log

Feature: Filtering the AdminCP product list uses AJAX and not just filters the single page
Change: Index the tagline into the message body
Fix: Fix an issue where a server error could occur with certain payment processors
Fix: Fix error blocking creation of new products
Fix: changing the title didn't cause the search index to be updated
Fix: "Permanent additional user groups" for a product was not applied when a license is granted via the AdminCP
Update highlights

A change in the UK tax office's API broke VAT ID validation for UK VAT numbers.


Complete Change Log

Fix: Account for changed API in the UK VAT validation process
Update highlights

This version adds a new feature; Product Welcome Emails. When someone purchases a product or renews a license, they're sent a welcome email, if one is configured for that product. Welcome emails are defined per product and can use either HTML or plain text.

Also changed is better support for VAT number validation for United Kingdom VAT IDs.

Lastly, a server error that could occur with guest checkouts has been corrected.


Complete Change Log

Feature: Product welcome email, sent to users when they purchase a product / renew a license
Change: The product list API now returns LatestVersion info
Change: Change UTF-8 related functions
Change: Product list filter in the AdminCP now only filters the current page
Change: Implemented alternative VAT number validation for UK/GB VAT numbers
Fix: Fix an error that can occur with guest checkouts
Update highlights

This version reverts the ability to use SVG icons for invoice icons, as SVG icons are not compatible with PDF generation libraries being used.

Furthermore, a couple bugs reported since v3.0.0 was released have been resolved.


Complete Change Log

Revert: SVGs are no longer available as invoice icons, as this feature doesn't work with all invoice types
Fix: Fix CSRF error when approving products via the action bar
Fix: Public facing Income Stats for commissioned users would produce a server error
Top Bottom