Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b1a92c56

Von Werner Hahn vor mehr als 3 Jahren hinzugefügt

  • ID b1a92c5647cfba337902208c097a2273233197f2
  • Vorgänger b9aaed24
  • Nachfolger 84176299

Webshop Order Zahlungsbedingen mit übergeben

Unterschiede anzeigen:

SL/DB/ShopOrder.pm
intnotes => $customer->notes,
salesman_id => $employee->id,
taxincluded => $self->tax_included,
payment_id => $customer->payment_id,
payment_id => $self->payment_id,
taxzone_id => $customer->taxzone_id,
currency_id => $customer->currency_id,
transaction_description => $shop->transaction_description,
SL/ShopConnector/WooCommerce.pm
} else {
$d_street = $import->{billing}->{address_1} . ($import->{billing}->{address_2} ? " " . $import->{billing}->{address_2} : "");
}
# Mapping Zahlungsmethoden muss an Firmenkonfiguration angepasst werden
my %payment_ids_methods = (
'paypal' => 2489,
'german_market_purchase_on_account' => 2487,
);
my %columns = (
#billing Shop can have different billing addresses, and may have 1 customer_address
billing_firstname => $import->{billing}->{first_name},
......
#prices_include_tax
tax_included => $tax_included,
#payment_method
# ??? payment_id => $import->{payment_method},
payment_id => $payment_ids_methods{$import->{payment_method}} || 2487,
#payment_method_title
payment_description => $import->{payment}->{payment_method_title},
payment_description => $import->{payment_method_title},
#transaction_id
shop_trans_id => $import->{id},
#date_paid
templates/webpages/shop_order/show.html
<tr><td><b>[% 'Shop Ordernotes' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.shop_customer_comment) %]</td></tr>
<tr><td><b>[% 'Shop Orderamount' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.amount_as_number) %]</td></tr>
<tr><td><b>[% 'Shipping costs' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.shipping_costs_as_number) %]</td></tr>
<tr><td><b>[% 'Payment description' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.payment_description) %]</td></tr>
</table>
</td>
<td style="padding-left: 20px; vertical-align: top;">

Auch abrufbar als: Unified diff