Dimensions not utilized in Direct Invoice/Delivery
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 9 Nov 2012 23:29:12 +0000 (00:29 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 9 Nov 2012 23:29:12 +0000 (00:29 +0100)
sales/includes/cart_class.inc

index 40fb2a3f2fef9bf9798e92440b23cf2d76280467..6a014d5aba85425fbc9f5df77e3ef5b0461a165e 100644 (file)
@@ -253,6 +253,8 @@ class cart
                        $ref = $this->reference;
                        $date = $this->document_date;
                        $due_date = $this->due_date;
+                       $dimension_id = $this->dimension_id;
+                       $dimension2_id = $this->dimension2_id;
                        $this->trans_type = get_parent_type($this->trans_type);
 
                        $this->reference = 'auto'; 
@@ -263,6 +265,8 @@ class cart
                        $this->document_date = $date;
                        $this->reference = $ref;
                        $this->due_date = $due_date;
+                       $this->dimension_id = $dimension_id;
+                       $this->dimension2_id = $dimension2_id;
                }
                $this->reference = @html_entity_decode($this->reference, ENT_QUOTES);
                $this->Comments = @html_entity_decode($this->Comments, ENT_QUOTES);