fix: product action instead of info
This commit is contained in:
parent
aa4f8cf4fc
commit
72fdc1302c
@ -202,7 +202,7 @@ class ItemConfigure {
|
|||||||
add_to_cart = `<a href data-action="btn_add_to_cart" data-item-code="${one_item}">${__('Add to cart')}</a>`;
|
add_to_cart = `<a href data-action="btn_add_to_cart" data-item-code="${one_item}">${__('Add to cart')}</a>`;
|
||||||
product_action = in_stock ? add_to_cart : `<a style="color:#74808b;">${__('Not in Stock')}</a>`;
|
product_action = in_stock ? add_to_cart : `<a style="color:#74808b;">${__('Not in Stock')}</a>`;
|
||||||
} else {
|
} else {
|
||||||
product_info = '';
|
product_action = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
const item_add_to_cart = one_item ? `
|
const item_add_to_cart = one_item ? `
|
||||||
|
Loading…
Reference in New Issue
Block a user