I changed as https://www.ubertheme.com/docs/ub-megamall/#configure-blocks-position guide in block section. After changing that shows “We’re sorry, an error has occurred while generating this email.” message in block display location. How can I fix the problem? How can I reset the block previous data?
7 answers
Hi Keshab Adhikari,
As you’re using UB MegaMall theme without our M2 built-in extensions, setting up needs a bit different steps though.
Let me know the name of the block that you run across issue. I will help you out.
Thanks,
Frank
Hi Frank,
I got problems in most of blocks, i.e. UB Block Banner, UB Image Slider, UB Left Menu, UB Left menu and other all.
Please visit site: http://www.merooffer.com
Hope you will support me. Suggest me how to get back in previous stage.
Regards,
Keshab
Hi Keshab,
May I know if your site remains a fresh QuickStart installation without any customization and extension integration? Please provide me via private message here the admin and SSH credentials of your site. I will help you revert the blocks you mentioned.
Anyway, please consider to set up an instance of UB MegaMall quickstart in your local, where you can check the configuration of each blocks.
Regards,
Frank
Hi Keshab,
I did edit your homepage, and edit “category_id” paramater in blocks to have them reverted accordingly. Kindly check again.
For your reference, please check the note below if you wish to edit source code of blocks.
Go to “app\design\frontend\Ubertheme\megamall\default\Magento_Catalog\templates\product” and edit the files
( black-friday.phtml,owl1_slider_products.phtml,owl1_slider_products_new.phtml,owl1_slider_products_onsale.phtml)
Blocks are displayed only when “category_id” value exists and contains products.
For examples:
-- Static Block “Black Friday” comes with category_id=21 paramater.
{{block class=”Magento\Catalog\Block\Product\ListProduct” category_id=”21″ product_limit=”10″ template=”Magento_Catalog::product/black-friday.phtml”}}
-- Static Block “UB Block Home & Pets” comes with category_id=5 paramater.
{{block class=”Magento\Catalog\Block\Product\ListProduct” name=”list.products1″ category_id=”5″ product_limit=”10″ template=”Magento_Catalog::product/owl1_slider_products.phtml”}}
Regards,
Frank
Hi Frank,
Thank you so much Frank. Now it works.
Regards,
Keshab
Hi Keshab,
Glad that it helps. Please do let me know, in case you have any additional question.
Regards,
Frank