All Questions

0
votes
0answers
2 views

Magento 2 Color Attribute: How to make the size of uploaded swatches match the default ones?

For our site's color attribute, we would like to use both the default color options and a few uploaded swatches. However, the uploaded swatches are showing up much smaller, with a white border around ...
0
votes
0answers
4 views

Different image on Visual Image Swatch for every product variation

how Can I set different image visual swatch for every product variation? For example I got 2 products with different variation, but I want their variations with different image, like in this link ...
0
votes
0answers
8 views

Magento 2 + Varnish + Nginx + SSL get real IP

I am having a setup for magento 2 with Nginx + Varnish + SSL in ubuntu server 18.04. Now with my setup I only get all logs in Nginx and inside magento admin coming from same localhost ip which Varnish ...
0
votes
0answers
4 views

Admin, Product page, Grouped Product Grid: need to change default pagination items from 20 to 50

i am searching a way to change the default pagination items number in the grouped product table in the product page form in admin. There is a know bug where you can't drag and drop item from a page to ...
0
votes
0answers
7 views

Magento2: How to merge tab (description and additonal details)

I want merge these 2 tabs because is issue in mobile view (too wide): https://prnt.sc/o2a0be https://prnt.sc/o2a0dj Anyone help how can I do it?
0
votes
0answers
10 views

How to get reset password URL?

How to get reset password URL ? I already asked questions here - Magento2: How to get Reset password link in custom email template but still not reply.
0
votes
0answers
11 views

Magento2 How can i create block on popup with product details?

I want to show product details on popup using controller. So how is it possible? $htmlCatInfo = $layout->createBlock( \Tigren\Ajaxcart\Block\BuildProductInfo::class, ...
0
votes
0answers
5 views

Split cart rules/discount over multiple lines

I am trying to work out where or how I can get the discounts/cart rules to be applied across multiple lines eg Current Display Subtotal: $xxx.xx Discount (Free Shipping, Applied Coupon Code ...
0
votes
1answer
9 views

Magento2 : Customers not showing getting an error in admin site

I have migrated data from m1 to m2. All data migrated successfully but when I go to all customers getting an error: Fatal error: Uncaught Error: Call to undefined method Magento\Eav\Model\Entity\...
0
votes
0answers
9 views

Magento 2.3 How to Auto Select Swatch Option Values if Only One Exists in Product View

I'm trying to have swatch option values selected on the Product View page if only one value exists. also, I have tried this reference but not working for me https://magento.stackexchange.com/a/...
0
votes
1answer
18 views

new orders are not showing in orders grid

I upgraded from Magento 2.5.0 to 2.3.1 I am using only PayPal as a payement method. new orders are not showing in the orders grid in Admin > Sales > Orders when I check PayPal summary I can find ...
0
votes
0answers
9 views

Edit Order return Guest form

I like to edit order return guest form. I edited in app/design/frontend/[theme]/Magento_Sales/templates/guest/form.phtml but form settings are in vendor/magento/module-sales/Helper/Guest.php. ...
0
votes
0answers
10 views

M1.9: To get calculated Customer Group Prices for Bundle Products using Product Object

Wanted to show bundle product's calculated price for customer group in Magento 1.9.3.x. I'm using Magento 1.9.3.x. Bundle product customer group price: Define some percentage to different customer ...
0
votes
1answer
8 views

Wrong Layouts in Adminhtml

I noticed a strange behaviour in a M2 System, I think this is related to a 3rd party module. All layouts which should be 1column layouts, are 2 column layouts actually so something overwrites the ...
0
votes
2answers
14 views

Magento2: Index page running problem (index source code displaying)

I have complete installation&run successfully magento2 package some days ago... But, Now I trying to run the package index.php source code was displaying while executing the magento2 package. i ...
0
votes
0answers
14 views

Magento2: Adding custom attribute to category doesn't show store specific value

I have created a custom category attribute using custom code from here , attribute created successfully and able to save the value. But I want to save store specific value in this custom attribute, ...
0
votes
1answer
21 views

How to add country field in contact form in magento 1.9

We want to add a country field in the contact form in Magento 1.9 We need country option as drop down. Also, we want to send the selected country in contact mail. My code <?php $_countries = ...
0
votes
1answer
14 views

How to add a datepicker field in Shipping address step at Customized checkout?

In the checkout page, we have two of the options. First one is School and the second one is Private person. Customer can order via school option and as well as the private person. In both the option, ...
0
votes
0answers
9 views

How to get total amount of reviews belongs to one category? [Magento 1.9]

I am trying to generate SEO rich data in Magento category page or listing page. I just don't understand how can I get the total amount of reviews that category got. I don't want to slow down the ...
0
votes
1answer
13 views

Question about shipper carrier codes for orders

I am writing integration code to connect Magento to our ERP system. I need to pass the shipping carrier code to our ERP order creation but the code in the order does not match our internal carrier ...
0
votes
2answers
13 views

Add a class or id when changing the language magento 2.3.1

pls help me! How to Add a class or id to html or body when changing the language magento 2
0
votes
2answers
18 views

Magento 1 | how get product attribute data

Sorry for my English. Hello. I have this code. $productCollection = Mage::getModel('catalog/product') ->getCollection() ->addAttributeToFilter('attribute_set_id',array(12,4)) ...
0
votes
1answer
13 views

Redirecting to setup page problem

I'm trying to access my already existing website that was clone from our repository. Now upon access it keeps on redirecting me to the Setup page. I'm not sure what happen but I already some suggested ...
0
votes
1answer
21 views

add style on static block

I have HTML code for slideshows and [CSS and javascript] but on the static block in magneto 2.3 I can not add a link to CSS and javascript Example . before save <script src = "http://localhost:...
0
votes
2answers
21 views

Can't override phtml template, displays blank page

I have override vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/address/edit.phtml and placed the replaced file in: app/design/frontend///...
0
votes
1answer
11 views

Magento1 | Collection how get all products where qty > 1, build query

I have this code $productCollection = Mage::getModel('catalog/product') ->getCollection() ->addAttributeToFilter('attribute_set_id',array(12,4)) ->setPageSize(...
0
votes
0answers
5 views

Price of product displayed incorrectly in Arabic view

While switching to Arabic view, price of the product is displayed as described : 150.00 is being displayed as 1,50.00. Please anyone help in resolving this.
0
votes
1answer
19 views

Sync google cloud storage with CDN to products images

I have a GCS folder with all my products images and now I've configured a CDN (always with Google) linked to this source. I would use these images for my Magento 2 store, specifically, I 'd like to be ...
1
vote
0answers
25 views

Observer for Abandonment of Cart

I need help!!! I am creating a module that integrates with another platform via API. I already got the Observer or Event for customer registration (customer_register_success), purchase completed (...
0
votes
2answers
27 views

Magento 2 system configuration state multiselect dropdown

First i have created country dropdown in backend system configuration, using source model as <source_model>Magento\Directory\Model\Config\Source\Country</source_model> Next based on ...
0
votes
0answers
11 views

Google analitycs dissapering after page loaded and wrong data

I've got problem with google analitycs in magento2. I turned on google analitycs on my magento2 shop but when i compare results between google adwords and analitycs I've got wrong data in analitycs. I'...
1
vote
0answers
18 views

Custom Attribute with custom Source is not appearing in Layered Navigation Magento1

I have created several attributes and want now to filter on them. I create the attributes with these values: $defaults = [ 'required' => false, 'comparable' => true, 'filterable' =...
0
votes
1answer
25 views

How can we migrate the data and settings from one magento 2.3.0 to another 2.3.0

There is some functionality issue with my site. And, I want to be sure that Is this issue in default Luma or not? I want to migrate admin data on fresh Magento2.3.0
0
votes
2answers
29 views

Event “customer_register_success” not working in Magento1.9.2.4

Here is the code- app/etc/modules/Ds_Customerlog.xml - <?xml version="1.0"?> <config> <modules> <Ds_Customerlog> <active>true</active> <...
1
vote
1answer
28 views

Cannot change the password via admin panel

We have set the password change as recommended. However, when we tried to change the password via the change your password link in the admin panel, it doesn't lead to anywhere. Also, I'm not ...
1
vote
1answer
33 views

Add Custom Validation Address Field in backend Magento 2

I Want To Custom Validation Customer Address Field On Admin Side I want to set min_text_length = 5 For Street Address And City Field Note :- Admin Side Not Frontend Side
0
votes
1answer
15 views

How to customize Add to cart functionality based on product categories in Magento 2?

I am using Magento 2.3.0 I have some products in my website which allows custom printing and these products are assigned in category "Printing Products". Now I want to customize add to cart ...
0
votes
2answers
18 views

Call to a member function toHtml() on null Magento 2

I am trying to show Product Collection in .phtml file of custom module <a href="<?= /* @escapeNotVerified */ $block->getProductUrl($_item) ?>" class="product photo product-item-photo"> ...
1
vote
1answer
20 views

Fire Observer for any page request within Magento 2?

Actually in my case i want to run observer which would just work like index.php bootstrap initialisation file. Here I want here it should be work for each page request within Magento 2. ...
2
votes
1answer
22 views

Preloader gif have white pixels on edges [on hold]

When I insert GIF into pre-loader - there are white pixels on edges. <img src="<?php echo $block->getViewFileUrl('images/CustomLoader-1.gif')?>" alt="<?php /* @...
3
votes
2answers
28 views

How to create a custom form?

I am trying to create a create a page in block but I'm trying to add a custom contact form. I can view it in frontend but it wouldn't work its not doing anything when I click submit. is there anyone ...
5
votes
1answer
52 views

How to get imageUrl using Jquery in magento2?

I want to change Image src using jquery in magento2, So how can I get Imageurl in jQuery? <field name="default_template"> <argument name="data" xsi:type="array"> ...
2
votes
1answer
19 views

Refined search queries

I am currently making a Magento 2 store, and have two separate searches; the first one is just a normal query that searches the whole product database. However, it's the second one that I'm having ...
2
votes
0answers
23 views

How is generated default meta_titles?

I need to export all the meta_title used for each products, categories and brands. Magento automatically generates the meta_title when they are not set in the admin meta_title field. I would like to ...
2
votes
1answer
13 views

Magento 2 : IE 11 Error “Expected identifier” on checkout page

On the Magento 2.2.6 checkout page, there is a javascript error in IE 11. The error is coming from the default.js file. Note : its working fine on all other browsers except IE11. JavaScript Console: ...
-1
votes
0answers
12 views

Use of exit language construct is discouraged [on hold]

if (sizeof($storeIds) > 0) { if (strpos($actual_link, 'store') === false) { $actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]store/".$...
2
votes
2answers
32 views

Magento 2: Create new customer attribute in module upgrade

I want to add new customer attribute 'business_type' which would be a selectbox. I want to do it in already created module, so I would need module update script. Can anyone help me on this as I am ...
3
votes
1answer
16 views

Custom Module in Magento 2 : Invalid template file error

I am making a form in front end in Magento 2 but sucked in this error anyone can please help me. Below are my codes: in app/code/My/Module/Block/Contact.php <?php namespace My\Module\Block; ...
0
votes
0answers
12 views

Magento 2 - Category attribute not getting saved to database

I am facing an issue where if i update few information such as meta title, meta keywords, meta description from admin panel for any category, then the meta title is not getting saved to database. ...
2
votes
1answer
24 views

Magento 2.3.1 Change city in checkout process from text to dropdown

I want to install this module to change city field in checkout process from text to dropdown using composer base on https://magento.stackexchange.com/a/248984/81017. I have tried to: composer ...

15 30 50 per page