- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2020
06:40 AM
04-16-2020
06:40 AM
Move only error message on product view page
hi, can I just move the error message (You cannot use decimal quantity for this product.) under product.info.price?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020
12:54 AM
04-20-2020
12:54 AM
Re: Move only error message on product view page
Hello,
You can not specific message area anywhere on-page.
If you want to move all error messages to product.info.price then you can put code in catalog_product_view.xml
<move element="page.messages" destination="product.info.price" before="-" />
Problem solved - Click on Kudos and Accept as Solution .
Thank you
Hiren Patel
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020
06:26 AM
04-22-2020
06:26 AM
Re: Move only error message on product view page
Hi, thanks for answer, I need move only one message. From this module "page.messages" in magento uses 3 types of messages. I have to add custom error handling.