I used CPANEL file manager to replace an image. I used same permissions and exact file name. It is not showing up on my Magento2 website. This is not a product image.
I have tried all of the recommended fixes. Deleting cache, refreshing, reindexing, rename htaccess, etc.
Any idea on why and old image still shows up?
(this is on a LINUX server)
Solved! Go to Solution.
It could be cached on CDN if you're using one. It could also be your own browser cache.
You rock. Not sure why I didn’t think of that. It was cloudflare. Once I purged the cache there; it worked. Really appreciate you!!
Hi @search66,
To add a static block to a category page below the products in Magento 2, you need to follow these steps:
Create a Static Block:
Configure the Layout XML:
Create the directory view/frontend/layout under
app/code/YourVendor/YourModule/ and add catalog_category_view.xml
<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceContainer name="content"> <block class="Magento\Cms\Block\Block" name="custom_category_static_block" after="category.products.list"> <arguments> <argument name="block_id" xsi:type="string">your_static_block_identifier</argument> </arguments> </block> </referenceContainer> </body> </page>
Ensure you have created a static block with the identifier you specified in the admin panel under Content > Blocks.
By following these steps, you'll successfully add a static block to the category page below the products using a custom module in Magento 2.
If the issue will be resolved, Click Kudos & Accept as a Solution.