Needs review
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2020 at 03:19 UTC
Updated:
4 May 2020 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
subhojit777Thank you. I have added some suggestions:
Use
@var float|nullUpdate this, so that
#checkout_urlis added only ifcartproperty is not null.`#quantity_added` should be added only if `quantity` property is not null.
Use
{% trans %}{{ quantity_added }} items added to your cart{% endtrans %}for better translation supportComment #3
subhojit777Use
@var \Drupal\commerce_order\Entity\OrderInterface|nullComment #4
derekcresswell commentedHere you are
Comment #5
derekcresswell commentedApologies, I must not be choosing the right test version.