Skip to content

Releases: lukepolo/laracart

[BREAKING CHANGES] New Money Formatter + 7.4 Support

01 May 15:33
450b5fa
Compare
Choose a tag to compare

This should solve PHP7.4 depreciating of money_fomrat. Also it should solve windows not being able to use LaraCart at all.

BREAKING CHANGES

International Formatting

International formatting has been replaced with currency code in the config.

    /*
    |--------------------------------------------------------------------------
    | The currency code changes how you see the actual amounts.
    |--------------------------------------------------------------------------
    | This is the list of all valid currency codes
    | https://www2.1010data.com/documentationcenter/prod/1010dataReferenceManual/DataTypesAndFormats/currencyUnitCodes.html
    |
    */
    'currency_code' => 'USD',

The Format Money Function

formatMoney signature has changed

public static function formatMoney($number, $locale = null, $internationalFormat = false, $format = true)
public static function formatMoney($number, $locale = null, $currencyCode = null, $format = true)

So please look through your code and replace anytime that you are using the $internationalFormat.

Multi Qty Items Discounts Fixed

03 Apr 23:06
696de54
Compare
Choose a tag to compare

We have fixed an issue where you would have a multi qty item and the discount would not be applied to that item itself.

#265

Support for Laravel 7

06 Mar 16:16
Compare
Choose a tag to compare
1.9.0

We only support php 7.2 / 7.3

1.8.4

30 Jan 20:01
Compare
Choose a tag to compare
fixed item with sub qty of 0

Laravel 6 Compatibility

06 Sep 13:40
Compare
Choose a tag to compare
1.8.1

Laravel 6 remove helpers + style fixes (#258)

Laravel 6.0

05 Sep 13:12
Compare
Choose a tag to compare
support laravel 6 (#257)

Thanks

Laravel 5.8

25 Mar 15:38
Compare
Choose a tag to compare

We are dropping support for anything lower than Laravel 5.5.

Coupon Fixes when involving fees

15 Jan 20:58
Compare
Choose a tag to compare

We discovered a few coupon bugs that would rarely cause issues if you are using fees. Otherwise your unaffected.

Bugfix for percentage coupon on item

29 Oct 17:06
Compare
Choose a tag to compare
Bugfix for percentage coupon on item (#246)

* Bugfix for percentage coupon on item

Make events only fire once

25 Oct 15:41
Compare
Choose a tag to compare
Apply fixes from StyleCI

[ci skip] [skip ci]