mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 17:34:47 +00:00
fix: Item Variant selection empty popup on website
- pass item_code instead of website item name to fetch attributes
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
<div class="mt-5 mb-6">
|
<div class="mt-5 mb-6">
|
||||||
{% if cart_settings.enable_variants | int %}
|
{% if cart_settings.enable_variants | int %}
|
||||||
<button class="btn btn-primary-light btn-configure font-md mr-2"
|
<button class="btn btn-primary-light btn-configure font-md mr-2"
|
||||||
data-item-code="{{ doc.name }}"
|
data-item-code="{{ doc.item_code }}"
|
||||||
data-item-name="{{ doc.item_name }}"
|
data-item-name="{{ doc.web_item_name }}"
|
||||||
>
|
>
|
||||||
{{ _('Select Variant') }}
|
{{ _('Select Variant') }}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user