Jump to content

IC5: Commerce

One of the areas we have reviewed in Commerce is the way that we handle custom items. Previously, many of our features were limited to Commerce Products. Even items such as Subscriptions and Download Files were not fully integrated. In Invision Community 5, we have looked at ways to improve the overall experience.

 

Icons and Images

A small, but important change: displaying the item icon when an image is not available. In previous versions, if no image was available, the checkout and client area displayed a standard "box" icon for all items. In IC5, we now show the icon defined in your Item extension.

Could contain: Page, Text

 

Product Details

Line item details are displayed on the checkout screens, as well as on the Invoice. However, this functionality was restricted to custom package fields, which are only available for Commerce Products. This logic has been moved to a new extension method, detailsForDisplay.

Could contain: Page, Text

 

Coupons

A very popular request is to create coupons for specific items that are not Commerce Products. Previously, coupons could either be applied to the entire purchase or to specific packages. We have added the following methods to the Item extensions to allow you to integrate your items with the coupon form.

  • couponFormElements
    Returns an array of elements that will be shown on the coupon form. If no elements are returned, your item will not be listed.
  • saveCouponForm
    Process the values of the fields defined in your couponFormElements method. This method returns an array of data that will be stored with the coupon.
  • isCouponValid
    Check if the coupon is valid for this item.

New default coupon form:

Could contain: Page, Text, File, Webpage

 

 

Autopay

When Commerce generates renewal invoices, we attempt to take a payment if a user has a card on file. We have moved this functionality to \IPS\nexus\Gateway::autopay(). Your gateway must also have the SUPPORTS_AUTOPAY constant set to true in order for this to work.

With the new logic, when a renewal invoice is generated, the task will loop through all available methods. If autopay is supported, it will attempt to take payment using that payment method.

Could contain: Page, Text

 

We've tried to include the most popular requests that we've seen for custom items and payments. What do you think? Have we missed anything? What are some of the requests you've received for custom item integration?

Comments

Recommended Comments



On 3/22/2024 at 10:47 PM, Feneroin said:

No, because at the moment i haven't an active license. I was waiting this 'Early 2024' for renewing my license but ...

I have copied it below for you 🙂 
 

Quote

Our timeline is more likely to be something like:
Early April - open up a hosted version for a focus group
Mid-late April - open up a hosted version for all
Beta after that.

Our original estimate for v5's release was late January, but we wanted to add in a few more features (news coming soon) and work on some of the infrastructure to better support some of the new functionality coming to v5. More recently, we've made the decision to switch out CKEditor 5 which was already built for another editor which is much cleaner and leaner but requires more scaffold. That's pretty much why we're not pressing ahead with alpha/beta testing right now.

 

Link to comment
Share on other sites

1 hour ago, Marc Stridgen said:

I have copied it below for you 🙂 
 

 

Thanks Marc. I'll move to another (better, fastest) server in one week , then i'll renew my license. I hope we can see final version before end of summer holiday season, so we can occupied with it...

Edited by Feneroin
Link to comment
Share on other sites

2 hours ago, Marc Stridgen said:

More recently, we've made the decision to switch out CKEditor 5 which was already built for another editor which is much cleaner and leaner but requires more scaffold.

Hi @Marc Stridgen,

Does that mean that you are no longer going with CKEditor5? Any news on which version of Font Awesome?

Thank you.

Link to comment
Share on other sites



×
×
  • Create New...