This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Magento Catalog Helpers | |
// Amasty, Data, Product |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @var Mage_Customer_Model_Resource_Customer_Collection $collection */ | |
$collection = Mage::getModel('customer/customer')->getCollection(); | |
$collection = $collection->joinAttribute( | |
'my_attribute', | |
'customer/my_attribute', | |
'entity_id', | |
null, | |
'left' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (jQuery(window).width() > 720) { | |
jQuery('.category-toolbar-left').prepend(jQuery('.toolbar')); | |
} else { | |
jQuery('.product-listing-container').prepend(jQuery('.toolbar')); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is part of Namespace\Websites\Helper for Magento 2. | |
* | |
* @license JC Lecas | |
* @author JC Lecas <[email protected]> | |
* @category Namespace\Websites\Helper | |
*/ | |
namespace Namespace\Websites\Helper; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Magento\Framework\App\DeploymentConfig; | |
use Psr\Log\LoggerInterface; | |
class Config | |
{ | |
const MAGENTO_CLOUD_VARIABLES_KEY = 'MAGENTO_CLOUD_VARIABLES'; | |
const DEPLOYMENT_CONFIG_VARIABLES_KEY = 'caudalie'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'log_tools.php'; | |
/** | |
* Customers Export Data | |
*/ | |
class Caudalie_Shell_Customers_Export_Data extends Caudalie_Shell_Log_Tools | |
{ | |
protected $totalPages = null; |