cancel
Showing results for 
Search instead for 
Did you mean: 

Using a CMS-Block in Terms and Conditions does not work

Using a CMS-Block in Terms and Conditions does not work

Hi everyone,

 

 

Im trying to add an CMS-Block a Checkout "Term and Condition", but it wont render the content of the Block,

 

Im inserting:

{{block class="Magento\Cms\Block\Block" block_id="test"}} but the frontend just outputs it 1:1 without interpreting it at the last step of the checkout.

 

The block "test" extists of course, the shop is set to single-store-shop, so store-views shouldn't be relevant.

 

 

Does anyone have any idea where the problem could be?


Thanks for your help in advance

 

4 REPLIES 4

Re: Using a CMS-Block in Terms and Conditions does not work

Hi @peter_becker ,

 

Could you please let me know that where you defined the block class and block id?

Re: Using a CMS-Block in Terms and Conditions does not work

Hi,

 

 

Stores -> Terms and Conditions -> Add new Condition


Then i added the data inside the content-field, as you can see on the following screenshot.
And yes, the cms-block with this identifier does exist!

Bildschirmfoto_2021-01-27_18-45-50.png


Re: Using a CMS-Block in Terms and Conditions does not work

CMS Display Rules allow you to display CMS blocks to different groups of customers: General, Wholesale, Retail and NOT LOGGED IN. Moreover it enables you to set the date, weekday and even the exact time period you want the CMS Block to be displayed on.

Re: Using a CMS-Block in Terms and Conditions does not work

It enables you to set the date, weekday and even the exact time period you want the CMS Block to be displayed on Prepaid Gift Balance