Skip to content

Instantly share code, notes, and snippets.

Bruno elisei

Block or report user

Report or block elisei

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Remoção de js e css para o tema porto
<action method="removeItem"><type>js_css</type><name>smartwave/bootstrap/css/bootstrap.optimized.min.css</name></action>
<action method="removeItem"><type>skin_css</type><name>css/local.css</name></action>
<action method="removeItem"><type>js</type><name>smartwave/jquery/jquery-1.11.3.min.js</name></action>
<action method="removeItem"><type>js</type><name>smartwave/jquery/jquery-migrate-1.2.1.min.js</name></action>
<action method="removeItem"><type>js</type><name>smartwave/jquery/jquery-noconflict.js</name></action>
<action method="removeItem"><type>js</type><name>smartwave/jquery/plugins/fancybox/js/jquery.fancybox.js</name></action>
<action method="removeItem"><type>js</type><name>smartwave/ajaxcart/ajaxaddto.js</name></action>
<action method="removeItem"><type>js</type><name>smartwave/jquery/plugins/etalage/jquery.etalage.min.js</name></action>
<action method="removeItem"><type>js</type><name>smartwave/jquery/plugins/etalage/jquery.zoom.min.js</name></action>
<action method="removeItem"><type>js</type><nam
elisei /
Created Dec 18, 2018 — forked from ankurk91/
Ubuntu 18.04 - PHP development (php 7.2, MySQL 5.7, apache 2.4)
set -euo pipefail
# Ubuntu 18.04 dev Server
# Run like - bash
# Script should auto terminate on errors
echo -e "\e[96m Adding PPA \e[39m"
sudo add-apt-repository -y ppa:ondrej/apache2
View WebhooksAutorizado
"date": "",
"env": "",
"resource": {
"payment": {
"_links": {
"order": {
"href": "",
elisei / traducao.sql
Created Jul 3, 2018
SQL de tradução do magento 1 incluindo unidades federativas.
View traducao.sql
/* ============================================================================= */
/* ============================================================================= */
SET NAMES 'utf8';
/* admin_role */
UPDATE `admin_role` SET `role_name`='Administradores' WHERE `role_name`='Administrators';
/* api2_acl_role */
elisei / dob.phtml
Created Jun 1, 2018 — forked from dele454/dob.phtml
Magento DOB widget with DOB Validation
View dob.phtml
* @see Mage_Customer_Block_Widget_Dob
<label class="dob-label" for="<?php echo $this->getFieldId('month')?>"<?php if ($this->isRequired()) { echo ' class="required"'; } ?>><?php echo $this->__('Birthday') ?></label>
<div class="customer-dob input-box">
<div class="dob-year">
<?php $currentYear = intval(date("Y")); ?>
<select name="<?php echo $this->getFieldName('year'); ?>" id="<?php echo $this->getFieldId('year'); ?>">
elisei / rest_test.php
Created Feb 22, 2018 — forked from xcommerce-gists/rest_test.php
Magento coupon code generator test script
View rest_test.php
File name: rest_test.php
A PHP test script that calls the Coupon AutoGen extension
to Magento's REST API.
The Coupon AutoGen API takes:
-- the rule ID of the &quot;Generate Coupons&quot; rule to execute
-- the number of coupon codes to generate
-- the length of each coupon code
elisei / moip_onestepcheckout.xml
Created Dec 12, 2017
moip_onestepcheckout.xml para thema porto
View moip_onestepcheckout.xml
<?xml version="1.0"?>
<layout version="0.1.0">
<reference name="root">
<action method="setTemplate"><template>MOIP/onestepcheckout/page/1column.phtml</template></action>
<reference name="head">
<remove name="addthis_smartlayers" />
<action method="addJs" ifconfig="moipall/config/enable_jquery"><script>MOIP/core/jquery.js</script></action>
elisei / local.xml
Created Jun 13, 2017 — forked from MikeWilkie/local.xml
Magento – Disable Excessive Logging and Reporting in app/etc/local.xml
View local.xml
<?xml version="1.0"?>
<!-- license -->
<!-- global config -->
<!-- disble logs -->
elisei / addExportButtonMagentoRecurringProfiles.php
Created Jan 20, 2017 — forked from tegansnyder/addExportButtonMagentoRecurringProfiles.php
To add a export button to Magento Recurring Profiles edit this file: /app/code/core/Mage/Adminhtml/controllers/Sales/Recurring/ProfileController.php
View addExportButtonMagentoRecurringProfiles.php
* Export order grid to CSV format
public function exportCsvAction()
$fileName = 'subscriptions.csv';
View Get-OrderIncrementID-recurring-profiles-success-page.php
$order = Mage::getResourceModel('sales/order_collection')
->addFieldToFilter('customer_id', $customer_id)
->setOrder('entity_id', 'desc')
echo '<pre>';
echo '</pre>';
You can’t perform that action at this time.