Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 82034151

Von Werner Hahn vor mehr als 3 Jahren hinzugefügt

  • ID 82034151ec366dadc859bb418bdfa41e780ca62b
  • Vorgänger 8186ccfa
  • Nachfolger 53f7b408

Shop: Standartartikelnr für Versandartikel

Unterschiede anzeigen:

SL/ShopConnector/Shopware.pm
151 151
  }
152 152
  $shop_order->positions($position-1);
153 153

  
154
  if ( $self->config->shipping_costs_parts_id ) {
155
    my $shipping_part = SL::DB::Part->find_by( id => $self->config->shipping_costs_parts_id);
156
    my %shipping_pos = ( description    => $import->{data}->{dispatch}->{name},
157
                         partnumber     => $shipping_part->partnumber,
158
                         price          => $import->{data}->{invoiceShipping},
159
                         quantity       => 1,
160
                         position       => $position,
161
                         shop_trans_id  => 0,
162
                         shop_order_id  => $id,
163
                       );
164
    my $shipping_pos_insert = SL::DB::ShopOrderItem->new(%shipping_pos);
165
    $shipping_pos_insert->save;
166
  }
167

  
154 168
  my $customer = $shop_order->get_customer;
155 169

  
156 170
  if(ref($customer)){
templates/webpages/shops/form.html
73 73
  </tr>
74 74
  <tr>
75 75
    <th align="right">[% 'Default part for shipping costs' | $T8 %]</th>
76
    <td>[%- P.part.picker('shop.shipping_costs_parts_id', 'SELF.shop.shipping_costs_parts_id', style="width: 300px") %]</td>
76
    <td>[%- P.part.picker('shop.shipping_costs_parts_id', SELF.shop.shipping_costs_parts_id, style="width: 300px") %]</td>
77 77
  </tr>
78 78
  <tr>
79 79
    <th align="right">[% 'Obsolete' | $T8 %]</th>

Auch abrufbar als: Unified diff