2

How to set Can Show Price Attribute - $product->getCanShowPrice()? There is a config for product or admin?

  • Have you looked at what this function does internally? I believe it does some sort of computation to know whether or not a price can be shown. – Julien Lachal Jan 9 '17 at 8:24
  • @JulienLachal Is there a config for product or admin? – Khoa TruongDinh Jan 9 '17 at 8:29
3
$product->setCanShowPrice(true|false);
  • There is a config or product attribute? – Khoa TruongDinh Jan 9 '17 at 8:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.