Fabians small Magento world
  • Home
Sign in Subscribe

Disabling block cache

  • Fabian Blechschmidt

Fabian Blechschmidt

Sep 9, 2016

You want to disable block cache?

You can do it in layout.xml, cms block/page layout update, etc.

<action method="setCacheLifetime"></action>

More about this in Fabrizio Branca's blog

Thanks to sr_aromicon for the link!

Sign up for more like this.

Enter your email
Subscribe

Adding viewModels to widgets

Or a journey through too many XML Schema files We wanted to add the possibility to add a viewModel to a widget. We thought about it. There are two possibilities: 1. Add it to an instance, e.g. one added in the backend or one declared via {{widget ...}} 2. Add
Feb 10, 2019 3 min read

Configurable Attribute in Magento 1

To use an attribute for configurable products we need: * is_configurable = 1 * is_global = 1 * is_user_defined = 1 * backend_type = int * frontend_input = select
Jan 4, 2019

Translate Magento Cookie Notice

Thanks to DSGVO some customers want to have a cookie notice: Magento has this feature already built in. You can turn it on in the backend: System > Configuration > General > Web > Session Cookie Management > Cookie Restriction Mode: YES Beside this you can define what the customer sees in the CMS block:
May 24, 2018 1 min read
Fabians small Magento world © 2023
Powered by Ghost