Jan 21 17:10
1
Q: Restrict shipping method for specific city

Dun7illI've two shipping methods (flatrate + custom method ) I want to restrict them for specific city. How I can do that ? I've checked too many posts regarding this but I didn't find the answer. I need detailed answer please. Thanks in advance.

Oct 22, 2024 23:41
1
Q: Usage of queue.xml in Magento 2.4.x?

MagePsychoIn my RabbitMQ implementation, I've been working with the following XML files: communication.xml queue_topology.xml queue_consumer.xml queue_publisher.xml However, I recently came across another file, queue.xml. Can anyone explain what the purpose of queue.xml is and how it fits into the Rabbit...

Jul 10, 2024 14:35
1
Q: Best Practices for Retaining and Managing Subscription-Based Third-Party Extensions After Subscription Cancellation in Magento

ZahirabbasWe have a third-party extension for our Magento store that we purchased on a subscription basis. We've decided not to continue with the subscription, so we cancelled it. However, we want to continue using the current version of the extension on our site. Our concern is about future Magento upgrad...

May 30, 2024 18:43
2
Q: Magento2.4: How to show custom table data using knockoutJS?

Xerxes OwenSuppose I have a custom table and some fields like entity_id, code, title, description and image_path. And I require that I want to show a drop-down (key=>value) on the custom page where some options will be shown and based on that selected option I want to show the records using knockout. whenev...

May 21, 2024 20:47
1
Q: Magento 2.4.7: Page Builder was rendering for 5 seconds without releasing locks

Jaimin SutariyaI am facing issue with my pagebuilder on server. I am using apache server for my Magento (2.4.7) instance. When I first open the category edit page on incognito mode, I open the pagebuilder, add my content and save the category. It works the first time. If I again open the pagebuilder, update the...

Apr 16, 2024 22:51
1
Q: Frontend error after upgrade to Magento 2.4.7 Error: Cannot instantiate interface Magento\Csp\Model\Collector\MergerInterface

pajAfter performing a test upgrade from Magento Open Source 2.4.6 to 2.4.7 the frontend does not load returning the error Error: Cannot instantiate interface Magento\Csp\Model\Collector\MergerInterface in /var/www/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 setup...

Feb 28, 2024 13:13
2
Q: How to update cart item and cart summery data on cart page in Hyva theme or Alpine js ajax response?

ARJUNHow to reload cart item and cart summery data on cart page in Hyva theme or Alpine js ajax response.

Feb 22, 2024 14:05
1
Q: How Can i Create Order for bundle product in Magento2.4.6 Programatically

amith lalI have a requirement In Magento 2.4.6 to create an order with bundle product Programatically. here i need to add selected bundle option along with related product while creating order, can anyone help me on this

Jan 23, 2024 23:53
1
Q: Where does Magento 2 save session?

Bruno Depieri BarduchiWhere does Magento 2 save session files? According to the documentation, it is possible to save in the database, in redis, in memcache or in files, but in the default installation it looks like this. 'session' => [ 'save' => 'files' ], I checked the var/session folder and there is nothing, not ...

Dec 20, 2023 14:21
1
Q: Using if statement in phtml

ShaunWould like to put an if statement in the below code as follows. If saleable qty <=0 (equals 0 or under), add CSS. Otherwise, add different CSS <div class="left-stock"> <strong> <?= ($block->salebleqty() != '') ? $block->escapeHtml(__('Only %1 left in stock!', $block->salebleqty())) : ...

Dec 13, 2023 16:10
1
Q: Facing issue in composer.json file for an extension

Tisha JhanwarI have mentioned in my one of extension in composer.json. Could anyone tell what does it mean. I think it means that the php version should be greater than 7.4.0 but less than 8.2.0 but when i installed it on version 8.1.25 it gave this error - version has a PHP requirement incompatible with you...

Dec 8, 2023 12:37
1
Q: complex type 'mixedDataType': The content model is not determinist. magento 2.4.5

kiranI have an issue on a Magento 2.4.5. I got below error. 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationSchemaException): Processed schema file: /home/public_html/vendor/magento/module-elasticsearch/etc/esconfig.xsd complex type 'mixedDataType': The content model is not determ...

