mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
test: Recommendations, Reviews and Wishlist
- Tests for verified and unverified item reviewers - Test for recommended items and their prices - Test for adding removing items from Wishlist - Bug: Wishlist deletes all entries of an item code irrespective of user - Get Item reviews only if enabled - Removed price fields from Wishlist Item and made fields read only - Removed unused price stored as data on Wishlist buttons - Customer Reviews page checks if reviews are enabled else shows No Reviews - Moved price stock fetching in Wishlist in separate function - Made fields read only in Item Review
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
<!-- Wishlist -->
|
||||
{% if cart_settings.enable_wishlist %}
|
||||
<div class="like-action-item-fp like-action {{ 'like-action-wished' if wished else ''}} ml-2"
|
||||
data-item-code="{{ doc.item_code }}"
|
||||
data-price="{{ price_info.get('price_list_rate') if price_info else 0 }}"
|
||||
data-formatted-price="{{ price_info.get('formatted_price') if price_info else 0 }}">
|
||||
data-item-code="{{ doc.item_code }}">
|
||||
<svg class="icon sm">
|
||||
<use class="{{ 'wished' if wished else 'not-wished' }} wish-icon" href="#icon-heart"></use>
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user