Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17818

shop/confirmorder calculates incorectly delivery price.

    XMLWordPrintable

Details

    Description

      I have very simple shipping handler, which returns:

        return 
      		array(
      			'description' => "Delivery (VAT:21%)",
      			'cost' => 9,
      			'is_vat_inc' => 0,
      			'vat_value' => 21,
      			'management_link' => ''
      			);
      

      Which gives in template following:

      Attribute 	Type 	Value
      id 	string 	XXXXXX
      order_id 	string 	XXXXXX
      description 	string 	Delivery (VAT:21%)'
      price 	string 	9
      vat_value 	string 	0
      is_vat_inc 	string 	0
      type 	string 	'ezcustomshipping'
      price_inc_vat 	integer 	9
      price_ex_vat 	string 	9
      

      It mean, that shop module ignores that delivery price is without VAT. And delivery price is added as it is to total price with VAT and without vat.

      It is total mess, becaus in previous page (shop/basked) was added (bug too) to both sums but with VAT.

      It looks comletely stupid: it shows in basket an incorrect sum in vat field, and after clicking on "checkout" , users get another sums, and again incorect.

      Have ever someone tested this shop module? Or it is unusable for real shop?
      This behaviou

      Attachments

        Activity

          People

            unknown unknown
            vytis vytis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: