All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Magento2 2.3.3 not creating symlinks for static files anymore

After a lot of searching on google, I hope someone can help me out. Magento2 version 2.3.3 is running on nginx with the sample config from Magento. PHP 7.1.33 is running via fcgi. The developer mode ...
0
votes
0answers
3 views

Slow Query Magento 2.3.0

One of the query is taking 1,197.66ms as per the DB profiler. SELECT COUNT(DISTINCT e.entity_id) FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_category_product_index_store1` AS `cat_index` ...
0
votes
0answers
11 views

What is the best practice to save a module state on Magento 2.3.x?

I need to save/retrieve information gathered my module. The information might be anything big or small. There may be one or many variables to save and retrieve. I have identified three ways to save a ...
0
votes
0answers
9 views

Need to create multiple Custom Options programatically

I want to create some custom option by code, and my code is not working properly, I have an issue it, is creating only one option that is on the last index of options array and having all values of ...
0
votes
0answers
6 views

Magento 2: Instagram Api Error - Invalid scope: ['basic']

I'm using Social Login Extension and getting below error while login to Instagram, "error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: ['basic']"} Let me know if anyone ...
0
votes
1answer
9 views

Get Products by Coupon

I want to get products by coupon code filtered whether by SKU or Mark so I can get theses details: ,order date price before discount , price after discount, name /surname of the client, telephone , ...
0
votes
0answers
12 views

Magento 2.3.3 installation with composer fails: Could not delete

I'm trying to install Magento 2.3.3 on Debian 9 over a virtual machine. I'm stuck during the magento installation process because of the magento-composer-installer plugin. I also did a manual ...
0
votes
0answers
11 views

How can sync contacts and subscribers in Magento 2 with SendGrid? Any suggestions please

I have a website on Magento 2 and I need sync all my contacts from Magento 2 to SendGrid. Track all new subscriptions, unsubscriptions from SendGrid and Magento. Also I need see and manage all ...
0
votes
0answers
11 views

How to observe event before saveShipping or saveBilling actions for address validation

The shipping and billing addresses in our shop are processed with leading and trailing spaces, which is causing problems with the shipping labels. To fix this I want to hook into the process before ...
0
votes
0answers
6 views

Magento Commerce Cloud 2.3 which template(s) for products displayed by page builder

In my custom theme I need to modify the product list/grid templates for products that were placed there using the page builder. Can anyone please tell me where I can find these template files? Thanks
0
votes
0answers
8 views

Magento 2 : Store Switch Problem

When I try to Switch store in Front-end I got below strange error message. The store that was requested wasn't found. Verify the store and try again. Store redirect properly there is no issue ...
1
vote
1answer
15 views

Magento 2: How to get additional attribute in a separate column while Export products?

I want to get an additional attribute in a separate column while Export products. Please help.
0
votes
0answers
11 views

For Image Gallery

I want to create Product image gallery in that when I am clicking on any Gallery image then it is shown as main product image so, I need some solution.
0
votes
0answers
10 views

Cron is not working for the certain time

I had added a cron which needs to trigger at midnight, But its not even triggering and not even getting stored in cron_schedule table. But when I try to run the cron every minute its working fine. All ...
0
votes
1answer
22 views

Magento 2 - Not registered handle cms_block_listing_data_source

I am getting the error "Not registered handle cms_block_listing_data_source" on the Blocks section of the admin and the error "Not registered handle cms_page_listing_data_source" on the Pages section ...
0
votes
0answers
9 views

getValueInclTax and getValueExclTax null in Checkout / OneStepCheckout

The methods getValueInclTax() and getValueExclTax() always returns null in checkout page: $valueInclTax = $subtotal->getValueInclTax(); $valueExclTax = $subtotal->getValueExclTax(); If I dump ...
0
votes
0answers
12 views

Anonymizing Magento 2.3 DB with fake data

I was tried to anonymize my Magento 2.3 DB with fake data and tried several tools. They are either too complicated or not working ... Anyone knows of a good tool or way to replace all data with ...
0
votes
0answers
5 views

How to add custom sort by option on list page and result should be based on discount percentage of products in Magento 2

I wants to display products on list pages based on discount percentage in descending and ascending order. Thanks
0
votes
0answers
11 views

AlgoliaConfig is not defined magento2

Homepage giving error "AlgoliaConfig is not defined" in console any suggestions.
0
votes
0answers
5 views

Configuring header and footer links from backend - Magento 2

I am a beginner and I am trying to develop a new theme in Magento. In the header, I have several menus and the same in the footer. I know how to manage the links using the XML file. But I need to ...
0
votes
0answers
6 views

How to display subcategory list in static blocks of Magento 2

I am making static block and listing products like this {{block class="Magento\Catalog\Block\Product\ListProduct" template="Magento_Catalog::product/list.phtml"}} but i want to display subcategory ...
0
votes
0answers
9 views

CRON job not setting up on linux

I have setup the corn command using crontab -e command. MAILTO="" * * * * * /usr/bin/php7.2 /var/www/vhosts/hostname/httpdocs/bin/magento cron:run --group="test" I have created module to run CRON ...
0
votes
0answers
10 views

Magento 2 Fotoroma Gallery last Image display in first position when image are greater than 7

I am setting product gallery image and trying to upload more than 10 image as thumbnail image but when I am uploading thumbnail images more than seven last image comes at first place.While last image ...
1
vote
0answers
14 views

Antivirus block website due to JS:MagentoStealer-A [Trojan]

Avast Antivirus showing that our website is infected with JS:MagentoStealer-A [Trojan] and block to connect it. The website works for those who don't use Avast. What should I do? Magento 1.9.4.2 ...
0
votes
0answers
13 views

magneto 2 shipping method price ascending or descending

Any one can help me Ok so I have shipping method sorting by price in checkout page. Magneto 2 defaults this to price descending all ups and usps. But I would prefer it to be by price ascending. i ...
1
vote
1answer
16 views

Product URL is not saving in URL Rewrite?

Product URL is not saving in URL Rewrites and i am getting product URL is like this https://vitalticks.in/catalog/product/view/id/3688/s/meta-paper-points-color-coded-and-length-marked/category/292/ ...
0
votes
2answers
26 views

Sub categories are not showing for the category in the backend Magento 2

I moved the category Ducati clothing inside Ducati Accessories category and then pushed it back as original but after this, when I click on the category Ducati clothing it is not showing the ...
1
vote
1answer
20 views

How to overrite cart subtotal price in order summary block magento2

can any one know that i want to update the price of the checkout page order summary Cart subtotal line. how can i do that ? knowckout file is render is subtotal.html : <tr class="totals"> ...
0
votes
0answers
8 views

Add Category Selection like Magento2 Product Add/Edit in Custom Form

In my custom module I have created a form using block method in admin. I have to add the Category selection in it same as Magento2 product Add/Edit. I referred this link how to add Category tree ...
1
vote
0answers
16 views

Magento 2.3.3 Store Switcher error

I have created multiple stores but when I select store from frontend than giving below error. I have attached the screenshot of the error. The store that was requested wasn't found. Verify the store ...
0
votes
0answers
15 views

Magento2: Media image type attribue not visible in product add/edit section

I have created a Media image type product attribute section and assign this attribute in default attribute set. But attribute not visible in product add/edit section. Attribute created: Assigned in ...
1
vote
1answer
22 views

Magento 2 payment methods based on billing address or shipping addrress

I have one small question, please suggest the correct answer. In Magento 2 payment methods are based on billing address or shipping address Thanks in advance
1
vote
1answer
16 views

Magento 2 Overide public static method of framwork class

I want to override public static function getCorrectFileName method of Magento\Framework\File\Uploader, I have check with Preference and Plugin but it is not working for me. Anyone have idea about ...
1
vote
1answer
23 views

Magento 2 - Dynamic Product Image Magnifier

I want to add magnifier with settings of top position,left position ,width and height to setup and show magnifier accordingly to settings when hovered on image.
0
votes
1answer
28 views

Attribute Set to much load in product page admin side in magento 2.3.3!

I have Magento site in 2.3.3 version, I have created the attribute set in the admin side using the default Magento attribute set option. - https://prnt.sc/qs3wiq on my site like 100000+ products with ...
4
votes
0answers
25 views

How to print columns which are coming from data dataprovider in listing uiComponent

I want to print the columns on screen which are fetched from dataprovider for my listing uiComponent. So where can i print those columns? Like in which php file. Thanks in advance.
0
votes
0answers
14 views

Magento 2 - Responsiveness test

I've tried to test my Magento store in a number of responsiveness test websites for mobile-friendliness but none of them load the pages. Other websites I own that are not Magento run work ok. Any ...
0
votes
1answer
35 views

How to get product quantity by product id from Magento 2.3 as an array for CSV?

Trying to get qty from Magento 2.3 with code below. It is a part of the code that gets quantity, which then goes into the CSV feed. public function getProductQty() { $objectManager = \Magento\...
0
votes
0answers
11 views

Magento 2.3.4 - Swatch Renderer assumes all attributes are swatches

See line 726 of the new swatch-renderer.js file for Magento 2.3.4 here. The jsonSwatchConfig JSON object only includes data for swatch-type attributes. (See \Magento\Swatches\Helper\Data::...
0
votes
0answers
13 views

How to check if a site is using MSInventory but not break sites that don't have it?

The upgrade from CatalogInventory to Inventory happened on 2.3.x but MSI can be installed on older versions. Also, I think people who have upgraded aren't automatically moved to MSI so people on 2.3.x ...
0
votes
2answers
16 views

Magento2 disable newsletter success mail

I did google how to do it, I found one solution online https://www.metagento.com/blog/magento-2-disable-newsletter-subscription-success-email https://github.com/metagento/magento-2-disable-newsletter-...
0
votes
1answer
21 views

Order items is empty when customer logged-in

I'm use following code to catch order information in this Observer : "sales_order_save_after" public function execute(\Magento\Framework\Event\Observer $observer){ $orderData = $observer->...
0
votes
0answers
14 views

Products not showing up in category but are showing up in layered navigation drilldown

I am running into an issue where I have about 1000 products in a category. I have it sorted by price as the default. When I go to the page, it is showing the price order correctly, only, there are ...
0
votes
1answer
15 views

Magento controller only executing once - cannot disable cache

I have a controller that only executes once after the cache is cleared. After that the response is always the same - cache is there instead of a new execution. The class is extends\Magento\Framework\...
0
votes
0answers
9 views

An element with a “root” ID already exists. magento/framework/Data/Structure.php:157

I have been receiving this error for a while in the exception.log. It links to Framework/Data/Structure.php /** * Create new element * * @param string $elementId * @param array $data * @return ...
0
votes
1answer
18 views

Magento 2: Catalog Rule Collection -> filter by store

I have the following block of code that gets all active catalog rules: $catalog_rule_collection = $objectManager ->create('\Magento\CatalogRule\Model\RuleFactory') ...
0
votes
1answer
11 views

Why I don't see any Magento projects in my Magento Cloud account?

I'm a new hired developer for a company that is using Magento CE as their CMS. I'm trying to set up a local development environment and it's telling me that I have to be authorized user on Magento ...
1
vote
0answers
13 views

Magento 2 - Show Subcategories and Images on Category Template

I want to show subcategories and the images on the category page. If the user clicks on Apparel the page would show all the subcategories with the subcategory image. I placed this code in my theme ...
0
votes
0answers
6 views

Allow the customer to charge to multiple cards

In Magento 2 using Authorize.Net as a payment gateway, Is there a way to allow customers to pay the balance in the shopping cart to be charged into multiple credit cards for a single order?
0
votes
0answers
23 views

Run M2 from subdirectory

Magento 2.2.6 Have the main directory / and subdirectories like /germany, /france/, /poland etc. each subdirectory has index.php file like: <?php /** * Application entry point * * Example - ...

15 30 50 per page