templates/frontend/index/js/toggle-production-and-setup.html.twig line 1

Open in your IDE?
  1. <script type="text/javascript">
  2.     $(document).on('click', '.toggleProductionAndSetup', function () {
  3.         let uuidCustomerAdvertisingArea = $(this).data('uuid-area');
  4.         $.ajax({
  5.             url: "{{ path('app_frontend_cart_toogle-production-and-setup') }}",
  6.             method: "POST",
  7.             data: {
  8.                 'uuidCustomerAdvertisingArea': uuidCustomerAdvertisingArea,
  9.             },
  10.             success: function () {
  11.                 refreshShoppingCart();
  12.             }
  13.         });
  14.     });
  15. </script>