Magento2的Model是如何进行CURD的?

8.47K 浏览M2交流区

Magento2的Model是如何进行CURD的?

https://gitee.com/zouhongzhao/magento2-action-extension-demo/blob/master/Demo/Block/PhysicalStores.php

有谁知道这个demo/physicalstores/enabled的值是侟在哪张表里面?

0

https://gitee.com/zouhongzhao/magento2-action-extension-demo/blob/master/Demo/view/frontend/templates/physical_stores.phtml
```php
  <?php  if  ($this->isEnabledStaffs()):  ?>
                  <a  class="physicalstore-view-btn"  href="<?php %20echo %20$url; %20?>"><?php  echo  __('more  information')  ?>      »</a></p>        
<?php  endif;?>
```php
$this->isEnabledStaffs()  应该改成:$_store->getStatus()  ?

0
您正在查看6个回答中的1个,单击此处查看所有回答。