Answer the question
In order to leave comments, you need to log in
CMS Netcat How to make an order form appear when you click on a button?
Hello everyone.
Not only am I new to this cms, but I've never used them at all. I made a catalog, created a component - a product and a component - an order (form). So - you need to click on the "Order" button on the product card so that the order form with the fields appears, when you fill in all the fields, click the "Send" button and the data from the fields fly to the mailbox.
Please help, I couldn't find any information about this.
Answer the question
In order to leave comments, you need to log in
-Create a section
-Attach the infoblock of the order component to it
-In the infoblock settings, set the default action - "adding" and the "access" spoiler, set the permission to add to all categories of users, so the CMS will not swear if you try to add an object (create a new order) unauthorized user.
-In the prefix of the list of objects in the form component, write
<?= $f_AdminCommon; ?>
<?= $addForm;?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question