Ticket #1420: Update AGB display on checkout_confirmation.patch

File Update AGB display on checkout_confirmation.patch, 4.7 KB (added by Torsten Riemer, 8 years ago)
  • checkout_confirmation.php

     
    255255  $smarty->assign('AGB_TITLE', $shop_content_data['content_heading']);
    256256  $smarty->assign('AGB_LINK', $main->getContentLink(3, MORE_INFO,'SSL'));
    257257  $smarty->assign('TEXT_AGB_CHECKOUT', sprintf(TEXT_AGB_CHECKOUT,$main->getContentLink(3, MORE_INFO,'SSL') , $main->getContentLink(REVOCATION_ID, MORE_INFO,'SSL')));
     258} else {
     259  //agb
     260  $shop_content_data = $main->getContentData(3);
     261  $smarty->assign('AGB_TITLE', $shop_content_data['content_heading']);
     262  $smarty->assign('AGB_LINK', $main->getContentLink(3, MORE_INFO,'SSL'));
     263  $smarty->assign('TEXT_AGB_ONLY_CHECKOUT', sprintf(TEXT_AGB_ONLY_CHECKOUT,$main->getContentLink(3, MORE_INFO,'SSL')));
    258264}
    259265
    260266$store_owner = STORE_NAME;
  • lang/english/english.php

     
    529529define('ERROR_SQL_DB_QUERY_REDIRECT','You will be redirected back to our home page in %s seconds!');
    530530
    531531define('TEXT_AGB_CHECKOUT','Please take note of our General Terms & Conditions %s and Cancellation Policy %s');
     532define('TEXT_AGB_ONLY_CHECKOUT','Please take note of our General Terms & Conditions %s');
    532533define('DOWNLOAD_NOT_ALLOWED', '<h1>Forbidden</h1>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.');
    533534
    534535define('TEXT_INFO_DETAILS', ' Details');
  • lang/german/german.php

     
    529529define('ERROR_SQL_DB_QUERY_REDIRECT','Sie werden in %s Sekunden auf unsere Homepage weitergeleitet!');
    530530
    531531define('TEXT_AGB_CHECKOUT','Bitte nehmen Sie unsere AGB und Kundeninformation %s sowie unsere Widerrufsbelehrung %s zur Kenntnis.');
     532define('TEXT_AGB_ONLY_CHECKOUT','Bitte nehmen Sie unsere AGB und Kundeninformation %s zur Kenntnis.');
    532533define('DOWNLOAD_NOT_ALLOWED', '<h1>Forbidden</h1>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.');
    533534
    534535define('TEXT_INFO_DETAILS', ' Details');
  • templates/tpl_modified/module/checkout_confirmation.html

     
    3232  <div class="highlightbox plainright">
    3333    {if $REVOCATION}
    3434      {$TEXT_AGB_CHECKOUT}
     35    {else}
     36      {$TEXT_AGB_ONLY_CHECKOUT}
    3537    {/if} 
    3638  </div>
    3739  {if isset($EXPRESS)}
  • templates/tpl_modified_responsive/module/checkout_confirmation.html

     
    3434  <div class="highlightbox plainright">
    3535    {if $REVOCATION}
    3636      {$TEXT_AGB_CHECKOUT}
     37    {else}
     38      {$TEXT_AGB_ONLY_CHECKOUT}
    3739    {/if} 
    3840  </div>
    3941  {if isset($EXPRESS)}
  • templates/tpl_modified_responsive_flat/module/checkout_confirmation.html

     
    3434  <div class="highlightbox plainright">
    3535    {if $REVOCATION}
    3636      {$TEXT_AGB_CHECKOUT}
    37     {/if} 
     37    {else}
     38      {$TEXT_AGB_ONLY_CHECKOUT}
     39    {/if}   
    3840  </div>
    3941  {if isset($EXPRESS)}
    4042  <div class="highlightbox plainright">
  • templates/xtc5/module/checkout_confirmation.html

     
    2626  <div class="checkoutInfoBoxes red">
    2727    {$TEXT_AGB_CHECKOUT}
    2828  </div>
    29   {/if}
     29  {else}
     30  <div class="checkoutInfoBoxes red">
     31    {$TEXT_AGB_ONLY_CHECKOUT}
     32  </div>
     33  {/if}
    3034
    3135  {if isset($EXPRESS)}
    3236  <div class="checkoutInfoBoxes red">