Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProductおよびProductClassのisEnable()関数を非推奨に変更 #4008

Merged
merged 1 commit into from Dec 3, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -123,6 +123,8 @@ public function _calc()
* Is Enable
*
* @return bool
*
* @deprecated
*/
public function isEnable()
{
@@ -53,6 +53,8 @@ public function formattedProductName()
* Is Enable
*
* @return bool
*
* @deprecated
*/
public function isEnable()
{
@@ -73,7 +73,7 @@ file that was distributed with this source code.
</div>
<div class="ec-imageGrid__content">
<p>
{% if orderItem.Product is not null and orderItem.Product.enable %}
{% if orderItem.Product is not null and orderItem.Product.Status.id == constant('Eccube\\Entity\\Master\\ProductStatus::DISPLAY_SHOW') %}
<a href="{{ url('product_detail', {'id': orderItem.Product.id}) }}">{{ orderItem.productName }}</a>
{% else %}
{{ orderItem.productName }}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.