cancel
Showing results for 
Search instead for 
Did you mean: 

Same module 3 phtml file calling using {{block class=“” name=“” template=“” }} not working

Same module 3 phtml file calling using {{block class=“” name=“” template=“” }} not working

I am trying to call 3 the script on my cms page pagebuilder,

The thing is, first one only return the value, but i individually tested each values is working, if add at the same time three values first value only working, if add two scripts first only working, i mean which script first that is only working, remaining not working.

 

{{block class="Amasty\Storelocator\Block\Location" name="location.block.address" template="Zero_Storelocator::home-page-mobile1.phtml" }}
{{block class="Amasty\Storelocator\Block\Location" name="location.block.mobile" template="Zero_Storelocator::home-page-mobile2.phtml" }}
{{block class="Amasty\Storelocator\Block\Location" name="location.block.hours" template="Zero_Storelocator::home-page-mobile3.phtml" }}

test.PNG