All Questions
5 questions
2
votes
0
answers
140
views
I am creating a custom widget "SPONSORED BEST SELLER PRODUCTS" block to show on home page. Bestseller.phtml file not rendering in the front end
This is my registration.php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Relabs_LabAPI',
__DIR__
);
This ...
1
vote
1
answer
2k
views
Magento 2, how to add color swatches to custom widget template
The custom module lists certain configurable products. I need to display the color swatches, I tried below but it returns nothing!
in myTempalte.phtml
<?php
use Magento\Framework\App\...
2
votes
1
answer
1k
views
Dependable fields in custom widget
I have created a custom widget having Title and dropdown field and image chooser.
I wish to add dependable fields.the image uploading field is visible according with drop down menu.
widget.xml
<?...
1
vote
3
answers
4k
views
Add custom block before main content only on the contact page
i would like to add a static block between the nav menu en the content so i can give it the full width of the page. This block must only be visible for the contact us page.
System: magento 2.1
...
1
vote
0
answers
399
views
How to style recently viewed products horizontally [closed]
I've just recently moved my recently viewed products to just below my product detail page and above the header. However, the items show up vertical and I'd like them to be horizontal. Is there a ...