Dec 6, 2023 12:57
1
Q: How to change of the invoice pdf file name with the invoice ID generated from admin?

Shiv Om Mishraadd in di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\Sales\Controller\Adminhtml\Invoice\AbstractInvoice\PrintAction" type="Custom\Module\Co...

Nov 30, 2023 17:43
1
Q: Products regularly not showing up but reindex

VulcanI'm new on setting up Magento. I'm currently on 2.4.6-p2, which I had imported a list of products by csv. Previously on the Index Management I was using "Update on Save" which the product can load properly in the frontend at that moment, But after a day, I can see most of the products are not lon...

Nov 10, 2023 19:24
1
Q: The value of Admin scope can't be empty

Baby in MagentoWe have created Multiple Select Attribute with 3 values, it displaying in product edit page in backend as below : Now we want to create one more option for that attribute and that value should be empty , when i created with empty value and tried to save , i got error as : The value of Admin scop...

Nov 9, 2023 13:54
1
Q: Magento not showing products in category list page due to elastic search issue

Ansar HusainI am getting that exception when view category in front end , I did re index also. [2023-11-09T05:26:45.393702+00:00] report.CRITICAL: Elasticsearch\Common\Exceptions\ServerErrorResponseException: {"error":{"root_cause": [{"type":"no_shard_available_action_exception","reason":null,"index_uuid":"...

Nov 6, 2023 15:55
1
Q: How to add custom sort like Most View and Best Selling products in API of Product List in Magento 2?

DevidasHow do we add custom sorts like Most View and Best Selling products in the API of Product List in Magento 2? I need to add the most views and best-selling products in /V1/products to this API using search criteria. eg: http://domain.com/index.php/rest/V1/products?searchCriteria[page_size]=10&sear...

Oct 12, 2023 21:30
1
Q: Apply Catalog Price Rule Excluding Tax

Baby in MagentoI Created New catalog price rule in 2.4.5. Product A = Price = 103 [ 100 + 3 ] Where 100 is Product Price & 3 is Tax. After I created Catalog Price rule, Now the discount is applying to 103, but i want to apply discount for only 100. I do not want to apply discount for TAX [ 3 ]. or Can we do ...

Oct 5, 2023 21:39
1
Q: Not able to download magento2.4.6-p2

VivekUsing = php8.1 composer version = 2.2 In side auth.json updated repo.magento.com public/private key and all PHP package which is dependant with this version. still greeting this issue. **Guide me on this please** auth.json { "bitbucket-oauth": {}, "github-oauth": {}, "gitlab-oauth": {}, "gitlab...

Aug 25, 2023 14:39
1
Q: Hyva Themes : Magento2 How To Create Sticky Header?

GullibleI'm looking for a code that can help me with sticky header for hyva themes.

Jul 27, 2023 13:20
1
Q: Deprecated Functionality: Creation of dynamic property $_coreRegistry is deprecated

G. G.I am having this issue with magento 2.4.6 custom module and php8.2 This code: public function __construct( \Magento\Framework\App\Helper\Context $context, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\ObjectManagerInterface $objectManager, ...

Jul 25, 2023 18:19
1
Q: Exception error : Unable to send data to service in Magento SaaSCommon module Magento 2.4.5 EE

RejithHi I keep getting this error in exception.log, but the site functions properly (Magento 2.4.5 EE), not sure what is causing this. Any Idea ? [2023-07-24T23:58:06.458525+00:00] report.ERROR: Unable to send data to service {"exception":"[object] (Magento\\SaaSCommon\\Model\\Exception\\UnableSendDat...

Jul 22, 2023 04:31
1
Q: Im trying to add an image to a html override file for the paypal module

atomic-agI'm working on a Magento 2.4.6 project and need to add an image next to the PayPal image in the PayPal module html file. I created a override file and verified that it's working however the image Im trying to add does not show up. I tried retrieving it in a similar fashion to the PayPal image bu...

Jul 21, 2023 05:03
1
Q: Do a 301 redirect if there is no products in the current category

ameshAs a part of the SEO optimizations, when a customer go to a category page and if there is no products in the category, can we redirect it to a 301? Eg: As a part of -ve testing, if we load the category page with a non valid page number, then magento will show the message as "We can't find product...

Jul 18, 2023 01:42
1
Q: Payment method class override

sagar nakraniIs there any way to override this class "vendor/paypal/module-braintree-core/Gateway/Command/GatewayCommand.php"? I have tried to override this class method using plugin and preference but no luck. Thanks,

Jul 16, 2023 17:29
1
Q: I have products such as gaming tables and chairs I want to add two prices to them Price with carton and price without carton how can I do that

mdm95I have products such as gaming tables and chairs I want to add two prices to them Price with carton and price without carton how can I do that

Jul 15, 2023 00:08
1
Q: Why i still have errores if i disable new relic module in magento 2

Francisco MunizI have magento 2.4.4 I removed new relic module. but when I do a inspection on my website. I havea a new relic error. How can i get newrelic out of my system. I also stoped new relic service on my server. POST https://bam.nr-data.net/1/NRJS-3b583d56b6b427adda9?a=1336092316&v=1.236.0&to=YFUAMkpUXk...

Jul 4, 2023 13:59
1
Q: How do I set the minimum quantity and default quantity to be different?

qɐʇǝɥɐWI would like to configure my Magento store (Version: Magento 2.4.5) to have a Minimum Quantity of 1 and a Default Quantity of 5 for the products. Could you please provide me with instructions or guidance on how to make these specific changes? I have tried: Store > Catalog > Inventory > Product St...

Jun 27, 2023 11:02
1
Q: How to extend catalog_product_view.xml for a specific product type?

Nghia Hoang TrongI created a new product type, and I want to create a product page in the frontend. How can I customize catalog_product_view.xml without affecting other product types?

Jun 26, 2023 00:14
1
Q: Recommended IDE for Magento coding and development

Madhankumar VWhich Integrated Development Environment (IDE) is widely recommended for coding and development in Magento2? What are the key features and advantages of the suggested IDE in relation to Magento development? Are there any specific considerations or extensions/plugins that enhance the Magento devel...

Jun 25, 2023 21:18
1
Q: What are the inventory(MSI) options available in Magento 2?

Madhankumar VI'm looking to understand the inventory management features in Magento 2. Can someone explain the different inventory options available in Magento 2 and how they can be utilized? Specifically, I'd like to know about the following: Stock management: How does Magento 2 handle stock management? Can ...

Jun 25, 2023 17:07
1
Q: How does the cron functionality work in Magento 2, and how can I configure and manage cron jobs effectively?

Madhankumar VI'm looking to gain a better understanding of how the cron functionality operates in Magento 2 and how I can utilize it for scheduling and automating tasks within my store. Specifically, I have the following questions: How does the cron system work in Magento 2? What are its key components and ho...

Jun 25, 2023 02:27
1
Q: How and when should I use the Magento 2 commands bin/magento setup:upgrade, bin/magento setup:di:compile, and bin/magento static:content:deploy -f?

Madhankumar VI'm new to Magento 2 and I'm trying to understand the purpose and appropriate usage of some important commands. Specifically, I would like to know more about the following commands: bin/magento setup:upgrade bin/magento setup:di:compile bin/magento static:content:deploy -f What are the specific f...

Jun 25, 2023 01:36
1
Q: Difference between bin/magento c:f and bin/magento c:c cache commands in Magento 2

Madhankumar VI would like to understand the difference between the bin/magento c:f and bin/magento c:c commands used for cache management in Magento 2. Although they both serve the purpose of clearing the cache, I would like to know their specific functionalities and when it is appropriate to use each command...

Jun 19, 2023 16:30
1
Q: Magento 2.4.5-p2 admin grid are stuck on loading until refresh the page

Ranvir SinghAfter login in Magento admin grids are stuck on loading. It's continue loading until we not refresh the page while the grids are stuck on loading we are not even able to open any other tabs from admin for example : if i open sale -> order grid [ its stuck on loading ] & other tabs are not working...

Jun 1, 2023 13:41
1
Q: How i fetch comma separate email from system.xml

Alok TiwariThis is my system.xml file ScheduleContentNotifier\etc\adminhtml\system.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> <tab id="custommodule" tran...

May 31, 2023 14:50
1
Q: Is there any API to get Products details in magento2 without Bearer Token

Syed Hassan ZamirI want to get products By Id but it the way i am doing this doesnot return some product details in case of configurable <?php namespace Vendor\MobileApp\Model\Api; use Vendor\MobileApp\Api\ProductInterface; use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory as ProductsCollection...

May 24, 2023 15:51
1
Q: Many of the commands are missing in CLI

Jaimin SutariyaI have installed a latest magento version 2.4.6 on my machine. The setup is complete, but I can not able to execute most of Magento's commands. If I do php bin/magento it gives me only below list of commands. Available commands: completion help list admin admin:user:create app app:con...

May 17, 2023 17:26
2
Q: Uppercase to lowercase

tricksiI have capitalized all my products title, is there a way to convert all products to lowercase? Is there a way to do it without an extension?

May 16, 2023 15:31
1
Q: Magento2 Invoice Print PDF editing

Sanaullah AhmadI wan to edit the totals of Invoice print in PDF format. If it was HTML page than its easy to inspect it. But I can't find where i can adjust the widht of a cell. As you can see the Discount text is overlapping. The file involved in printing is this. And here the code of my printing php file app...

May 5, 2023 14:07
1
Q: Magento2 B2B Website

Masud ShaikhI want to develop the B2B website in Magento Community Addition. Is it possible in Magento2? How can we create B2B website in Magento 2? Any one can help in this?

Apr 30, 2023 11:59
1
Q: How to set magento 2 sudo chown -R username:www-data

AngeloI'm using ubuntu 22.04 to install magento2.4.6, but I'm confused about sudo chown -R user_name:www-data ., what should the user_name be, ubuntu or root. The default ssh user of ubuntu 22.04 is ubuntu. mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'demo12345679!';...

Mar 28, 2023 13:42
1
Q: Magento 2 : How to modify side navigation bar in my account page

Nihal ShanthaI need to modify side navigation bar on my account page as below. I tried to add some lines to customer_account.xml but its not worked.

Mar 14, 2023 18:41
1
Q: How to override page builder upload.php in magento 2.4.5?

Dhirendrasinh RathodI want to override vendor/magento/module-page-builder/Controller/Adminhtml/ContentType/Image/Upload.php. please help me. I want to allow webp extension in code using the override method.

Mar 10, 2023 13:14
1
Q: How to setup HTTPS URL on local project using ngrok in Magento 2

Mohit PatelHow to setup HTTPS URL on local project using ngrok? I have one project and need to this project url with https. Anyone know let me know. THANKS.

Mar 6, 2023 14:29
1
Q: Override item layout of credit memo in email template and add new column

Mitul VadaliaI want to override the item layout in credit memo email template and want to add new column in that. I tried to override that but that item layout in email template is not showing. Overridden email path:- app/design/frontend/<company_name>/<theme_name>/Magento_Sales/email/creditmemo_new.html <!...

Mar 4, 2023 18:29
3
Q: Magento 2 community edition

David BeckhamWhat are the key differences between Magento 2 Community Edition and Magento 2 Enterprise Edition, and which one is the best fit for your business needs?

Mar 4, 2023 14:36
4
Q: base table view not found

Noor: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database_name.users' doesn't exist in C:\xampp\htdocs\training\DB\loginn.php:19 Stack trace: #0 C:\xampp\htdocs\training\DB\loginn.php(19): PDOStatement->execute() #1 {main} thrown

Mar 3, 2023 14:23
1
Q: MAGENTO 2: PHP Parse error: syntax error, unexpected 'MageSuite' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) ... on line 7

TomI installed the module and after command bin/magento setup:di:compile I receive error: PHP Parse error: syntax error, unexpected 'MageSuite' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) ... on line 7 protected \MageSuite\LowestPriceLogger\Model\GetCurrentDate $getCurrentDate...

Feb 21, 2023 16:47
1
Q: Extension Integration Access Token for Rest API is not working in local

Mohamed AbbasI am using Magento 2.4.4 with xampp in my local.Have created extension integration token and added acl for newly created custom rest api resource. when i was provide access Token in my rest api as authorization bearer token , still service responded as 401 and error message "The consumer isn't au...