Замена текста:
replace([field_name],'[string_to_find]','[string_to_replace]')
Export:
mysqldump -u [uname] -p[pass] [dbname] > [backupfile.sql]
| mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); |
| git config core.filemode false |
| <body oncontextmenu="return false;"> |
| UPDATE catalog_eav_attribute SET used_in_product_listing=1 | |
| WHERE attribute_id IN ( | |
| SELECT attribute_id FROM eav_attribute | |
| INNER JOIN eav_entity_type USING(entity_type_id) | |
| WHERE entity_type_code='catalog_product' AND attribute_code IN ( | |
| 'name', 'description', 'short_description', | |
| 'price', 'special_price', 'special_from_date', 'special_to_date', | |
| 'image', 'small_image', 'thumbnail', | |
| 'status', 'tax_class_id', 'url_key', 'required_options', | |
| 'price_type', 'weight_type', 'price_view', 'shipment_type', |
| public function getComparableAttributes() | |
| { | |
| if (is_null($this->_comparableAttributes)) { | |
| $this->_comparableAttributes = array(); | |
| $setIds = $this->_getAttributeSetIds(); | |
| if ($setIds) { | |
| $select = $this->getConnection()->select() | |
| ->from(array('main_table' => $this->getTable('eav/attribute'))) | |
| ->join( | |
| array('additional_table' => $this->getTable('catalog/eav_attribute')), |