magento2

Magento 2 - REST API PUT product

一个人想着一个人 提交于 2020-01-23 06:19:05
问题 When I try to update a product, created via the REST V1 API, only the values are updated for de default website. Unfortunattely I can't find any possibility to send website id's within te json. Does anyone have experienced this before? The data I send for the update to /V1/products/123456: {"product":{"sku":"123456","name":"D4D0123299","price":21,"type_id":"simple","custom_attributes":[],"extension_attributes":{"stock_item":{"use_config_manage_stock":1}}}}" Linking the product to specific

Magento2 checkout form: How to display placeholder attribute value in fields?

眉间皱痕 提交于 2020-01-22 20:40:09
问题 Goodmorning Stackoverflow, I'm customizing the checkout onepage in Magento 2. Now I'm trying to display placeholders instead of labels in the shipping-address form, but no success till now. I hope someone can help me out Cheers, Jorge UPDATE: In the console i can see a variable is giving to the attribute placeholder of the element input. <input class="input-text" type="text" data-bind=" value: value, valueUpdate: 'keyup', hasFocus: focused, attr: { name: inputName, placeholder: placeholder, /

Magento 2.1 Add To cart not working on multisite

萝らか妹 提交于 2020-01-17 08:03:18
问题 I have magento 2.1 installed and configured properly to work with 2 different domains using multi-site feature. Everything works fine, except Add to cart feature. Whenever I am adding something to cart on secondary websites, its not being added to cart. However I am getting message that 'Item added to cart' I checked cookie domain and tried everything, but it is not working Does anybody have any idea? 回答1: One of the Reason for product not add to cart if you have not Enable cache. If cache is

how do I migrate my old magento(2.1.5) database to my new magento2.3.3

柔情痞子 提交于 2020-01-16 14:45:10
问题 How how do I migrate my old magento(2.1.5) database to my new magento2.3.3 ? my website run environment is : centos 6.9 apache 2.4 php 7.2.24 mysql 5.7.28 my new magento 2.3.3 is a clean project. no data ,no theme,no extension. 回答1: Migrate to Magento 2.1.5 to 2.3.3 (via composer) You need to know your server requirement for migrating 2.3.3 Server/System Requirement for Magento 2.3.3 Then, the second thing that you need to take the backup of database and your files from the server Enable

How to integrate AEM (6.3) with Magento (2.1.10)?

為{幸葍}努か 提交于 2020-01-16 07:41:11
问题 I wanted to integrate AEM (6.3) with Magento (2.1.10) to show products on AEM page, I have searched a lot but not getting any proper documentation. Although I followed below link : https://helpx.adobe.com/experience-manager/6-3/sites/deploying/using/magento.html Through this link I got connector, and I installed that connector for AEM, But I am not able to install the connector on Magento as I am new to Magento. I'd like to add connector in Magento or integrate AEM with Magento. 回答1: To

Magento REST API - How to determine the API base URL?

雨燕双飞 提交于 2020-01-15 10:22:51
问题 I'm running Magento 2.2.5 and was having trouble working out what the URL was for making API requests. For example to GET a list of countries I had seen the following syntax used: /rest/default/V1/directory/countries which has worked on some stores, but I was getting this error: { "message" : "Specified request cannot be processed.", "trace" : null } I started playing around with the URL format and removed the "default" and used this instead: /rest/V1/directory/countries and the requests were

Magento 2 tabs are coming under more information tab

徘徊边缘 提交于 2020-01-10 06:03:12
问题 Hi in my product page i have attribute like specification , item includes etc. Up to yesterday these tabs are coming individually . But today when i am looking on the product page there is new tab called "More information" . Under the more information the specification & item include is coming . How come this . Do you guys have any idea about this issue . 来源: https://stackoverflow.com/questions/59563229/magento-2-tabs-are-coming-under-more-information-tab

Magento 2.0

大憨熊 提交于 2020-01-07 15:33:12
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Overview Accept payments in Magento 2 using the Alipay Cross-border Website Payment Gateway. Advanced & deeply integrated by Alipaymate.com (Certified Alipay Open Platform Developer) Detail This extension allows you to accept payments made via the Cross-border Website Payment gateway of Alipay. The extension supports all of the 16 currencies, and Fully support CNY(RMB) price for checkout. It is easily installed in your shop, without having to make any changes to the source code. Features Use Alipay Asynchronous Notification to ensure order status consistent

Magento 2.0 Alipay Cross-Border Mobile Payment Extension

☆樱花仙子☆ 提交于 2020-01-07 13:46:57
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Overview Accept payments in Magento 2 using the Alipay Cross-border Mobile Payment Gateway. Advanced & deeply integrated by Alipaymate.com (Certified Alipay Open Platform Developer) Detail This extension allows you to accept payments made via the Cross-border Mobile Payment gateway of Alipay. The extension supports all of the 16 currencies, and Fully support CNY(RMB) price for checkout. It is easily installed in your shop, without having to make any changes to the source code. Features Use Alipay Asynchronous Notification to ensure order status consistent

Magento 2 Data Migration Edit Product Unable to unserialize value

烈酒焚心 提交于 2020-01-07 04:36:14
问题 I migrated magento site from 1.7.0.2 to 2.2 clean install. Migration completed without issues. However if I attempt to edit a product or add a new product magento displays an error : Unable to unserialize value. Does anyone know what im doing wrong here? Customers, categories and custom attributes all migrated without issue 回答1: The problem is in /vendor/magento/framework/Serialize/Serializer/Json.php There is a function unserialize($string) which gives you a syntax error if a string is