Skip to content

Disable caching for block doesn't work #1817

Closed
@rklerck

Description

@rklerck

We developed an extension which returns the stock level from our backoffice. The extension contains a block with template (class + phtml). Inside the phtml the request is done to the class to get the stock. This shouldn't be cached, so I set the "cacheable" of the block to "false". But even when I add something directly in the phtml (like echo 'test';), it isn't displayed!

What am I doing wrong here, or is the caching mechanism not properly turned off?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions