All Questions

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

Want to update column to colum value in Magento2 update query

Hello all I want to write a query magento 2 update query way where I can update 1 column value to another column value as below update table_name set column1 = column2 where id =1; Please help
0
votes
0answers
5 views

Create custom customer attribute magento2

I am trying to create custom attribute for customer , but it is not creating anything i cannot able to view in admin here is my code <?php namespace Test\Hd\Setup; use Magento\Framework\Setup\...
0
votes
0answers
4 views

Magento2 cart price rule with configurable product and simple product

I have a configurable product and 5 simple products Configurable product sku is DF-123 and its child products which are 5 different simple products sku is a,b,c,d,e 5 simple products:- a1,b1,c1,d1,e1 ...
0
votes
1answer
5 views

How to add table schema as a dependency in setup patch data?

I am creating a custom Module, in that I created a custom table and patch data. The patch data for inserting data into that table. Now the issue is, the custom table was created through declarative ...
0
votes
0answers
13 views

Call to undefined method Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor::getByEmail() magento2

I am trying to update custom attribute in magento2 but i am getting error while running this <?php namespace test\Org\Controller\Result; use Magento\Framework\App\Action\Context; ...
0
votes
1answer
12 views

how to move to next page if the products reach the limit of the page

i have some commands which has more product and because that the PDF reaches the bottom of the page in my generated invoice PDF , and the result is the social media was superimposed with the command's ...
0
votes
1answer
10 views

How to sync custom columns from sales_order to sales_order_grid in magento 2?

I create 2 custom columns in sales_order table and sales_order_grid tables. As far as I know columns will be sync by cron job if name of both tables are same. So I run a cron but data from sales_order ...
0
votes
0answers
16 views

Magento 2.4: Custom indexer not working

On running sudo php bin/magento indexer:reindex vsbridge_banners_promotion_indexer it show's error configuration was not found. Elastic search version 7.16.2 and vue store configuration are done from ...
0
votes
2answers
19 views

How to upgrade Magento Enterprise Edition?

I am a newbie for the Magento enterprise edition. I am upgrading Magento 2.3.5-p2 to Magento 2.4.0 in Enterprise Edition. Following commands used with MySQL 5.7 and php7.3: composer require magento/...
0
votes
1answer
18 views

Update customer custom attribute in magento2 programatically

I need to update custom attribute based on response from external API ,How to update the custom attribute from controller , here is my controller code <?php namespace test\Org\Controller\Result; ...
0
votes
1answer
15 views

Following products with requested skus were not found:

I'm using Magento 2.4.3 and have sold an item, but when I go to ship it, I get this error "Following products with requested skus were not found: Prod-P1234". The product exists with that ...
0
votes
0answers
16 views

page title TAB- Google search result

I want the order that appears in Google search to be the same as it is on the browser tab, it's the opposite for me. TAB: blah blah blah - TATATA Google search result: TATATA - blah blah blah For the ...
0
votes
0answers
6 views

How to associate report's data with store view currency?

I have an issue Is there an ability to present the report's data into its currency belonging to the store view? My project has 3 currencies (EUR & USD and GBP ). EUR for one store view, GBP for ...
0
votes
0answers
13 views

How we add a custom function to \Magento\LayeredNavigation\Block\Navigation

I overrode the \Magento\LayeredNavigation\Block\Navigation block and added a custom function, but while rendering the function in view.phtml, it shows a function not found error. Any once can help me. ...
0
votes
1answer
19 views

How to save uploaded images in a custom folder of pub media in magneto 2?

I want to provide a provision for uploading an image the image, should move/save to the custom folder which I have created in pub/media please be specific while explaining the code it will help me a ...
0
votes
0answers
17 views

Magento 2 : Set Catalog price rules based on customer IDs

I need to setup a catalog price rules based on customer ID. for that i added "customer_id column in "catalogrule_product_price" table. and put condition of customer ID in getRulePrice ...
1
vote
1answer
14 views

How to upgrade a Magento Cloud project via Composer?

In a Magento Enterprise or Magento Community version I just need to change the package version in my composer.json. How could I do the same in my Magento 2.3.7-p1 Cloud to update to Magento 2.3.7-p2?
0
votes
2answers
23 views

