Modify ↓
#1420 closed Bug/Fehler (fixed)
Anzeige der AGB auf checkout_confirmation gebunden an "Anzeige Widerrufsrecht?"
| Reported by: | Torsten Riemer | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.5.0 |
| Component: | Shop | Version: | 2.0.3.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Für den Fall, dass man einen reinen B2B Shop betreibt möchte man das Widerrufsrecht ja nicht anzeigen und stellt daher folgendes ein:
- Content Manager:Widerrufsrecht Anzeige deaktivieren
- "Erw. Konfiguration" -> "Anzeige Widerrufsrecht?" -> "Nein"
- "Erw. Konfiguration" -> "Widerrufsrecht" -> "-- Bitte wählen Sie --" (Also leere Auswahl!)
Damit wird das Widerrufsrecht dann auch nicht mehr in den Bestell E-Mails angehängt.
Soweit so gut, nur wieso werden auf der checkout_confirmation auch nicht mehr die AGB angezeigt?
Problem ist folgender Code in der checkout_confirmation.php
//check if display conditions on checkout page is true
if (DISPLAY_REVOCATION_ON_CHECKOUT == 'true') {
//revocation
$shop_content_data = $main->getContentData(REVOCATION_ID);
$smarty->assign('REVOCATION', $shop_content_data['content_text']);
$smarty->assign('REVOCATION_TITLE', $shop_content_data['content_heading']);
$smarty->assign('REVOCATION_LINK', $main->getContentLink(REVOCATION_ID, MORE_INFO, 'SSL'));
//agb
$shop_content_data = $main->getContentData(3);
$smarty->assign('AGB_TITLE', $shop_content_data['content_heading']);
$smarty->assign('AGB_LINK', $main->getContentLink(3, MORE_INFO,'SSL'));
$smarty->assign('TEXT_AGB_CHECKOUT', sprintf(TEXT_AGB_CHECKOUT,$main->getContentLink(3, MORE_INFO,'SSL') , $main->getContentLink(REVOCATION_ID, MORE_INFO,'SSL')));
}
Ich hänge mal geänderte Dateien hier mit an.
Attachments (2)
Change History (6)
by , 8 years ago
| Attachment: | shoproot (Update AGB display on checkout_confirmation).zip added |
|---|
by , 8 years ago
| Attachment: | Update AGB display on checkout_confirmation.patch added |
|---|
comment:1 by , 8 years ago
| Milestone: | modified-shop-2.0.4.0 → modified-shop-2.0.4.1 |
|---|
comment:2 by , 7 years ago
| Milestone: | modified-shop-2.0.4.1 → modified-shop-2.0.5.0 |
|---|
comment:3 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

In 11926: