Skip to content

Tie dynamic fields from custom phtml block to Product Edit Save request

I have created a custom block on my Product Edit admin page by adding this to product_form.xml: <fieldset name=”my_custom_fields”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”label” xsi:type=”string” translate=”true”>My Custom Fields</item> <item name=”sortOrder” xsi:type=”number”>30</item> <item name=”collapsible” xsi:type=”boolean”>true</item> <item name=”opened” xsi:type=”boolean”>false</item>… Read More »Tie dynamic fields from custom phtml block to Product Edit Save request

Put Apple Pay method inside the payment list

I need to move the stripe_payments_apple_pay inside the available paiment methods list. Can someone help me ? Here the xml code inside the checkout_index_index.xml : <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”checkout.root”> <arguments> <argument name=”jsLayout” xsi:type=”array”> <item name=”components” xsi:type=”array”>… Read More »Put Apple Pay method inside the payment list

GraphQL – Schema generated remove not null indication when in an array

In a custom module in etc/schema.graphqls, I declared my query : type Query { getAvailableCountries: [Country!] @resolver(class: “\Vendor\Module\Model\Resolver\getAvailableCountries”) @doc(description: “Get list of country allowed on magento’s side.”) } There is my resolver code : public function resolve(Field $field, $context, ResolveInfo… Read More »GraphQL – Schema generated remove not null indication when in an array