test: Website Item (Item full page)

- Tests for website item. Desk tests and portal tests
- Allow guests on method `get_offer_details`
- Fetch stock details only if `show_stock_availability` is enabled
- Validation for duplicate web items on item merge
- Separate method for `validate_properties_before_merge`
- Common error title and exception `DataValidationError` for merge validations on Item
This commit is contained in:
marination
2021-08-09 13:25:13 +05:30
parent 3fd929c4ee
commit 4d254a7ad3
10 changed files with 416 additions and 45 deletions

View File

@@ -201,7 +201,7 @@ class ItemConfigure {
<span class="mr-2">
${frappe.utils.icon('assets', 'md')}
</span>
${__("Add to Cart")}s
${__("Add to Cart")}
</button>
` : '';