Modify

Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#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)

shoproot (Update AGB display on checkout_confirmation).zip (42.8 KB ) - added by Torsten Riemer 8 years ago.
Update AGB display on checkout_confirmation.patch (4.7 KB ) - added by Torsten Riemer 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Torsten Riemer, 8 years ago

Milestone: modified-shop-2.0.4.0modified-shop-2.0.4.1

comment:2 by Torsten Riemer, 7 years ago

Milestone: modified-shop-2.0.4.1modified-shop-2.0.5.0

comment:3 by Gerhard Waldemair, 6 years ago

Resolution: fixed
Status: newclosed

In 11926:

fix #1420

comment:4 by Gerhard Waldemair, 6 years ago

In 11927:

fix #1420

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.