Skip to content

FO: Fix empty template var on json_encode#1

Open
lbanchio wants to merge 42 commits into
developfrom
lbanchio-patch-1-1
Open

FO: Fix empty template var on json_encode#1
lbanchio wants to merge 42 commits into
developfrom
lbanchio-patch-1-1

Conversation

@lbanchio
Copy link
Copy Markdown
Owner

@lbanchio lbanchio commented Feb 4, 2017

Questions Answers
Branch? develop
Description? This patch fix empty templates variables when they are encoded in non utf-8
Type bug fix
Category FO
BC breaks no
Deprecations no
How to test? Test with non utf-8 characters strings

AntoineMille and others added 30 commits February 2, 2017 16:34
…artId-method

Deprecate getOrderByCartId method, add alternative
(cherry picked from commit 22d299e)
Add manufacturer name in cart products
Calculate the carrier price with the REAL price customer is gonna pay, so have to use the BOTH_WITHOUT_SHIPPING const.

By now the Discount is not use in the calculation.
For exemple if you have a specific carrier price range for order > 50€ => free shipping. If the customer buy an 60€ item and use a -20% discount, customer gonna pay 48€ AND have the free shipping.

I think it's not the expected functionment
Calculate carrier price on the real order price
This modification allows to give priority to the specificPrices with a specific id_cart.

With this modification for example if a product is affected by two discounts, and one has the id_cart 0 and the orher the id_cart 3556, the second one will have more priority because it's more focused in this specific cart

(cherry picked from commit 4312b61)
Improvement in SpecificPrice::getSpecificPrice
Update comment for jQuery migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.