Syntax error when compiling / Upgrade from 2.4 to 2.4.3

I am getting this error when compiling my updated MCE 2.4.3 install. I have php 7.4.27 in magento and outside in the shell. I have read that this might be connected to wrong version of php but i ...
0
votes
0answers
14 views

Magento 2: Updating Module Specific CSS

I have added a module specific css file from within a module. I have a layout file at app/code/Vendor/Module/view/adminhtml/layout/catalog_product_edit.xml with the following contents: <?xml ...
0
votes
0answers
13 views

Installing Magento 2.4.1-p1 on a developer's local getting an error after running static-content:deploy -f

I'm installing Magento 2.4.1-p1 on a developers local using docker to create the environment. I have installed Magento and imported the DB and run: #This run just fine composer update -vvv #This run ...
0
votes
1answer
11 views

Unable to process binding afterRender error return on Checkout Page in Magento 2.4

In Magento 2.4, Checkout page I faced error. TypeError : Unable to process binding "afterRender: function () {return renderReCaptcha() }" How to solve this error?
0
votes
0answers
4 views

Magento2 : Unable to add custom column in Gift Message table

I am trying to add the additionally one fields in the Gift message on Magento2. Added the required text field in the Gift-message-form.html. Its displaying in the frontEnd. Also Created a field in the ...
0
votes
1answer
16 views

Calling Multiple functions from same controller in magenti2

I need to create multiple ajax function in same controller , here is my controller <?php namespace test\module\Controller\Result; use Magento\Framework\App\Action\Context; use Magento\Framework\...
0
votes
1answer
16 views

MySQL query for list all the categories and its description from Magento 2 database?

How to get all the categories and its description from Magento 2 Database using MySQL Query ?
0
votes
0answers
18 views

Rename loaded requireJS file after each change

I have a question about deploying JS files loaded using requirejs-config.js. I have a third-party plugin that needs overrides. So, I built a new plugin and inside the requirejs-config.js file I added ...
0
votes
0answers
7 views

I have to get the value '77203' of the attribute code 'country flag' in magento2 .The code I have written is given below Can anyone help

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $entityAttribute = $objectManager->get('Magento\Eav\Model\ResourceModel\Entity\Attribute'); $val= $entityAttribute->...
0
votes
0answers
6 views

I have to catch the KO variable's value spontaneously on the checkout page for postcode in order to call ajax request as soon as 6 digits are complete

I want to fire an ajax request as soon as the postcode variable completes 6th digit of postcode number in order to call ajax request to api to populate the city and state fields. I am getting the ...
0
votes
1answer
17 views

Add date picker on customer registration form in magento 2.2

I want to add DOB field on customer registration page with 3 dropdowns as Day, month and year (datepicker) Can anyone help me in that? Currently the DOB field is just a text box.
0
votes
0answers
16 views

CROS error on magento2 while using external API

