magento2

Not able to place the order using paypal in magento 2 rest

吃可爱长大的小学妹 提交于 2019-11-29 15:31:00
I am developing an e-commerce mobiloe application using magento 2 rest apis only.This is the flow for making the REST API calls for order placement. 1.Create a cart api --> {{url}}/index.php/rest/V1/carts/mine This api will return a unique cart id 2.Add products to cart api --> {{url}}/index.php/rest/V1/carts/mine/items body -> { "cart_item": { "quote_id": cartId, "sku": skuName, "qty": 1 } } 3. Estimate Shipping Methods url --> {{url}}/index.php/rest/V1/carts/mine/estimate-shipping-methods body -> { "address": { "region": "Trivandrum", "region_id": 12, "region_code": "CA", "country_id": "IN",

How to install a language pack in Magento 2?

老子叫甜甜 提交于 2019-11-29 12:36:12
问题 I tried to follow the instructions from https://mage2.pro/t/topic/270 and http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-i18n.html#config-cli-subcommands-xlate-example2 but I still failed. I'm trying to change the text of the search box in the header from 'Search entire store here...' to 'Suche...' Right now, I have the following files in app/i18n/Test/de_ch composer.json de_ch.csv language.xml registration.php With this content in composer.json { "name": "test

How to install/enable intl and xsl extensions after installing PHP 7

人走茶凉 提交于 2019-11-29 11:03:54
问题 I installed php7/apache2.4/mysql5.6 via this script, but it turns out that the extensions xsl and intl are missing (need them to run Magento2). I'm using Ubuntu 14.04. 回答1: If it is for dev purposes only, the easiest way would be use a PPA like ppa:ondrej/php-7.0 and then apt-get install php7.0-intl and apt-get install php7.0-xsl . PPAs should NEVER be used in production. 回答2: You can run sudo apt-get install php7.0-intl to get it installed. You dont need PPA adding on 16.10 . 回答3: 1st you

Blank admin page on Magento 2.3.0 CE in localhost

耗尽温柔 提交于 2019-11-29 07:08:45
I have installed Magento 2.3 on my local-machine, installation goes fine. I can access my store at localhost/magento . I tried to access my admin page localhost/magento/admin_pogi but it gives me a blank page and redirected to the url http://localhost/magento/admin_pogi/admin/index/index/key/a062e79f617010c42b07d662103d5142cd9bbe86314fb54da3e4cb5542b11eee/ . What I have tried so far is to enable development mode, and I see this error on my admin page: 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'C:/xampp/htdocs/magento/vendor/magento

Uncaught SyntaxError: Unexpected token u in JSON at position 0

泄露秘密 提交于 2019-11-29 01:08:42
Only at the checkout and on individual product pages I am getting the following error in the console log: VM35594:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at run (layout.min.js:9) at app.min.js:1 at main.min.js:2 at Object.execCb (require.min.js:112) at Module.check (require.min.js:56) at Module.<anonymous> (require.min.js:72) at require.min.js:11 at require.min.js:74 at each (require.min.js:3) I am using a one page checkout extension, but when I disable that the error still shows. I thought it might had something to do with the reviews on

Magento 2 Search console error & Google structured data rich snippets

☆樱花仙子☆ 提交于 2019-11-28 14:29:51
i have a magento 2 website . In that i have home , about , contact , product pages . 1) I am generating snippest using https://technicalseo.com/tools/schema-markup-generator/ tool . So how can i insert this in my page ? . Can i write paste this code in content ? in which php file i can write this schema code ? For example my home page id is 1 , about 2 etc i have different schecam for each page . So in which pah page i can write if(id==1){schema 1 } if (id==2){ schema 2 } etc . 2) I am getting this error in search console . How can i solve this using code . Like if the product don't have any

To enable extensions, verify that they are enabled in those .ini files - Vagrant/Ubuntu/Magento 2.0.2

允我心安 提交于 2019-11-27 13:32:41
问题 When installing Magento 2.0.2 via composer getting this error: Problem 1 - Installation request for magento/product-enterprise-edition 2.0.2 -> satisfiable by magento/product-enterprise-edition[2.0.2]. - magento/product-enterprise-edition 2.0.2 requires ext-gd * -> the requested PHP extension gd is missing from your system. To enable extensions, verify that they are enabled in those .ini files: - /etc/php5/cli/php.ini - /etc/php5/cli/conf.d/05-opcache.ini - /etc/php5/cli/conf.d/10-pdo.ini -

how can i enable PHP Extension intl?

女生的网名这么多〃 提交于 2019-11-26 22:09:44
I am going to install Magento2 at my local server and it gives me following error notice. I am using XAMPP. When I tried to enable it from php.ini file it throws another error for missing dll: The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem. Any help? Raham First of all stop the xampp/wamp and then kindly remove the starting semicolon ( ; ) from your xampp/php/php.ini the following code. ;extension=php_intl.dll And then restart your xampp/wamp. I was also having the same issue, and just now i got it solved . Please

how can i enable PHP Extension intl?

偶尔善良 提交于 2019-11-26 07:28:39
问题 I am going to install Magento2 at my local server and it gives me following error notice. I am using XAMPP. When I tried to enable it from php.ini file it throws another error for missing dll: The program can\'t start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem. Any help? 回答1: First of all stop the xampp/wamp and then kindly remove the starting semicolon ( ; ) from your xampp/php/php.ini the following code. ;extension=php_intl.dll And