Comments (4)
In page need to use | render
filter for LIQUID templates rendering
from vc-storefront.
@tatarincev Why? It's breaking change. For example, on vc.com it using often, so we will need rewrite a lot of code.
from vc-storefront.
The content of each static content page is displayed with page
view name and with the theme template usually accessible by this path templates/page.liquid
Here's an example of this template from the default theme
{% include 'breadcrumb' %}
<div class="grid">
<div class="grid-item large--two-thirds push--large--one-sixth">
<h1>{{ page.title }}</h1>
<div class="rte">
{{ page.content }} <-- liquid expression which renders page content
</div>
</div>
</div>
As you can see, this instruction {{page.content}}
renders the static content of the page, as is.
To render the liquid markup, you need to add the render
filter to this expression {{page.content | render}}
from vc-storefront.
Not a bug
from vc-storefront.
Related Issues (20)
- Storefront crashes on linux due to hard coded forward slash HOT 1
- Adding item to the cart generates error HOT 3
- If store has "Allow anonymous user for store" setting disabled and can't find theme, it redirect to url with very long query HOT 1
- Rename this repository to vc-storefront HOT 3
- Strange behavior of class QuoteRequestBuilder HOT 3
- RequireConfirmedEmail on registration HOT 1
- Make product visibility on Home Page. HOT 2
- When all products with in particular category are display on screen at that time I want to display description of product along with price. Is there any way to configure this requirement. HOT 2
- Can I define multiple price for perticuler product? for e.g. There is one digital product with subscription for that price are different weekly based, monthly based, yearly based etc. If "Yes" then How can I display all price as form of dropdown in section of price? HOT 2
- Not to Display Specific Produxt
- [Question] Pre release with dev branch HOT 5
- How can I save user's information in virto commerce using cookies HOT 2
- Internal Server Error ,ArgumentNullException: Value cannot be null. (Parameter 'source') HOT 2
- Unable to run vc default theme for Electronics store on Storefront version 6.1.0 HOT 2
- Readme on starting the storefront might be incorrect. HOT 3
- Issue After update platform 3.240 auto rest into storefront HOT 5
- Sitemap Module Auto Rest Generate issue after upgrade platform 3.240 HOT 4
- vc-storefront IIS deployment HOT 5
- Reporting Vulnerability HOT 1
- Internal Server error after installing storefront HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vc-storefront.