Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
La domanda è stata chiusa con motivazione: Question / Code not indented
da ANRD - 03/05/2024 12:27:32
1067 Visualizzazioni

I'm trying to modify the Views > website_sale.product. Currently, when an invalid combination is selected, an error message appears, and the "Add to Cart" button is deactivated. However, we have a specific scenario where we want a combination to register as invalid on the website, triggering the warning message and making the "Add to Cart" button inactive, but still be available as a valid product for our sales team to add to quotations.


I've attempted to modify the code so that any variant value containing the word "custom" will trigger the warning message and make the "Add to Cart" button inactive, while still allowing the product to be available for building quotations. But I have not had any success.


Would anybody be able to assist? Here is the original code.


       

       


   

       

       

       

       


       

           

           

document_sudo.id)" t-att-target="target">

                                           

                                           

                                       

                                   

                               

                           

                           

                           

                       

                   

               

               

               

           

       

   

   

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mag 24
760
0
mag 24
982
0
mag 24
1301
0
mag 24
640
1
mag 24
1411