Zoeken…


Winkelwagen url

$this->helper('checkout/url')->getCartUrl();

OF

Mage::helper('checkout/url')->getCartUrl();

Afrekenen-URL

$this->helper('checkout/url')->getCheckoutUrl();

OF

Mage::helper('checkout/url')->getCheckoutUrl();

Login url

$this->helper('customer/data')->getLoginUrl();

OF

Mage :: helper ( 'customer / data') -> getLoginUrl ();

Uitloggen url

$this->helper('customer/data')->getLogoutUrl();

OF

Mage::helper('customer/data')->getLogoutUrl();

Wachtwoord-URL vergeten

$this->helper('customer/data')->getForgotPasswordUrl();

OF

Mage::helper('customer/data')->getForgotPasswordUrl();

Account klant-URL

$this->helper('customer/data')->getAccountUrl();

OF

Mage::helper('customer/data')->getAccountUrl();

Media, JS, skin-URL

Om URL-pad op te halen in STATISCHE BLOK- of CMS-pagina's

Om SKIN URL te krijgen

{{skin url=’images/sampleimage.jpg’}}

Om media-URL te krijgen

{{media url=’/sampleimage.jpg’}}

Om winkel-URL te krijgen

{{store url=’mypage.html’}}

Om basis-URL te krijgen

{{base url=”}}

OM URL-pad in PHTML op te halen

Niet beveiligde skin-URL

<?php echo $this->getSkinUrl(‘images/sampleimage.jpg’) ?>

Veilige skin-URL

<?php echo $this->getSkinUrl(‘images/ sampleimage.gif’,array(‘_secure’=>true)) ?>

Huidige URL ophalen

<?php $current_url = Mage::helper(‘core/url’)->getCurrentUrl();?>

Ontvang de thuis-URL

<?php $home_url = Mage::helper(‘core/url’)->getHomeUrl();?>

Download Magento Media Url

<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);?>
<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);?>

Download Magento Skin-URL

<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);?>

Download Magento Store-URL

<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);?>

Download Magento Js Url

<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);?>


Modified text is an extract of the original Stack Overflow Documentation
Licentie onder CC BY-SA 3.0
Niet aangesloten bij Stack Overflow