i have a problem how can i save the data that I pull form an API on website Here is my website I wanna get data from API: https://blog.api.rakuten.net/api-tutorial-rakuten-marketplace-api/ I really do not know how to do it and I need help. I’ve created 2 db_schema just to save data […]
Magento2
I am trying to add a product attribute to a custom button on product pages. I created a custom attribute called ebay_url. In custombutton.phtml I want to use the ebay_url product attribute to replace ‘https://www.ebay.com’. Help appreciated! /app/design/frontend/Solwin/freego/Magento_Catalog/layout/catalog_product_view.xml contents: <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <move element="product.info.stock.sku" destination="product.info.price" after="product.price.final"/> <move element="product.info.review" […]
One of my website’s cart page is slow and after some digging up I found that the shipping-rates.html is taking up time to load. Is there any way, through which instead of implicitly loading I can load it when clicked on button, as this will reduce the time and of […]
In my test environment (Ubuntu 20.04, PHP7.4, Percona 8.0, Varnish 6.5) I’ve just installed redis (backend, page cache and sessions) without thinking much about its version. And of course it’s of version 7.02. I know Magento 2.4.3 requires Redis 6.0 but I haven’t noted any problems with version 7.02. Does […]
This is my fieldset from the uicomponent form: <fieldset name="image_form_fieldset"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="label" xsi:type="string" translate="true">Form</item> </item> </argument> <field name="file"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="label" xsi:type="string">File</item> <item name="visible" xsi:type="boolean">true</item> <item name="formElement" xsi:type="string">fileUploader</item> <item name="source" xsi:type="string">file</item> <item name="sortOrder" xsi:type="string">15</item> <item name="uploaderConfig" xsi:type="array"> <item name="url" […]
I’ve read over this page ( Magento2 – override 3rd party module layout file in custom theme ) and I am still having an issue. What I am trying to do is override the 2 files that vendor offers for the end user to download. Which are sample.CSV and sample.XML […]
As per https://csp-evaluator.withgoogle.com/ whitelisted hosts can frequently be bypassed, i.e. google and adobe. Is there any way to use strict-dynamic (either with hash or nonce) for script-src policy applicable to vendor modules? I have also an issue with Chrome (Safari and Firefox don’t report errors) when CSP is in strict […]
I have a normal theme for our onlineshop named “Company Fresh“. I created another theme which I named “Company Fresh Green“. It is based on “Company Fresh” but has only one difference. The background color of all sites should be green. I added these files to my new theme: (THEME_DIR […]