All Questions

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

Error occurred. Try to refresh page. magento 2

after changing the theme folder - when clicking at add to cart button - i got an error: Error occurred. Try to refresh page. using magento 2.4 on localhost xampp - thank you in advance for your help.
0
votes
0answers
4 views

Product View sort Images on gallery Magento 2.3.5

Im using fotorama vertical gallery widget gallery.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile /** ...
0
votes
1answer
6 views

How to make VAT field dependent from Company field for shipping address during checkout process?

I would like to have a dependency between VAT and Company fields for shipping address during checkout. Whenever VAT is filed, Company should be set as required field and the other way. Should I use ...
0
votes
0answers
3 views

Add a dynamic not for product attribute in the adminhtml

I'm trying to add a dynamic not based on the attribute-set besides the price field in Magento 2. After a lot of research, I've tried using PHP modifiers in UI components, and depending on the ...
0
votes
0answers
6 views

Magento 2 REST API bulk update product attributes

I am trying to update an attribute for about a thousand products using REST API. I'm using async/bulk/V1/products/bySku. It works perfectly, but it takes forever as it saves one product at a time. ...
0
votes
0answers
3 views

magento 2 - filterable attributes on frontend

there where some categories which lacked to display the filter possibilities on the frontend. I changed this in the dbase table: catalog_category_flat_store_2 On the category page which was lacking to ...
0
votes
0answers
2 views

New page in account dashboard

This is my current customer_account.xml file I am able to get the tab to display inside of the account dashboard but I am not able to render the page I need. My current file path is html/app/design/...
0
votes
0answers
4 views

There are no commands defined in the “cron” namespace

cron has stop running due to this err. any solution? Magento ver 2.3.5-p1
0
votes
0answers
6 views

My swagger is broken - FAILED TO LOAD API DEFINITION

I'm sure It’s likely improper comments on some interface files on custom modules. But my question is ... is there an easy way to search (grep) on the server or other command line type ways to find ...
0
votes
0answers
8 views

Load attributes on product page

I hope you can help me to find a solution. We're stuck ... We want to display on the product page a custom attribute. The custom attribute should show the expected delivery date (available, delivery ...
0
votes
0answers
6 views

Static files are missing after deploying Magento 2 in production mode

I'm using "push to deploy" method to deploy Magento 2 app with GIT. After pushing to master following commands are executed on the production server: git checkout master && git pull ...
0
votes
0answers
6 views

Change layout of main and subcategories

I'm aware that I can change the layout of a specific category by creating a layout file with the name catalog_category_view_id_123.xml where 123 is my category id. How do I apply a layout change to ...
0
votes
0answers
3 views

Update product details across the associated products

I want to build a custom module to update product title and price in customizable options of a product when the main product details are updated in the magento 2 backend. as shown in the below image i ...
0
votes
0answers
4 views

How to store the data when the input fields are dynamic?

Data is stored on the basis of the name attribute and the columns in the database but here since the question can be vary so how to store it? <div class="form-group"> &...
0
votes
0answers
6 views

Get new created column from catalog_product_entity_media_gallery_value table to frontend

I have added a custom field to catalogue product image. I created a column called alt to the table catalog_product_entity_media_gallery_value. I am able to add/edit the value to this new column ...
0
votes
0answers
8 views

Regenrate url error in magento 2.3.3

I have changed the url key for my product https://nimb.ws/54OkFK. The url rewrite is also generated. I used https://github.com/olegkoval/magento2-regenerate_url_rewrites module to regenerate url. In ...
0
votes
1answer
14 views

Magento 2: How to get last inserted custom table Id without saving new item?

I want to get the last inserted id to my block without adding new data into the table. I want to use this value to automatically filled in my phtml file. I tried getId and it's not working. I just ...
0
votes
0answers
5 views

Magento 2.4.2 : Reorder issue with product custom option error “The product has required options. Enter the options and try again.” on cart Page

Preconditions (*) Magento 2.4.2 Reordering an order with products that have required custom options as checkbox type. Steps to reproduce (*) Install and Setup Fresh Magento 2.4.2 Create a product ...
0
votes
0answers
11 views

Magento 2 DI creates two instances of a class and can't control which is one is being injected

I'm quite new to Magento 2 (.4.2) and I'm debugging some strange issue I'm having. We're facing an issue that it's impossible to sort the search results by relevance and looking at the code and ...
0
votes
0answers
7 views

Magento 2 : Uncaught TypeError: value.map is not a function at UiClass.setInitialValue (file-uploader.js:79)

Uncaught TypeError: value.map is not a function at UiClass.setInitialValue (file-...
0
votes
2answers
16 views

how to fetch core config value in observer

Hi i am trying fetch core_config_table values in observer but i only want to fetch fields using below code but no success. kindly please take a look and tell me what am i missing. $showTemplateHint = ...
0
votes
3answers
10 views

Editing admin credentials after installation

I've just created my first M2 website, but I have made a silly mistake. When I ran bin/magento setup:install command, I've not changed any of the following lines: --admin-firstname=admin --admin-...
0
votes
0answers
5 views

Magento 2 link of store->configurations->customer tab inside adminhtml phtml template file

I have an adminhtml phtml file. I want to add a link of page inside store->configurations->customer tab. I have "Add Secret Key to URLs" enabled. I have added this code to my phtml ...
0
votes
0answers
8 views

Set optionsCaption as preselected option with knockout js in dropdown list at checkout

I am trying to set the OptionsCaption as the preselected option in a dropdown list during checkout That's what it gives me so far. It selects the first item on the list instead. This is my code in js ...
-1
votes
0answers
10 views

FIND: Parameter format not correct

Error occurred while executing the command Command: find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + Error: FIND: Parameter format not correct
0
votes
0answers
5 views

X-Magento-Vary Cookie Set Incorrectly?

Have noticed that sometimes my X-Magento-Vary cookie is set serving me up non cached pages. Removing this cookie allows the FPC to work fine again. Not entirely sure when these should be set but have ...
0
votes
0answers
11 views

Magento 2.4 doesn't send mail to admin on change order status from using Observer

In my Magento 2.4 store it doesn't send mail to admin on change order status from using Observer. By using this it just reload and show white screen when i change the order status from Admin. My ...
0
votes
0answers
6 views

Magento 2 Cloud - Re-Enable Special Price dates

In Magento Community there are two fields special_from_date and special_to_date that let you choose when a special price is applied. In Magento Cloud they have removed this feature and replaced it ...
0
votes
2answers
22 views

Logging in Magento 2.4+

What are the different way a developer can log messages in Magento 2.4+? Zend logger can't be used anymore either.
0
votes
1answer
7 views

Wrong static files loaded

I've just deployed a new env and I'm getting some strange thing. In the frontend, my static files load properly from my custom theme frontend/Website/default/fr_FR But once I come into the admin, all ...
0
votes
0answers
8 views

Magento 2 - Size of styles

I'm asking myself about performance on Magento 2 websites. Indeed, Google says to me that 95% of my styles-m or l files are unused on homepage. That's a normal behavior, I suppose, it's the aim of the ...
0
votes
1answer
12 views

Magento2.4: How to get the language pack content only for frontend?

I have imported the language pack for French on our website https://www.mageplaza.com/magento-2-extensions/language-packs.html But the CSV file contains the language changes for both frontend and ...
1
vote
0answers
14 views

pg (payment gateway) and Magento order information are different

When a customer pays through pg(payment gateway), the product information sent by pg(payment gateway) and the product displayed by Magento Order are different. For example, I ordered 2 products, but ...
0
votes
0answers
10 views

How can i set wish list for guest user in magento 2?

i need set Wishlist for guest users also Guest can also able to add item in Wishlist. after add item guest login into account that time Wishlist must be marge. all Wishlist functionality must be ...
0
votes
1answer
19 views

how to get sku in template

I want get sku <?php echo __('Product code') . ": " . $item->getSku(); ?> This is my code, it not work <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING....
0
votes
0answers
5 views

Magento 2 pwa page cache

Is there any way that I can get the navigation menu data to PWA frontend from magento 2.4 page cache?i need to get navigation menu data directly from page cache through grapql.Please suggest.
0
votes
0answers
7 views

Magento 2.3 EE: Make reward points to not apply automatically

In Magento 2.3 EE, if a customer has reward points balance it is automatically applied to cart when the cart page is loaded and customer goes to the checkout process. I want to remove this ...
1
vote
1answer
31 views

Magento 2 : How to display cms_page custom attribute image in frontend?

After save image is store in pub/media/cms/page/attribute/my_image. And save image name in database cms_page table my custom column. So how to display image in frontend ? Backend image Fronted Image :...
0
votes
0answers
20 views

Magento 2: Custom customer image attribute image not uploading in custom directory while register customer

I have created customer custom Image attribute. When customer save image is uploading in pub/media/customer I have created custom grid and that grid showing customer image but that image is not ...
0
votes
0answers
11 views

Datepicker in custom widget Magento 2.3.4

Is there any chance to create a field in custom widget with datepicker? I have a field that means end of sale and now I can type there text in spcific format only. I want to have there a datepicker (...
0
votes
0answers
4 views

Stock status issue - Magento 2.3.6

We have an issue when we have 1 of something in stock, the value never goes from 1 to 0. And if we cancel the order, the value goes to 2 instead of staying at 1. Does anyone know why this is happening?...
0
votes
0answers
8 views

Cart page issues with js code

Uncaught TypeError: Cannot read property 'quoteData' of undefined at quote.js:33 at Object.execCb (0296d0f644f38fe0e0e3da5fa2b801de.js:1650) at Object.context.execCb (resolver.js:156) ...
0
votes
0answers
14 views

Add product to cart not working on configurable product after enabling MSI (Multi Source Inventory) Magento2

Not able to add configurable product to cart after I have enable the msi: It is showing error from graphql api: Product that you are trying to add is not available.
0
votes
0answers
6 views

Change Bundle Product images based on option selection - Magento 2

I'm looking for some custom solution for Bundle Products. Where Product Gallery Images will populate according to the selection of the Bundle product Options Our requirement: On Products Detail page (...
0
votes
1answer
5 views

Change sequence of fields in the CSV while exporting it from admin

I have a module that exports some data from admin to CSV file. Everything works fine but now I need to rearrange the CSV columns. I need to change the sequence of some fields in the CSV. Here is the ...
0
votes
0answers
11 views

Adding custom link in the beginning of the top.links section using default.xml

I have created a custom link using default.xml and moved it inside the top.links reference block. This is my code <referenceBlock name="top.links"> <block class="Magento\...
0
votes
0answers
13 views

magento 1.9 redirect to cart page

i am using magento 1.9 i have some products on home page and on category pages there is a button called "Buy Now" when user click on the button its make redirect to "Add cart" page,...
0
votes
0answers
10 views

How can set the Tax for specific country in Magento 2?

I have set the TAX for UAE and that is working fine but it should work only for UAE but it has applied for all the countries. I need to enable this only for UAE and it should not apply if customer is ...
0
votes
0answers
8 views

Product Thumbnails Showing up in Admin but not Frontend

I have small_image, thumbnail and base assigned for our product thumbnail images in the admin (which are visible there) which should be showing up on the frontend category pages. The placeholder ...
0
votes
0answers
5 views

How to I add a field in order email to show order count

I want to show a field in the order confirmation which has a count of the current customers orders, how can I get that done? (for Magento 1.9)

15 30 50 per page
1
2 3 4 5
2147