I am trying to access an api using jquery in magento2 Here is my jquery code <script> require(['jquery'],function(){ jQuery(document).ready(function() { jQuery(".result")....
0
votes
3answers
13 views

How To Get The Tax Rate From A Product

I am looking to get the tax rate value from a product (not quote item) in a plugin, which fires on the beforeAddProduct() method. Currently I have the following in my plugin code: $taxClassId = $...
0
votes
0answers
4 views

Magento Category Feed cannot reindex

I was installing live-search on magento 2.4.2-p2, but I had an issue where reindex failed. The reason I cannot reindex is because the following error message: Category Feed index process unknown error:...
0
votes
1answer
18 views

How to upload Metapackage Extensions in Magento Marketplace?

How to Upload Metapackage extension in Magento Marketplace? I have two dependent extensions. Can I upload the dependent extension as individual extension? How to create shared package while uploading ...
0
votes
1answer
12 views

Override native js file

Simple issue : What should I do in order to override a native js file. In that specific case : src/vendor/magento/module-inventory-configurable-product-frontend-ui/view/frontend/web/js/configurable-...
0
votes
1answer
14 views

How to get the Order Id, Name and Email variables for a Shopper Approved survey?

Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty subscribed to a Review service from Shopper Approved We have been subscribed to the service from Shopper Approved for a long time. This ...
0
votes
0answers
7 views

How to get a Report with shipping/delivery zip code and sales amount not including freight/shipping?

Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty Because of complicated new sales tax rules in Colorado, we need a Sales Report which would show all orders (ideally with subtotals but ...
0
votes
0answers
8 views

How the sitemap dynamically generates the schedule?

I can't find the schedule for the cron job sitemap_generate. I find this path 'crontab/default/jobs/sitemap_generate/schedule/cron_expr' in the core_config_data table but I don't know where this path ...
0
votes
0answers
5 views

Dimensional shipping UPS Magento 2

I'm using UPS shipping in our Magento website. Currently, I'm able to retrieve shipping charges and no:of boxes required to ship the product using the weight of the products in the order. However, I ...
0
votes
1answer
12 views

Custom page builder content type preview.js error

I have a custom content type that I want to add an image uploader to. I was able to get the images to upload and display on the frontend. However, when I tried to add code to get the uploader to ...
0
votes
0answers
26 views

How can I pass custom form data and load result page using Ajax?

New to Magento. My goal with this is to have customer pick price range and sort order from a custom form I created, then when form is submitted have Ajax pass the form data AND load the new page with ...
0
votes
0answers
10 views

Something went wrong while saving the category - magento2.4.3-p1

I can't change the category name or category attribute value. It says "Something went wrong while saving the category". And sometimes it works. This is really confused to me. The version of ...
0
votes
0answers
10 views

Call to undefined method Closure::setPageSize()

On admin Grid load I am facing following exception: Exception in: Call to undefined method Closure::setPageSize() /var/www/topline.local/public_html/vendor/magento/framework/View/Element/UiComponent/...
0
votes
0answers
5 views

magento 2 : get simple product attribute on checkout cart

i am trying to get simple product attribute on checkout/cart Below is my code on Magento_Checkout/templates/cart/item/default.phtml $_item = $block->getItem(); $product = $_item->...
0
votes
1answer
16 views

Homepage routing problem with $this->pathConfig->getDefaultPath()

I'm currently running a Multistore Magento 2 site, I have 4 websites configured, 2 of which have multiple URL's to access the site. As a case example I have: domain-a.com www.domain-a.com domain-a.co....
0
votes
0answers
8 views

Magento 2 filter products collection by category and other attributes using filterBuilder

I'm trying to use a product repository to fetch a list of products. I want to fetch based on multiple filters (category_id, name, description and short description), combined with an OR criteria, but ...
0
votes
1answer
22 views

Where is this CSS located?

I'm trying to change the minimum height in the following CSS: But I cannot locate the CSS. When I check link under ".(index)1651" it points to https://domain.com/checkout/cart/:1651 I tried ...
0
votes
0answers
11 views

How to change (via CSS) the position of "Old Price" above the Regular Price?

Thanks in advance to anyone who can answer! 1) How to change (via CSS) the position of "Old Price" above the Regular Price. (As in the image below). 2) How to add this text "ou XXX de ...
0
votes
2answers
23 views

Magento2 text not getting translated when added in ar_SA.csv

vendor/magento/module-sales/Model/Reorder/Reorder.php Could not add the product with SKU "%1" to the shopping cart: %2 The above mentioned text si not getting translated when adding data ...
0
votes
1answer
8 views

How can I get the value '77203' using the attribute code 'country_flag' using php

getAttribute('country_flag'); ?> getData('value'); ?> getViewFileUrl('images/flags/usa.jpeg'); ?>" /> getViewFileUrl('images/flags/vu.png'); ?>" /> getViewFileUrl('images/flags/AU....
1
vote
1answer
18 views

Magento 2.3: How to add new product attribute options programmatically on Controller save?

Is there a way to add new options, programmatically, for a product attribute with attribute code 'brand' that is already created from admin? I want to add new options on Controller Save action. The ...
0
votes
0answers
8 views

Do Files uploaded through a Product-File-Option ever get deleted automatically?

Magento features the possibility to allow customers to upload files when ordering certain products using an option on product-configuration. The uploaded pictures are stored under magento-root/pub/...

15 30 50 per page
1
2 3 4 5
2180