Using jQuery and domReady in a static block or CMS page (Magento 2)

Using jQuery in a Magento 2 static block or CMS page can be tricky, a special syntax is required. Use the following code to add jQuery when all the content was loaded:

Of course, you can skip listening to…

Adding a static block to the sidebar (Magento 1)

Using the folowing layout update, you can add a static block to the left sidebar:

Sending parameters to a static block (Magento 1)

You have to use so called filters to send parameters to a static block from a template for example. Lets take a look at the following code: Thats the static Magento block:

We want to send attributset_name and product_id…