Questions tagged [magento2.3.5]
The magento2.3.5 tag has no usage guidance.
232
questions
0
votes
1
answer
25
views
Magento 2: Add discount based on individual qty and item to cart
I need to set cart discount based on individual qty and individual item for cart.
For example if cart have 2 item then lowest price item to give higher percentage discount, like need to add 10% and 20%...
0
votes
0
answers
24
views
Magento 2: How to use custom options in action apply field in cart price rule frontend
I have added two new option in admin cart price rule action apply section for give tier price discount based on apply rule in cart.
Percent Discount: Buy Min N Products, Get Tiered Promotions
Fixed ...
1
vote
1
answer
85
views
Magento 2: Cart price rule Actions dynamically add text field using UI Components
I have need to add dynamic text field in cart price rule edit section. when click on Add button text field should be added. And save data in salesrule table.
When select from Apply Percent Discount: ...
0
votes
0
answers
30
views
Magento 2: Facing issue with get current quote cart subtotal from RulesApplier plugin
I have using Magento\SalesRule\Model\RulesApplier Plugin. Using aroundApplyRules method need to get current cart subtotal. I have need customisation to validate condition for cart subtotal with cart ...
1
vote
1
answer
55
views
After changing to developer mode, I am facing the error Element 'remove': This element is not expected
After changing to developer mode, I am facing the error
My site is working perfectly until I change it to developer mode
Product page & News event page showing error. All other pages are working ...
0
votes
1
answer
25
views
Use Custom Module collection in other custom Module magento 2
I want collection of one module in other module. I am doing it like
use Test\CompanyAddresses\Model\CompanyAddressFactory;
class ReformatTelephoneField implements DataPatchInterface
{
protected $...
1
vote
2
answers
35
views
Magento 2.3.5 order email observer custom block enable to pass array
I have tried the following:
Observer
...
$transport = $observer->getTransport();
$transport->setTemplateVars([
'products' => [
['name' => 'Product1'],
['...
0
votes
0
answers
70
views
Magento2.3.5: How to get Customer Grid custom columns values in CSV?
I want to to add custom columns values in export option in customer grid, but only heading are showing in csv file not values.
here is my customer grid custom columns.
Vendor\Module/view/adminhtml/...
1
vote
0
answers
16
views
Unable to remove item from customer shopping cart from admin panel
I am using magento 2.3.5p2 Community Edition ( open source one )
I encountered this issue in which when trying to remove an item from a customer cart via admin panel, an error as below appear
Fatal ...
1
vote
1
answer
734
views
Magento 2 graphql get list of available shipping methods
I Could not find if there is or there isn't a query to get list of shippings methods available via graphql. ref: https://devdocs.magento.com/guides/v2.4/graphql/
Is there a query available?
0
votes
0
answers
174
views
Warning: Cannot use a scalar value as an array in C:\xampp\htdocs\magento\vendor\magento\module-email\Model\AbstractTemplate.php
I get this error ho to solve it ?
{
$store = $this->storeManager->getStore($storeId);
if (!isset($variables['store'])) {
$variables['store'] = $store;
}
...
0
votes
1
answer
182
views
I want to change url of wishlist to favourites using url rewrite
I want to do URL Rewrite of wishlist link to favourites but don't know how to do it if anyone can mention the whole process it will b great.
I really appreciate any help you can provide.
0
votes
1
answer
217
views
special price product collection working but loading speed is too slow ,I don't understand why the speed is so slow please help!
<?php
namespace Product\Discount\Block;
use Magento\Catalog\Api\CategoryRepositoryInterface;
/*
use Magento\Catalog\Api\CategoryRepositoryInterface;
use Magento\Catalog\Block\Product\Context;
use ...
0
votes
0
answers
34
views
Reset dependent swatches options if change first swatch(color) option magento 2 product page
There are 4 attributes are used as swatches color, height, width, weight
Color swatch's first option is selected by default and other options from other swatches are selected by the user.
After ...
0
votes
0
answers
48
views
Does any one know why the Image Detail page shows Image Size {0} , Image Resolution {0}^{0} px?
I've been doing work remotely on a huge Magento 2.3.5 project and have recently noticed whenever I'm creating a new page and am adding in my picture, I see the following:
I'm wondering if this is ...
0
votes
1
answer
35
views
M2.3.5.1-p1 Add canonical tag to Advanced Search page
I have a problem where my SEO tool finds /catalogsearch/advanced as no canonical link. I tried doing this link, which is basically the same question, but It wouldn't work for me, even after ...
0
votes
1
answer
879
views
Understanding data bind at minicart in magento 2
I am using magento 2
in mini cart, I am trying to get the event during which product is being added and removed, a specific item not by cart
shown is the item that exists in mini cart, I want that ...
1
vote
1
answer
485
views
The stock item with the "7003" ID wasn't found. Verify the ID and try again
Getting error while loading product stock data with Magento\CatalogInventory\Model\Stock\StockItemRepository class using get method with product id.
Code :-
$productStock = $this->...
0
votes
2
answers
301
views
Customer Registration not working
I'm using Magento 2.3.5, the customer registration doesn't work. It won't upload a new customer to the admin side. I am using custom attributes for my registration but that doesn't seem like the ...
0
votes
1
answer
47
views
Some old random orders are associated to newly registered customer Magento 2.3.5-p2
I have a problem about customer's orders. When new customer registers there is a chance that some random order will be attached to it. If I go to customer's orders I can see that they got orders which ...
0
votes
1
answer
151
views
How to get product custom option value using beforeaddtocart plugin in magento 2
How do I get the product custom option value in beforeAddtocart plugin method? I am using below function for this.
public function beforeAddProduct(Cart $subject, $productInfo, $requestInfo=null) {
$...
0
votes
2
answers
542
views
Include js file script in php observer file
I am using Magento 2.3.5-p2
I am adding a new module to add an Observer that will trigger some js code during an event that happens
below are the file and its content I have added
File Name and Path :
...
1
vote
0
answers
40
views
Magento 2 Get Event When User View List Product, Sorting, Filter, Clear Options, Pagination, Add Wish List
I am using Magento 2.3.5-p2
As stated in the title, I want to capture an event by the user when the user does any of the processes below
User View List Product
User Sort Product
User Filter Product
...
0
votes
1
answer
426
views
Magento 2 backend (v2.3.5/7) Login blocked after ONE failed attempt (Error: The account sign-in was incorrect or your account is disabled temporarily)
Introduction
A Magento2 site locks our admin user immediately after a single (ONE) incorrect login attempt.
The admin page will then give us this error message:
"The account sign-in was ...
0
votes
2
answers
180
views
Proper way to add Bootstrap and font-awesome CDNs to Theme (Magento 2.3.5)
I am trying to add these CDNs to my custom theme: app\design\frontend\Magento\test\Magento_Theme\layout\default_head_blocks.xml file but it's not working, error : failed to load resource.
<script ...
0
votes
1
answer
318
views
MSP ReCaptcha V3 - your reCaptcha reputation is too low. - duplicated newsletter form - same page
I have two newsletter forms on the same page, One on the sidebar and the other placed as a modal popup, I'm trying to implement Recaptcha for the modal popup newsletter form (which is the same ...
0
votes
1
answer
289
views
How to get value for Number of Lines in a Street Address that have been set in magento 2 configuration
I am using Magento 2.3.5-p2
I know that in Magento 2, the Street address configuration is not able to be changed through admin by going to
Stores > Settings > Configuration > Customers > ...
0
votes
1
answer
382
views
Magento2.3.5 Add and Save custom attribute in create new order from backend admin
I've successfully added custom attribute to checkout and when creating the order is saving in quote, and order table, but how to implement the same when creating an order via admin backend?
Thx in ...
0
votes
1
answer
2k
views
Magento 2.3.5 : Editing Billing Address and Shipping Address form.html
I am using magento 2.3.5 and require to change the shipping address and billing address field input during checkout, what I required to do is
change addresses input field label as per desired
change ...
0
votes
0
answers
44
views
Overwriting Session Config To Add In 1 Week Of Keep Me Logged in Cookies Features
I am using Magento2.3.5-p2 installed on Ubuntu 20.04
I am required to implement a function in which at the login page when the user ticks on Remember Me checkbox, the system will store the cookies for ...
1
vote
0
answers
46
views
Magento 2 - can the url_key product attribute be safely excluded from Search?
I recently did an analysis for a client on a Magento 2.3.5-p2 instance regarding some products being shown in Search results which didn't have the searched keywords in their sku, name and ...
1
vote
0
answers
211
views
Magento 2 Checkout Billing Address Before Shipping Address
What we would like to accomplish is the have the Shipping Address where Magento 2 has the Billing address and viceversa, where the checkbox saying that: "my billing address is the same as ...
0
votes
1
answer
319
views
how to save customer address attribute after order success event in Magengto 2?
I have added a new shipping address (without saving it in the address book) on the checkout page to place an order.
I want to update the existing default shipping address value (zone attribute only) ...
0
votes
1
answer
27
views
Magento 2.3.5 - Could we configure our installed module fields via Magento 2 CLI?
Could we actually configure our installed module fields via Magento 2 CLI?
For example:
# typical way to enable a Magento 2 module, via Magento 2 CLI
bin/magento module:enable Acme_Acme
# can we do ...
0
votes
2
answers
856
views
How to change PageBuilder product carousel default slidesToScroll option for various breakpoints?
Can someone help me to figure out the following:
Magento 2 PageBuilder product carousel needs to change the default slidesToScroll option for various breakpoints.
I have total 6 items displaying at a ...
0
votes
3
answers
365
views
Debugging redirect issues with Magento 2 custom controller
I'm trying to figure out why my custom controller is redirecting to the sales dashboard.
The way I understand it when Magento has an issue with either the form key or the routes, it just redirects to ...
0
votes
1
answer
408
views
How To Change vendor\magento\module-eav\etc\db_schema.xml column type?
I recently upgrade magento 2.3.3 to 2.3.5 and I had a error while runnig : php bin/magento setup:upgrade
Image Of Error : error
I follow to : vendor\magento\module-eav\etc\db_schema.xml and I see that ...
0
votes
1
answer
648
views
Salable Quantity is greater than quantity with some products
on some cases my salable quantity is greater than my quantity, not for all product but for example to 10 products on 1000.
I could not figure out why, I also tried to delete the product and insert it ...
0
votes
1
answer
30
views
404 error on specific admin page
This is my first question on the forum, so please bear with me :
Working on migrating a magento store using version 2.3.5 with imported data form a 1.9.3 magento store.
The problem I am having is that ...
0
votes
1
answer
77
views
Migrated Magento 1 Customer address does not show (shows variables as output instead)
First off, I have searched for a solution here, and on Github, this has never been answered specifically from what I can see, none of the answered items work.
Migrated Magento 1 address information ...
0
votes
1
answer
126
views
Convert Magento 1 (migrated) email templates to Magento 2 (variables)
Migrated Magento 1 into Magento 2 does not seem to contain any 'default' Magento 2 email templates (using the Magento 2 migration tool). It only contains the Magento 1 email templates that were ...
1
vote
1
answer
107
views
updateAttributes cannot be used to enable a product? (price index not updated)
We are enabling a disabled product with \Magento\Catalog\Model\Product\Action::updateAttributes
$this->productAction->updateAttributes([$magentoProductId], [
'status' => \Magento\Catalog\...
0
votes
1
answer
30
views
How to determine if the user tabbed out of a quantity field using knockout?
I've got a 3rd party module that is showing configurable product details in a grid (i.e. it shows a list of the simple options next to the price of the simple and a qty field, all in a table format).
...
0
votes
0
answers
141
views
Add multiple items to cart while saving cart
I've run into a problem with my code when I try to add multiple items to my cart. I've added a product with the ID of 7 to the cart and then i'm trying to add a product with an ID of 8 to the cart, ...
0
votes
1
answer
97
views
Getting 400 Error when Product Search Magento 2.3.5
When I tried to search a product in Admin Product Grid iam getting the Error, The corresponding error comes when particular search keyword enters.
Something went wrong with processing the default ...
0
votes
1
answer
191
views
Magento2.3.5 Disabled dynamic row system field
How can one add a disabled attribute to an input field in dynamic row system ref: https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/dynamic-row-system-config.html
What I've tried:
$...
0
votes
1
answer
22
views
Is it right or wrong to create tables in the magento 2 database?
Guys I'm new to magento development and I'm trying to learn how to create basic modules and I'm trying to create a module that registers some customer information and then returns it to the ...
0
votes
1
answer
276
views
Magento2.3.5 Dynamic Row Add New Column Removes Current Fields
I've added 4 dynamic row while back ref:https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/dynamic-row-system-config.html
Now I've added a 5th column but all the row data that was ...
0
votes
1
answer
152
views
Shipping price disappearing magento 2
when changing anything in the xml of the checkout cart index.xml file, the price next to the freight stops appearing in magento 2.3.5. I'm trying to organize the layout of the content but in any case ...
0
votes
1
answer
284
views
Magento 2 Theme Development Image to spread across home page
I can't figure out to spread a image across a screen.
It's in a block, which is then put into the cms home page.
Block;
<div><img id="intro-img" src="{{media url="images/...