Checkout summary / detail-standard -> payments ->getPrice = 0
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Checkout summary / detail-standard -> payments ->getPrice = 0
In the detail-standard partial in the checkout process (and earlier) there is a check, whether a payment service has a price value.
In my case this is always 0, even though I assign a value in the backend. That value, though, appears under
, never under value. Same thing is true for delivery.
Is there a specific reason, why this is happening? When is "value" used, when "costs" – what is their difference?
Thank you!!!
Code: Select all
<?php if( $service->getPrice()->getValue() > 0 ) : ?>
Code: Select all
price.costs
Is there a specific reason, why this is happening? When is "value" used, when "costs" – what is their difference?
Thank you!!!
Re: Checkout summary / detail-standard -> payments ->getPrice = 0
In older versions, it was possible to add the amount either as value or as costs in the admin backend. This isn't available any more but plugins and decorators can still add amouts both ways because price object have a value and a costs (e.g. shipping cost per product item) property. Nowadays, only the costs property is used for services but the template can still render values that have been added as price.value
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star