Skip to content

subtotal price is not correctly calculated??? #260

@sinianzhang

Description

@sinianzhang

I noticed that "shipping/item - price" each Product is excluded in "$basket->getCosts( 'delivery' )", this price is to be got via "$product->getPrice()->getCosts()" namlich it is treaed as a extra cost added into product price.

If i am not wrong, In this context I would like to say, the subtotal price is not correct. (e.g in template: templates/client/html/common/summary/detail.php)
$this->summaryBasket->getPrice()->getValue()

The subtotal price shoube be calculated like this:
$this->summaryBasket->getPrice()->getValue() + $this->summaryBasket->getPrice()->getCosts() - $this->summaryBasket->getCosts( 'delivery' ) - $this->summaryBasket->getCosts( 'payment' )

Could you confirm and reproduce the error? Thanks!!!

TYPO3 Version: 13.4.25
aimeos Version: 25.10.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions