Bonsoir,
En essayant d'installer SIPS ATOS pour ma boutique voici le soucis que je rencontre :
valid argument supplied for foreach() in ....../components/com_virtuemart/views/cart/tmpl/default_pricelist.php on line 10
Copie du code de la page "defaut_pricelist.php : si vous avez une idée ?
Dites moi s'il vous faut la suite ... lol
Merci d'avance a ceux qui pourront m'aider.
Frédérique
En essayant d'installer SIPS ATOS pour ma boutique voici le soucis que je rencontre :
valid argument supplied for foreach() in ....../components/com_virtuemart/views/cart/tmpl/default_pricelist.php on line 10
Copie du code de la page "defaut_pricelist.php : si vous avez une idée ?
Code:
<?php defined('_JEXEC') or die('Restricted access'); /** * * Layout for the shopping cart * * @package VirtueMart * @subpackage Cart * @author Max Milbers * @author Patrick Kohl * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * */ // Check to ensure this file is included in Joomla! // jimport( 'joomla.application.component.view'); // $viewEscape = new JView(); // $viewEscape->setEscape('htmlspecialchars'); ?> <div class="billto-shipto"> <div class="width50 floatleft"> <span><span class="vmicon vm2-billto-icon"></span> <?php echo JText::_('COM_VIRTUEMART_USER_FORM_BILLTO_LBL'); ?></span> <?php // Output Bill To Address ?> <div class="output-billto"> <?php foreach($this->cart->BTaddress['fields'] as $item){ if(!empty($item['value'])){ if($item['name']==='agreed'){ $item['value'] = ($item['value']===0) ? JText::_('COM_VIRTUEMART_USER_FORM_BILLTO_TOS_NO'):JText::_('COM_VIRTUEMART_USER_FORM_BILLTO_TOS_YES'); } ?><!-- span class="titles"><?php echo $item['title'] ?></span --> <span class="values vm2<?php echo '-'.$item['name'] ?>" ><?php echo $this->escape($item['value']) ?></span> <?php if ($item['name'] != 'title' and $item['name'] != 'first_name' and $item['name'] != 'middle_name' and $item['name'] != 'zip') { ?> <br class="clear" /> <?php } } } ?> <div class="clear"></div> </div> <a class="details" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=user&task=editaddresscart&addrtype=BT',$this->useXHTML,$this->useSSL) ?>"> <?php echo JText::_('COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_LBL'); ?> </a>
Merci d'avance a ceux qui pourront m'aider.
Frédérique
Commentaire