All Questions

0
votes
0answers
4 views

How to change my url from www.xxx.com/Magento to www.xxx.com

I am running Magento 2.2.7 and my current url for my store is https://shop.xyz.ca/Magneto and I would like to change it to be https://shop.xyz.ca/ I am set up on Windows Server and using Xampp 3.2.2 ...
0
votes
0answers
3 views

Faster way to doc code

Take this random class https://github.com/magento/magento2/blob/2.3/app/code/Magento/Checkout/Helper/Cart.php Got a mixture of code comments for class, variables, constants, methods etc all nice and ...
0
votes
0answers
4 views

Get Filters selected in admin sales order grid

How can I retrieve the selected filters when a sales order admin grid loads programmatically in Magento 2? For e.g., if the filter is selected as Status = Cancelled, I want to be able to access it ...
0
votes
1answer
6 views

Translate Knockout Variables

I've been trying to get the shipping titles to translate with no success so far. It seems most questions deal with knockout text but I'm trying to do it on a variable that doesn't seem to be working. ...
0
votes
0answers
7 views

Add arguments in CMS Block

The project is using the Bluefoot plugin to add the block in cms_index_home. I created a static block in Magento Admin with the follow content: {{block class="Webjump\ProductsRegulars\Block\...
0
votes
0answers
6 views

Magento cloud Setup multiple issue

The website constantly give 502 error whenever tries to edit any product or upload a product error: Lock tables although only a single query is running Next error: When i check Nginx access logs &...
1
vote
0answers
8 views

Add custom address attribute to checkout

I create custom address attribute, same as suggested here: https://codeblog.experius.nl/magento-2-add-extra-billing-or-shipping-field-to-the-checkout/ But when I'm place order there is error occurs: ...
1
vote
1answer
5 views

magento 1.8 store view language specific

app/locale/My_Language is right there, but 80% of front-end dispays in english.. My_Langage is set up in Back End though.. I guess back end needs more tweeking. Any leads ?
2
votes
2answers
18 views

How to get Current Module and Full Action Name in ajax controller

I need Full Action Name in Ajax Controller Magento 2. protected $request; public function __construct( ... \Magento\Framework\App\Request\Http $request ) { $this->request = $request; }...
3
votes
0answers
21 views

Magento2.2.5 Luma child theme not using default_head_blocks.xml in child theme folder

I have a Magento 2.2.5 based multi-store view website. What we want to do is take the Luma theme and create a custom child theme from it. Each store view (we have 3) would use its own child theme of ...
2
votes
0answers
9 views

Add Product to cart with required Options is impossible

I added a required customizable option (not sure about the name in English, in French, it's "Option personalizable"). On the front, there is no problem until you try to add the product to the cart. ...
2
votes
0answers
10 views

how does frontend js methods call a backend api in magento 2.3

I'm new to PHP and Magento. I am building a payment module. I have saved some encrypted credentials in the core_data table. i am currently able to retrieve these decrypted credentials with my method ...
3
votes
1answer
11 views

Magento 2 - Login based controller

I need to make my controller login based, so that guest user auto redirect to login page. And after login he/she should redirect back to that controller. Please help me achieve this.
2
votes
0answers
14 views

Magento 2 : In registration page how to ask for shipping address different than company address?

In registration form I want to ask the user if he wants to use a different address for shipping address. If that is true, then he can input the fields for the shipping Address. I have tried to ...
2
votes
0answers
12 views

How to get the applied custom discount amount in observer?

I followed the steps in the below link to apply custom discount [https://magento.stackexchange.com/a/93349/21007][1]. But I need to get the applied custom discount amount in the observer event of ...
1
vote
1answer
14 views

How to get Magento 2 phpstorm namespace and code suggestions

Namespace suggestions: the code dir is marked as Sources Root but I don't get any. I just can't find any info about it. Looks like everyone in video tutorials just have it and nobody pays attention. ...
0
votes
0answers
7 views

Magento2 order email date formatting

I'm trying to edit email template and format created date. The date in the email is written using this variable {{var order.created_at}} And I think that It is created using the following function ...
-1
votes
0answers
14 views

How to delay/stop order emails

I would like to stop order emails when order placed in magento store. Actually whole idea is to send an email when order placed with "We've received order and will let you know asap." After this ...
0
votes
0answers
7 views

Magento 2 Exception is not working on compare add to cart

I am using the following to throw the exception it is working for me to add to cart prevent. use Magento\Framework\Exception\StateException; use Magento\Framework\Exception\LocalizedException; But ...
2
votes
0answers
12 views

Magento 2.3 Convert Quote from store to another store

I need to convert a quote from one store in GBP to another website store in EUR dynamically. I can save the item quote with the new store_id, but collectTotals is not recalculating with the store ...
-1
votes
0answers
8 views

Magento2. fieldset.xml how does it work and when to use it

How does fieldset.xml work and when to use it?
1
vote
1answer
14 views

“customer_eav_attribute ” Table what is “input_filter” and what values can you have in there

I See in the customer_eav_attribute table there is a column "input_field", what is that? I see most values are "null2, but i do see "date" and "datetime", what other values can you have?
0
votes
0answers
6 views

Keyboard navigation issue Firefox and Safari

I'm having issues with keyboard behavior in Firefox and Safari running the Luma theme. Tabbing misses the navigation and <a> tags within the <body> and moves to the browser Chrome. I tried ...
0
votes
0answers
11 views

Magento 1 - Multiple websites share wishlist

How to keep wishlist during a website change? When I switch magento stores the wishlist is well preserved but when I go on a store that is on another website (with different domain) then wishlist is ...
0
votes
0answers
11 views

How to remove hundreds seperator from all prices

All prices on the lv_LV store view is displayed with hundreds separator(space). Tried to change the <group> </group> to <group></group> in \vendor\magento\zendframework1\...
0
votes
0answers
14 views

How to get bundle options qty ? Magento 2

How to get bundle product options qty from $order->getAllVisibleItems() ?
0
votes
0answers
6 views

Mergen Guest Cart to Customer cart and Customer Cart to Guest Cart via REST API?

I am trying to merge/convert a guest cart into a customer cart (vice versa) using the Magento REST API. Right now I am trying to do so by adding the products to the other cart before logging in or out....
0
votes
1answer
26 views

Magento 2 : theme

How can we add custom text before welcome massage at panel wrapper? Note: i don't want to display link, I just want to display plain text there.
0
votes
0answers
13 views

magento 2 custom collection pager with dynamic url

I use backend option to set an url for my page, now i want to add pager to that page: $pager = $this->getLayout() ->createBlock( 'Magento\Theme\Block\Html\Pager', 'module....
0
votes
0answers
7 views

magento dev:urn-catalog:generate command fails to detect secret file

I'm running the following command "magento dev:urn-catalog:generate .idea/misc.xml " to use the functionality of Magento 2 to automatically resolve all my URN's so PhpStorm will stop giving me ...
0
votes
1answer
20 views

Reorder event on frontend

I need to observe when the user is reordering an order (to delete a product), but i can't find the event, which one is it ?
0
votes
0answers
6 views

I need to edit price on paypal page

I need to edit price that is displayed on paypal page on top right. I have set a condition that if the order total is > 25 then free shipping is set else 10$ flat rate. When I land on paypal login ...
0
votes
1answer
9 views

How install self signed Cert in ubuntu on localhost

I just use the paypal payment method. when entering buyer account id and password it gives the warning Don’t see the secure PayPal browser? We’ll help you re-launch the window to complete your ...
0
votes
0answers
7 views

Few admin grid not loading : M2.1.14

I'm using magento 2.1.14 version and in admin side i'm not able to access Content > Design > Configuration grid. In console tab of browser error showing it's: TypeError: this.storage(...) is ...
-2
votes
0answers
19 views

How to convert my magento 2 website to pwa? [on hold]

I want to convert my Magento 2 website to PWA only on Mobile device. How to keep the existing website theme and look while opening on desktop but in mobile, it should open PWA storefront keeping the ...
0
votes
0answers
6 views

How to get tax_calculation_rate_id by tax class id in magento 2

I want get tax_calculation_rate_id or tax_code in table tax_calculation_rate, i have id tax class of product? How to get it? Please help me, thanks all. $objectManager = \Magento\Framework\App\...
0
votes
2answers
9 views

Magento 2 Catalog Product Flat Data not reindexing

the indexing of magento product Flat data is staying on "index required".The mode is on "Scheme" and the cron is running. I tried several things like: truncate catalog_product_flat_1, ...
1
vote
0answers
14 views

How to change store views with its root category in magento 2 from frontend

i am new to magento as well SO, I am trying to setup an magento website with two different store, 1 store have clothes related category and other one shoes related and I want to switch store view with ...
0
votes
1answer
11 views

Updating product price from code not reflect in frontend category page until I save from admin

We are updating the product prices every 10min using cron. The prices are pulled from a external API. We are using the following way to update the price, $this->updateProductAttribute('price', $...
0
votes
1answer
16 views

How to create controller without creating menu in Adminhtml Magento 2

I have referred below Article to display button in my Configuration page. https://magecomp.com/blog/add-a-button-in-magento-2-stores-configuration-with-custom-action/ In file app\code\Vendor\...
0
votes
0answers
13 views

Magento 2 No such entity error in Cron job for sending password reset Email

I have tried below code to send all customer reset password link <?php namespace Vendor\Module\Cron; use Magento\Customer\Api\AccountManagementInterface; use Magento\Customer\Model\...
0
votes
0answers
8 views

How to add additional product on order summary when customer click on specific shipping method

I want to add additional product on the checkout page with the already added product through add to cart in the order summary. how can I achieve that is there anyone have an idea??
0
votes
0answers
10 views

magento 2 : Add custom field in checkout payment page and save data to table

I am trying to add a custom field in the checkout page payment section. I created field's with override LayoutProcessor using the plugin. Before place order button. What is the next step of action ...
0
votes
0answers
7 views

Magento 2.3.1 compare and product rating disable?

I have disabled product compare and rating for the products inside the catalog and they are not visible anymore, but compare and rating are still visible on the home page where I have 2x widgets for "...
0
votes
0answers
7 views

Show filter attributes only for top category

We have 3 levels of categories. When we go to the top-level category page, filter attributes of only parent category are shown. But when we select an attribute filter, attributes of all child ...
0
votes
0answers
7 views

Not getting any value while searching the products using REST API

I am searching product as per product sku and name using the end point API of magento2 but for some search text no value is coming. I am explaining my code below. There is one product present which ...
0
votes
1answer
9 views

Magento2: How can add custom search boxes in admin grid for products?

I want to add custom search box in product grid in admin. please find below screenshot: https://prnt.sc/o3tsso How can do this?
1
vote
3answers
34 views

Help with overwriting .phtml file in Magento 2.2.7

I need some advice on how to overwrite category description 'block?' from file /app/design/frontend/Mgs/mgsblank/Magento_Catalog/templates/category/description.phtml I want to use my own module ...
0
votes
1answer
14 views

Extension attribute on order make a column error

I'm trying to add an extension attribute to my order entity. I've follewed this link : https://www.rakeshjesadiya.com/extension-attribute-in-order-data-magento-2/ But I can see my extension ...
0
votes
0answers
17 views

Overwrite block layout inside text_list (content) blocks

I re-developed the whole category page in a layout.xml file included in my custom module, trying to reuse the block names. I needed to change many block (type) classes. I had read that by redefining ...

15 30 50 per page