Guest User

Untitled

a guest
Jun 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. UPDATE catalog_product_entity_text SET value = REPLACE(value, 'Will_replace_this_text_to_blank', '')
  2.  
  3. UPDATE catalog_product_entity_text SET value =
  4. REPLACE(value, 'Will_replace_this_text_to_blank', '')
  5. WHERE attribute_id =
  6. (SELECT attribute_id FROM eav_attribute WHERE attribute_code = "short_description")
  7. AND EXISTS (SELECT 1 FROM catalog_category_product WHERE catalog_product_entity_text.entity_id = catalog_category_product.product_id AND catalog_category_product.category_id = {CATEGORY ID HERE});
Add Comment
Please, Sign In to add comment