Skip to content

Instantly share code, notes, and snippets.

View magentogirl's full-sized avatar

Kimberely Thomas magentogirl

View GitHub Profile
@magentogirl
magentogirl / gist:e8dc6aa7c74d021f85cc
Last active January 8, 2019 11:32
config.xml to disable Magento Logging
<?xml version="1.0"?>
<config>
<frontend>
<events>
<!--disable logs-->
<controller_action_predispatch>
<observers><log><type>disabled</type></log></observers>
</controller_action_predispatch>
<controller_action_postdispatch>
<observers><log><type>disabled</type></log></observers>
@magentogirl
magentogirl / gist:91b0350532e762cb6b6f
Created June 10, 2014 16:05
mage-products-with-no-images
select * from catalog_product_entity_varchar v join catalog_product_entity e
on v.entity_id = e.entity_id
WHERE attribute_id in (8586,87) AND value = 'no_selection';
@magentogirl
magentogirl / mage-customer-balance-sql
Created May 8, 2014 15:40
Magento Enterprise Report of Customers with a Store Credit Balance
select customer_id, email, f.value, l.value, amount from enterprise_customerbalance b join customer_entity c on
b.customer_id=c.entity_id
left join customer_entity_varchar f on c.entity_id =f.entity_id
left join customer_entity_varchar l on c.entity_id =l.entity_id
where amount>0 and f.attribute_id=5 and l.attribute_id=7