1. All Categories
  2. Magento

Magento : Recent Questions and Answers (Page 57)

Find answers to your questions about Magento or help others by answering their Magento questions.

Create quick order form at product page

I have created a quick order button using following code at /app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/addtocart.phtml. But, when popup modal opens then I need to show form with the following detail:Full...

Asked on 07/29/2020 by Faraz Bashir

0 answer

How to Special price based on attribute?

Is it possible to set special price automatically based on a attribute? I have an attribute called offerprice in which I enter the percentage of discount. So if the product...

Asked on 07/26/2020 by user90560

2 answer

is creating block within template in magento 2 good practice

I often see in phtml templates blocks being creating dynamically like below:$block->getLayout()->createBlock(BlockClass)->toHtml();I worry whether this is good practice and particularly whether the block will be cached eventually or whether...

Asked on 07/24/2020 by Herve Tribouilloy

0 answer

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP