Questions tagged [magento2.1]

One of the latest released Magento versions, Magento Open Source (formerly Community Edition) is an e-commerce platform with several enhancements since version 2.0, regarding PayPal, BrainTree, interface management and several improvements for security.

One of the latest released Magento versions, Magento Open Source (formerly Community Edition) is an e-commerce platform with several enhancements since version 2.0, regarding PayPal, BrainTree, interface management and several improvements for security.

Released for GA (General availability) on June 23, 2016 [Magento Ushers In New Era of Commerce Innovation with Next-Generation Platform ][1]

Release Notes : Release Notes

Latest Release : 2.1.9

Links :

123 questions
0
votes
0 answers

Re indexing issue in Magento 2.1.9

Can anyone help me to short out reindexing issue. My version is 2.1.9 Total number of products is over 1 million. Re indexing always showing running.
0
votes
0 answers

Magento 2.1 Cant make pdf invoice when in production mode

When in development mode I can create pdf invoices just fine but when in production mode I get an error. Under sales > Invoices I'm clicking the "Print" button to get a pdf of a invoice (see link) It now says: There has been an error processing…
Mike
  • 1
  • 2
0
votes
1 answer

Magento 2 - Get product details in list view adding custom block using plugin

I was trying to use plugin system to modify block of every product listed. I was able to set it up in this way: Vendor/Module/etc/frontend/di.xml
Mike Walkowiak
  • 373
  • 2
  • 9
0
votes
1 answer

Getting Fatal error: Cannot redeclare class in magento 2

enter code hereI have created a module for fetching data from table but when i run the module i am getting a fatal error saying cannot re-declare class. I have only one class called hello. This is my first time creating a module, i don't have…
l12v6
  • 3
  • 4
0
votes
1 answer

Is it possible in magento 2.1.8 to create categories from product name like in shopify smart collections?

Is it possible in magento 2.1.8 to create smart categories like shopify smart collections? We want categories like shopify smart collections. i.e if any product name contain 'xyz' then category named 'xyz' created automatic.
0
votes
0 answers

Magento2.1.9 Cart rules configuration -discount for all items when I expect only for items which fulfill the conditions

I have a problem with the cart rule configuration. Although I set the rule for a particular category, if one item fulfills the condition -the discount is for all items even from other categories and those that do not meet the conditions. Conditions…
dyiko
  • 1
  • 2
0
votes
1 answer

Update Sendfrom name and email into Sales emails - Magento 2

I want to use custom sent from name and email id into the order email templates basis on some condition, if order mets with a condition Sender name and Sender email will be set different and shown into the email received but when the condition…
Pranav Patel
  • 154
  • 16
0
votes
3 answers

Proper way to select data from Magento2 Databases

I have created a PHP function to display data from database, and i'm triyng to include it in my megento2 block function, here is my code for Select data $dates = date("Y-m-d"); $phone = $_POST["phone"]; $sql = "SELECT * FROM otpp WHERE phone =…
ubakara samy
  • 159
  • 2
  • 3
  • 8
0
votes
0 answers

Magento 2.x 404 ressources loading issue

The issue is that after upgrading to a newer version of Magento suddenly all ressources which are being loaded over the /pub/static/... suddenly failed because there were being fetched as /pub/static/version123123123<- the number is random. Upon…
noa-dev
  • 3,561
  • 9
  • 34
  • 72
0
votes
0 answers

Magento 2: Generating Customer Session Based Caching Pages

Scenario: In an integration in Magento 2 with Full Caching. We have two types of customers Type 1 and Type 2. Both these types of customers are saved under same Customer Group we are distinguishing the customers based on a customer type attribute.…
Deepika Janiyani
  • 1,487
  • 9
  • 17
0
votes
1 answer

How to show customer custom fields old value in customer edit page in the front side in magento 2

I added some custom fields to customer in magento 2 programatically. They are displayed in register page and their value can be retrieved in admin panel. Now I need to show their value in customer edit page. How shall I read custom fields…
M Taheri
  • 1
  • 2
  • 4
0
votes
1 answer

Magento 2 deployed on Google cloud platform admin password not working

I have just deployed a Magento 2 site on Google Cloud Platform using their own tool (not bitnami). Everything seems fine but I just cant login with the admin password that was created by the installer. What can be wrong? I have changed the ip adress…
0
votes
1 answer

Magento 2: How do I get current language of store view code?

I'm trying to show a custom block for each store view / language. Therefore I want to create switch statement like: $lang = // Get language code or store view code here; switch ($lang) { case 'en': // English block break; …
Rick
  • 463
  • 7
  • 18
0
votes
1 answer

How to configure an existing Magento 2.1.7 project in another PC and Database?

I am new to Magento. I have a working Magento 2.1.7 project. I want to put it in git repository? If I put the working Magento directory into git and after cloning the repository to a local machine then how do I install the existing project and do…
0
votes
1 answer

How To Add Attribute to Magento 2.1.x Product Page

I hope this is a really simple question created only by my newb status to PhP and Magento. Question: Given the details described below, in the catalog_product_view.xml first attribute. What should this be to ensure I get my custom attribute…
1 2 3
8
9