Find attribute_id
SELECT * FROM eav_attribute where attribute_code = 'is_anchor'
Update all of them with anchor_id from above (usually is ID 51)
UPDATE `catalog_category_entity_int` set value = 1 where attribute_id = 51
| <?php | |
| class Cidades extends Seeder { | |
| public function run() | |
| { | |
| DB::select(DB::raw("INSERT INTO `cidade` (`id`, `nome`, `estado_id`, `created_at`, `updated_at`) VALUES | |
| (1, 'Afonso Cláudio', 8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ), | |
| (2, 'Água Doce do Norte', 8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ), | |
| (3, 'Águia Branca', 8, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ), |
| <link rel="import" href="../google-map/google-map.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; |
| <?php | |
| $traducao["bt_novo_anunciante"] = "New Advertiser"; | |
| if (!empty($_SESSION['sessao'])) | |
| { | |
| echo '<input | |
| name="bt_vermelho" | |
| type="submit" | |
| value='.$traducao['bt_novo_anunciante'].' | |
| >'; |
| // Tabela posts | |
| <?php | |
| class Posts extends Eloquent { | |
| public function tags () { | |
| return $this->belongsToMany('Tag'); | |
| } | |
| } | |
| // Tabela telephones |
| charset utf-8; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } | |
| client_max_body_size 100m; |
| @media only screen and (max-width: 800px) { | |
| /* Force table to not be like tables anymore */ | |
| #no-more-tables table, | |
| #no-more-tables thead, | |
| #no-more-tables tbody, | |
| #no-more-tables th, | |
| #no-more-tables td, | |
| #no-more-tables tr { | |
| display: block; |
| iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|IEMobile|Safari Mobile|Android|Opera Mini |
| UPDATE sales_flat_order_grid SET status = 'canceled' WHERE increment_id = <order_increment_id>; | |
| UPDATE sales_flat_order SET state='canceled', status='canceled' WHERE increment_id =<order_increment_id>; |