I am trying to access my project locally and I keep getting 502 bad gateway nginx error. Funny thing is that the admin side works but, the customer view gives me this bad gateway error. I am using nginx and the error logs from nginx are 2022/10/02 12:04:58 [alert] 1353#1353: […]
Magento2
Is there a way in Magento 2 to check/know if a customer and a customer addres is created/edited from admin panel ? I was thinking using a oberver on customer_address_save_before and adminhtml_customer_save_before but I’m not sure it concern only creation/edition made in admin panel
I need some help for what I’m trying to do: remove or disable the state/province field in new/edit address form in backoffice unless the admin choose some specific countries. Is there anyway fo remove/disable it from xml or php code ? please help me on this. Thanks
I am trying to get the Payer Id to be used in setPaymentMethodOnCart mutation but don’t know how to get that. mutation { setPaymentMethodOnCart(input: { cart_id: "rMQdWEecBZr4SVWZwj2AF6y0dNCKQ8uH" payment_method: { code: "paypal_express" paypal_express: { payer_id: "<PayPal_PayerID>" token: "<PayPal_Token>" } } }) { cart { selected_payment_method { code title } } } […]
I can’t upload any file format images from CMS WYSIWYG editor also uploaded images not display but I can access images direct from URL I can upload products Images and categories etc just issue on CMS WYSIWYG editor
I’m trying to add a custom validation to some input fields in checkout address forms. The official guide works fine on addressbook and other forms, extending mage/validator and using addMethod is simply and clean. But for checkout address fields another library is used (why?!): Magento_Ui/js/lib/validation/validator which addRule lacks of many […]
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <argument name="data" xsi:type="array"> <item name="js_config" xsi:type="array"> <item name="provider" xsi:type="string">Meetansi_Extension_post_listing.Meetansi_Extension_post_listing_data_source</item> <item name="deps" xsi:type="string">Meetansi_Extension_post_listing.Meetansi_Extension_post_listing_data_source</item> </item> <item name="spinner" xsi:type="string">spinner_columns</item> <item name="buttons" xsi:type="array"> <item name="add" xsi:type="array"> <item name="name" xsi:type="string">add</item> <item name="label" xsi:type="string" translate="true">Add New Post</item> <item name="class" xsi:type="string">primary</item> <item name="url" xsi:type="string">*/*/new</item> <- need controller? </item> </item> </argument> <dataSource name="nameOfDataSource"> <argument name="dataProvider" […]
I have products in my Magento 2.4.3 Community Edition with Special Price from march 2022 up until march 2023. I want to list, on Page Builder, using the conditions of Products component, the products that have that special price from another date, say today, to the end of this year. […]