mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Merge pull request #15516 from shreyashah115/product-page
Fetch Item Group's name and image on website
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
<a class="product-link" href="{{ route|abs_url }}">
|
<a class="product-link" href="{{ route|abs_url }}">
|
||||||
<div class="col-sm-4 col-xs-4 product-image-wrapper">
|
<div class="col-sm-4 col-xs-4 product-image-wrapper">
|
||||||
<div class="product-image-img">
|
<div class="product-image-img">
|
||||||
{{ product_image_square(thumbnail or website_image) }}
|
{{ product_image_square(thumbnail or website_image or image) }}
|
||||||
<div class="product-text" itemprop="name">{{ item_name }}</div>
|
<div class="product-text" itemprop="name">{{ item_name or name }}</div>
|
||||||
{% if price_sales_uom %}
|
{% if price_sales_uom %}
|
||||||
<div>{{ price_sales_uom }}</div>
|
<div>{{ price_sales_uom }}</div>
|
||||||
<div style='font-size: small; margin-bottom: 10px;'>({{ price_stock_uom }} / {{ stock_uom }})</div>
|
<div style='font-size: small; margin-bottom: 10px;'>({{ price_stock_uom }} / {{ stock_uom }})</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user