getItem();
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
?>
hasProductUrl()):?>hasProductUrl()):?> |
getOptionList()):?>
getFormatedOptionValue($_option) ?>
- escapeHtml($_option['label']) ?>
- class="truncated">
getProductId();
$product = Mage::getModel('catalog/product')->load($productID);
$attributeSet = Mage::getModel('eav/entity_attribute_set')->load($product->getAttributeSetId());
$attributeSetName = str_replace('-', '_', $product->formatUrlKey($attributeSet->getAttributeSetName()));
// Collect options applicable to this configurable product
$productAttributeOptions = $product->getTypeInstance(true)->getConfigurableAttributesAsArray($product);
if (sizeof($productAttributeOptions) == 1 && $productAttributeOptions[0]['attribute_code'] == "multicolor") {
foreach ($productAttributeOptions[0]['values'] as $_attributeOption) {
if (strcmp($_attributeOption['label'], $_formatedOptionValue['value']) == 0) {
$modelOption = Mage::getModel('orange35_colorpicker/option')->load($_attributeOption['value_index'], 'option_id');
if ($modelOption->getImage()) {
$pathToImage = $modelOption->getImage()?Mage::helper('orange35_colorpicker/image')->getSwatchImageUrl($modelOption->getImage(), $modelOption->getAttributeId()):"";
echo "
defineLabelColor($modelOption['color']) ."; box-shadow: 0px 0px 2px 0.4px rgba(0,0,0,0.5);'>
". $_formatedOptionValue['value'] ."
";
} else {
echo "defineLabelColor($modelOption['color']) ."; box-shadow: 0px 0px 2px 0.4px rgba(0,0,0,0.5); '>
". $_formatedOptionValue['value'] ."
";
}
}
}
} else {
echo $_formatedOptionValue['value'];
}
?>
- escapeHtml($_option['label']) ?>
getMessages()): ?>
* escapeHtml($message['text']) ?>
getProductAdditionalInformationBlock(); ?>
setItem($_item)->toHtml() ?>
|
__('Edit') ?>
|
helper('wishlist')->isAllowInCart()) : ?>
__('Move'); ?>
|
helper('tax')->displayCartBothPrices()): ?> colspan="2">
__('See price before order confirmation.'); ?>
getId(); ?>
__("What's this?"); ?>
|
helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
getApplied($_item)): ?>
typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['amount'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['amount'],true,true); ?>
typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['amount'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
__('Total'); ?>: helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
helper('checkout')->getPriceInclTax($_item); ?>
typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
getApplied($_item)): ?>
typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['amount_incl_tax'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['amount_incl_tax'],true,true); ?>
typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['amount_incl_tax'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
__('Total incl. tax'); ?>: helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
|
helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
--
typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
helper('checkout')->formatPrice($_item->getRowTotal()) ?>
getApplied($_item)): ?>
typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['row_amount'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['row_amount'],true,true); ?>
typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['row_amount'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
__('Total'); ?>: helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
helper('checkout')->getSubtotalInclTax($_item); ?>
typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
--
typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
getApplied($_item)): ?>
typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['row_amount_incl_tax'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['row_amount_incl_tax'],true,true); ?>
typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
getApplied($_item) as $tax): ?>
: formatPrice($tax['row_amount_incl_tax'],true,true); ?>
typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
__('Total incl. tax'); ?>: helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
__('Remove item')?> |