mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 12:25:09 +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">
|
||||
{% if cart_settings.enable_variants | int %}
|
||||
<button class="btn btn-primary-light btn-configure font-md mr-2"
|
||||
data-item-code="{{ doc.name }}"
|
||||
data-item-name="{{ doc.item_name }}"
|
||||
data-item-code="{{ doc.item_code }}"
|
||||
data-item-name="{{ doc.web_item_name }}"
|
||||
>
|
||||
{{ _('Select Variant') }}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user