Hi!
I have some questions regarding the sales banners on sample data Magento sites. For example the below banner
In the blocks editor, the html code for this block looks like this:
<a class="block-promo sale-main" href="{{store url=""}}"> <img src="{{media url="wysiwyg/sale/sale-main.jpg"}}" alt=""> <span class="content"> <span class="info">Women’s Deals</span> <strong class="title">Pristine prices on pants, tanks and bras.</strong> <span class="more button">Shop Women’s Deals</span> </span> </a>
Where do i find and use these kinds of banners? Are they included by default in every Magento installation or are they something implemented at the theme level with the sample data?
Hello @victor_pregen
Yes this banners are by default come up with the Magento's Default theme Called - LUMA !
Specifically they have uploaded from the wysiwyg editor.
If you would like to use those banner for your purpose or custom block, so you can easily use them - you can insert image from that specific block - popup will open where in you will see a gallery left side where all the images directories and under that image will be showcased.
Select from there and use it in your custom block also it is included in every magento installation as this LUMA theme is coming with Magento itself so. - if you don't want this then you can try to install Magento without sample data.
Hope it helps !
Hello @victor_pregen
vendor/magento/module-cms-sample-data/fixtures/blocks/categories_static_blocks.csv
it is coming from sample data of cms page.
https://github.com/magento/magento2-sample-data
above link for sample data for magento2
if you did not installed sample data then it will not add into Magento.
if you are using luma theme and you will add the same identifier block then it will show without sample data.
Hope it will help you.
if helpful then mark as solution.