I am developing an ecommerce app for a client and I have had trouble with the authentication process for the application, but only on the Android platform as everything already works as expected on iOS. Let me explain the problem in detail and how I have set everything up. I am using Expo's AuthSession for […]
I was intrigued by Shopify's theme editor and wanted to mimic it myself. The point of confusion I'm experiencing is how quickly the content in the preview area responds to changes when I modify the template settings. When I change the settings on the left side of the editor, the content of the preview area […]
enter image description here I am trying to install shopify hydron but its gives error Failed to initialize project: ENOENT: no such file or directory, open 'c:\Users\windows%2011\AppData\Local\npm-cache_npx\e1eac9 │ │ 4ad41cc36f\node_modules@shopify\create-hydrogen\dist\assets\hydrogen\starter\app\root.tsx'
I am working on sending email notifications in the language in which the order was placed, using Polylang. Currently, my email notifications are sent in the language of the user who triggered these emails (e.g. admin, shop manager). I have written the code below, and I am confident that the functions map_language_to_locale() and get_locale_from_order_id() work […]
I created my WordPress site using local. There is no plugin installed on the website. My Node version is 20.17.0 and my NPM version is 10.8.3 My WordPress version is 6.6.2 I execute the following command from the cmd in the plugin directory. npx @wordpress/create-block@latest copyright-date-block –variant=dynamic cd copyright-date-block This is what I get in […]
I am trying to add a Custom Input field in The Woocommerce Product page. The Input field will take a pincode. // Add custom input field to WooCommerce product page add_action('woocommerce_before_add_to_cart_button', 'add_custom_input_field'); function add_custom_input_field() { echo '<div class="custom-input-field"> <label for="custom_pincode_field">Enter Pincode:</label> <input type="text" id="custom_pincode_field" name="custom_pincode_field" placeholder="Enter your pincode" required> </div>'; } // Validate the custom […]
I have this WordPress site for personal project. my wp site I am using Elementor site builder. I built this MegaMenu with Elementor Menu widget. I am trying to add linear transition to submenu. It applies on submenu open but I cant get slide up transition when submenu closes. I tried several approaches including CSS, […]
I'm working on a WordPress project where I allow users to select SVG icons from a set. After an icon is selected, its SVG markup is stored in the Redux store as a string. I need to render this stored SVG string as a React component on the page. How can I convert the SVG […]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 19 hours ago. Improve this question We need this type of div structure when we upload 3 card content post then design structure like 1 row […]
I created a wordpress plugin to display discographies. The plugin inserts a table under the heading that shows the artist picture, etc. Including an intro and a text field where the content goes. If I put the content into a regular paragraph block, an autolinking plugin works perfectly and creates internal links based on tags. […]