Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#1064 closed Frage (fixed)

Laden von "boxes.php" vor "checkout_requirements"

Reported by: INETvisio Owned by: somebody
Priority: niedrig Milestone: modified-shop-2.0.5.0
Component: Shop Version: 2.0.0.0

Description

Hallo,

ich habe eine Frage zur folgende Zeile im Code:

// include boxes
require (DIR_FS_CATALOG . 'templates/' . CURRENT_TEMPLATE . '/source/boxes.php');

Z.B. bei Bestellprozess gibt es jetzt "checkout_requirements" Include,

// create smarty elements
$smarty = new Smarty;

// include boxes
require (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/boxes.php');

// include needed functions
require_once (DIR_FS_INC.'xtc_address_label.inc.php');
require_once (DIR_FS_INC.'xtc_get_address_format_id.inc.php');
require_once (DIR_FS_INC.'xtc_count_shipping_modules.inc.php');

require (DIR_WS_INCLUDES.'checkout_requirements.php');

was die Feinheiten überprüft und wenn nötig ist - eine Weiterleitung ausführt. In dem Fall Laden von Boxen macht nur unnötigen Last.

Müssen die Boxen vor möglichen Weiterleitungen geladen werden?

Gruß
Jürgen H.

Attachments (0)

Change History (9)

comment:1 Changed 5 years ago by h-h-h

probs - sehr aufmerksam, müsste geprüft werden, ich denke nicht.

comment:2 Changed 5 years ago by Tomcraft

  • Milestone set to modified-shop-2.0.1.1
  • Version set to 2.0.0.0

comment:3 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.2.0 to modified-shop-2.0.2.1

comment:4 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.2.1 to modified-shop-2.1.0.0

comment:5 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.1.0.0 to modified-shop-2.0.3.0

comment:6 Changed 4 years ago by Tomcraft

  • Milestone modified-shop-2.0.4.1 deleted

comment:7 Changed 4 years ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 11282:

fix #1064

comment:8 Changed 4 years ago by Tomcraft

  • Milestone set to modified-shop-2.0.4.1

comment:9 Changed 4 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.4.1 to modified-shop-2.0.5.0

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.