All Questions

0
votes
0answers
3 views

Change Magento 2 catalog search result

I need to change catalog search result product, but I am not able to change result. $block->getProductListHtml() Above line displayssearch result, I tried to pass product collection and product ...
0
votes
0answers
3 views

M2.2.4 - Category page listing all products (when products per page set to 24)

I am experiencing an odd and troubling problem. On our production environment, all product pages are listing all products on the single page, in which some pages will have north of 2-300 products, ...
0
votes
0answers
4 views

Mageno2: Unassign category from a product in magento2.1

I am trying to unassign a category from a product. This category has large number of products assigned to it (like 1500+). I used the code $CategoryLinkRepository ->deleteByIds($categoryId, $...
0
votes
0answers
5 views

Multiple Database Records with Same Primary Key

I need to store relationships where a single attribute_id may be visible in multiple store_id and I was trying to use attribute_id as the primary key. It would be something like this: +--------------+...
1
vote
3answers
22 views

Get order increment id in observer

I have created a module to save order details to a custom mysql table after checkout completion. All works fine but the order id saves in the format "210"(order_id) instead of "1000000210"(...
1
vote
1answer
11 views

Category name on product url still working after “Use Categories Path for Product URLs” set to no

"Use Categories Path for Product URLs" set to no on admin panel But everytime I create a new product, it creates rewrite also for category/product url So both of them work: example.com/category/...
1
vote
1answer
13 views

magento2. Errors during migration

During the migration I encountered this problem. What to do to correct these errors?
0
votes
0answers
8 views

Magento UPS shipping methods displaying “Sorry, no quotes are available for this order at this time”

my store view is multi store view for US. I have configured UPS in Magento 1 store. I am having this problem at checkout, it keeps displaying "Sorry, no quotes are available for this order at this ...
3
votes
2answers
15 views

Custom router gives me “Front controller reached 100 router match iterations” when matches 404

I created a custom router this is my di.xml <?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ --&...
1
vote
1answer
16 views

Add link before Catalog Main Menu

I have add a custom link to main menu in this way Adding a non-category link to the navigation links in magento 2 but how can i put this link BEFORE catalog menu link position?
0
votes
0answers
13 views

Controller empties cart every first session but works perfectly every time after

I'm creating a custom module for Magento 1.9 to email cart items. Every time the controller is called (from any URL) it empties the cart, but every ensuing call works perfectly (maintain same session, ...
0
votes
0answers
13 views

Magento 2.3.1 not loading correct javascript files (tinymce)

I've upgraded from Magento 2.2.6 with Theme Ves Fresh 2. I have tried to clean all caches delete static folder and restart Varnish, but had no luck so far. The errors include: GET https://shop....
0
votes
0answers
26 views

Site loads very slow

When you go to my site https://www.uitverkoop.tips, it will take 10 seconds before you are on the site. How can this be? When you are on the site, and you go to different page, it loads normal. So ...
0
votes
0answers
19 views

Magento 2 v2.3.1. CRON causing intermittent Deadlock for cron_schedule

Magento 2 v2.3.1. CRON causing intermittent Deadlock for cron_schedule we installed vanilla M2 some extensions. But default CRON is leading to deadlock warnings. Maybe not critical but should not ...
0
votes
0answers
12 views

Varnish making admin ajax very slow

We are on Magento1.7 using Varnish+nginx+HHVM. Frontend part of the website is fast but on the admin side specifically when there AJAX calls it will take a lot of time. I observed that disabling ...
1
vote
1answer
18 views

Efficient method to load/get and assign multiple custom options/attributes from quote item?

Is there a more efficient way to load and assign quote item custom options/attributes? This is code in my Observer: public function MyFunction(Varien_Event_Observer $observer) { $QuoteObject = Mage::...
0
votes
0answers
21 views

magento 2 add Associate Simple Products with Custom Options to Configurable Product

I want to add the simple products with custom options to configurable product.When I am trying to add the simple product to configurable product, it's not showing after product save.Need suggestion to ...
0
votes
0answers
13 views

search criteria returns empty result

I'm using search criteria api to filter products, but it doesn't work for all attributes. It returns empty result for some attribute even there are products for that attributes
1
vote
0answers
24 views

How to call dispatch events specific for Mobile?

How to call dispatch event for REST API's only in mobile devices.
2
votes
0answers
17 views

How to Add checkboxes for default billing/shipping address and show as check/uncheck

Currently Billing and Shipping address don't have checkboxes to select, to change it from Billing to Shipping or Shipping to Billing. It only shows a message info. So, I want to be checkboxes as ...
2
votes
1answer
32 views

Magento 2: Run reindexer using REST API

Is any one having tried to create REST API so using custom API one can trigger re-indexing? which method do i have to mention in webapi.xml file as this is purely AREA::ADMIN activitiy. currently ...
1
vote
1answer
18 views

Magento 2 : toggle whole group in system.xml based on field in another group

I have created two groups in system.xml. I need to show/hide group 2 depending on the "Module Enable" field in group 1. But when I use the following code it hides both the sections and does not save ...
0
votes
1answer
21 views

Magento 2.2: How to display price block on product detail page in a custom theme

I want to display price and SKU in the product detail page. I've set luma as a parent theme. I am getting SKU under product-info-price div on frontend but not getting price. here is my layout file ...
1
vote
2answers
29 views

404 after running setup:di:compile, need to always run chown -R root:www-data . afterwards

I have noticed that from time to time my Magento installation shows 404 on all pages. Panic! After doing some research I found out that running: chown -R root:www-data . in the document folder solved ...
2
votes
0answers
17 views

Magento 2.2: AMP page is not working after installing varnish

I've installed 3rd party extension for AMP and it was working fine before installing varnish. After varnish, I am getting normal page and it starts fetching amp pages after opening 2-3 pages. Has ...
0
votes
1answer
41 views

Why preference not working in Magento 2 observer (Custom module)

etc/di.xml <preference for="Custom\Pricerule\Observer\Frontend\Catalog\Catalog\ProductGetFinalPrice" type="Lof\RequestForQuote\Observer\ProductGetFinalPrice2" /> observer/...
0
votes
0answers
16 views

Change Text in multilingual Magento 1 Store

How can I change footer links after language shifting in a multilingual Magento 1 Store ? I am trying to follow this links https://support.weltpixel.com/hc/en-us/articles/115001957893-How-to-...
0
votes
1answer
18 views

Magento 2.3.1 smtp on abstract.php setup

In the previous topic : Magento 2 smtp could not open socket 1: Magento 2 smtp could not open socket by akshay billore I encounter the same issue ,and i tried to do the same solution provided by ...
0
votes
0answers
20 views

Magento 2 how to match one item from one collection to another item in another collection if both are same then add to an array

I'm trying to compare two values from collection to another two values from another collection if they both are same then add that row to a array. How to achieve it. Can I get help? Thank you in ...
0
votes
0answers
16 views

Looking for an extension that allow all user to chip in into a group pledge

I need an extension that is similar to Kickstarter as extension. But in my Magento, where I want the user to click into a product and pledge into the product, where in backend, I would want user to ...
2
votes
1answer
25 views

Display sale badge on PLP

I am trying to display a 'Sale' badge on product category pages if the products have a special price. Though the isn't rendering anything. <?php if (_$product->getPriceInfo()->getPrice('...
1
vote
1answer
36 views

Disable / Remove link to Product Items in Cart

By default, when you go to the Cart, You see all the products you purchased on the left hand column and also all the products are linked to their individual product page. I'd like to remove that ...
0
votes
0answers
14 views

Add Customer Attributes through Admin Form

I'm trying to build a extension where I can dynamically add new Customer Attributes just like I would do with Product Attributes. The thing is that I'm new to Admin Grid and I'm not finding the a few ...
1
vote
1answer
29 views

Unable to initialize external jQuery in Magento2

I would like to initialize intlTelInput for the country code column. I have done below, in requirejs.config.js added below var config = { deps: [ "Ucs_Reson8/js/countryCode" ], paths: { ...
1
vote
0answers
18 views

How to solve Magento 2.3 Setup Version Errors

When running the command n98-magerun2 sys:setup:compare-versions I'm receiving the following errors: +-------------------------------------+---------+---------+---------+--------+ | Setup ...
1
vote
0answers
12 views

Bestsellers of current month rest api

I need to get bestsellers products for the current month. I use Magento\Sales\Model\ResourceModel\Report\Bestsellers\Collection, but I get bestsellers for all months, I used the following code to get ...
0
votes
0answers
13 views

What is the purpose of “configSource” in layout

What is the purpose of using "configSource in file "https://github.com/magento/magento2/blob/0eb8677b0b4e35606032e856cc1ef7c80e68829f/app/code/Magento/Captcha/view/frontend/layout/default.xml
0
votes
0answers
7 views

Magento 2.3.1 Vanilla Cron Error? Serialization failure: 1213 Deadlock found when trying to get lock

So we installed Magento 2.3.1 and some extensions. Nothing fancy. No data nothing. No errors until now. Only every once per day we see the below error via our admin email. Can be any kind of job ...
0
votes
0answers
11 views

How can I create a new STATIC Product attribute in Magento 2?

How can I create a new STATIC Product attribute in Magento 2? We use barcode as a unique identifier (same as SKU) and are considering adding this - same as sku - as a STATIC attribute directly to ...
0
votes
0answers
14 views

I can't get rid of the page URL key in my store homepage

Concisely, my store homepage shows the URL key "/home" and I can't get rid of it. If I browse the store root "www.website.tld/" I get an error "Too many redirects". I have already checked almost ...
3
votes
0answers
22 views

How do i add new order statuses in the dropdown other then “Pending”

I tried going through these steps here but it didn't seem to work. I want Check / Money order to have a default status as processing instead of pending. Enterprise/Commerce 2.2.6 STEP 1 Go to ...
0
votes
0answers
13 views

Product detail blank page

I updated my website to Magento 2.3.1, and thought everything was working. However the product detail pages all show a blank page, no errors are shown. I have enabled error reporting in both ...
1
vote
0answers
20 views

Set quote item product custom weight no holding through shipping

I am trying to set a custom product weight based on a set product custom option. I've tried multiple things like a plugin, before/after events, actual events like sales_quote_add_item etc. I am able ...
0
votes
0answers
12 views

Not able to post custom customer attribute data using soap api

I need to post custom customer attribute data using soap api. I am passing the array in api My array $customerdata = ['customer'=> [ '...
1
vote
1answer
18 views

How to show the exact output as per image on the cart page

Products and Subtotal is showing with inclusive tax but tax amount is getting ZERO How to show the exact output as per image on the cart magento 2
0
votes
0answers
16 views

Magento 2.3: Uncaught SyntaxError: Unexpected end of JSON input

I have an error in my admin configuration when viewing Payment Methods section which only appears when I enable the Amazon_Core module which prevents me from being able to save settings for my payment ...
0
votes
2answers
27 views

Magento 2: Problem when enable developer mode

I have a problem when i enable developer mode: This is my default.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/...
0
votes
0answers
12 views

Add dynamic custom attribute like price to bundle form product M

I want to know how to add a dynamic attribute like dynamic price in form of bundle product because i want to have in the dropbox the value of this attribute -and the value of price now when creating a ...
0
votes
1answer
20 views

Magento2.3: Order not Place and Redirect to checkout/cart page

I have upload my Magento2.3 site on site ground. Others things are working fine but order not place redirect to checkout cart page. system.log: [2019-04-19 12:15:47] main.INFO: Broken reference: ...
0
votes
1answer
30 views

how to update data in database table

I am sending data to the database by checking duplicate data. But I can't be inserting/updating data in the database. protected function saveEntityFinish(array $entityData, $table) { $...

15 30 50 per page