Questions tagged [page]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Magento2: url redirection in controller_action_predispatch observer with setting post parameters

I am working on cms page restriction for specific customer group.I am using controller_action_predispatch event observer to check whether the current page is set for restriction and the current ...
user avatar
0 votes
0 answers
7 views

Magento 2 product page 3 column - how to order the columns?

I have changed my products page so that it has three columns. Each column now contains: product-info-main (Product title, price, short description, etc.) product-add-form (Add to basket and product ...
user avatar
  • 3
0 votes
1 answer
12 views

how to solve temporary redirect in magento 2.4.3

I am the owner of the jewelry site when I run a Site audit from Semrush I get 944 temporary redirects, and I do not know how to solve temporary redirects in Magento 2.4.3 Please help
user avatar
0 votes
0 answers
4 views

Duplicate the website is rendering my custom page blank

Due to some issues, my had to duplicate by website on another server, with the same specs (php version, apache...) But for some reason, some of my page are not blank. I've seen this before, I changed ...
user avatar
0 votes
0 answers
18 views

Failed to get commodity pages on Magento 2.4

Magento2.4 Failed to get commodity pagination when displaying commodities under commodity classification page The following code has the effect of paging as if there were no paging $this->...
user avatar
  • 51
0 votes
0 answers
26 views

Magento 2.4 adding select option with custom div in to sales_order_grid

How to add select option with custom div in to sales_order_grid I need to add that HTML in left of per page value. Can anyone please suggest any post or any suggested link to add these value. Any ...
user avatar
  • 536
0 votes
1 answer
33 views

Get Page Type Of Referer Url In Magento 2

I am using Magento 2.3.5-p2 I am trying to get the page type for previous link I am able to get the previous link using \Magento\Framework\App\Response\RedirectInterface $redirect, public function ...
user avatar
0 votes
1 answer
20 views

deactivate rolling circles when open an other link/site of my website

When I open any page of my website https://www.agoshop.at everytime I will get scrolling circles and after that I will see my new page. This is very disturbing. Therefore I will ask how I can ...
user avatar
2 votes
2 answers
221 views

Redirect Customers to specific page after Login in Magento 2?

How to redirect customers to a custom page when they go to any other page. I have set Redirect Customer to Account Dashboard after Logging in to the store configuration but it is not working.
user avatar
0 votes
2 answers
97 views

Blank Admin page after install with no errors messages or redirect

I am attempting to install a Magento 2.4.1 solution that it's already in production. I've previously installed other Magento solutions that were similar and had no issues. In this case, the install ...
user avatar
  • 11
0 votes
1 answer
31 views

Mageto 2 : getUrl returns true even the page is set to disabled

I created a page testPage and use $pageExist = $this->getUrl('testPage') ?> so i could render an a block if it exist like so if ($pageExist) BUT when i go from amdin panel and set page from ...
user avatar
  • 1
1 vote
1 answer
323 views

How to Set ‘No-Index’ & ‘No-Follow’ Tags For Specific Pages in Magento 2?

How can I set a specific page to NO INDEX, NO FOLLOW in Magento 2?
user avatar
0 votes
0 answers
48 views

Magento 2 widget in product page

On the product page, i need to lay out the static block through the widget. This is possible - the problem is that it is displayed before the attribute selector. How to make that from the beginning ...
user avatar
0 votes
0 answers
351 views

Add New Field As Phone Number which Will Take Country Code and Country Flag As Per Given Phone Number In Magento2.3.7

Vendor/Module/etc/frontend/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd&...
user avatar
0 votes
2 answers
435 views

Magento2.4.2 in Elasticsearch 7 reindex not working

We have installing magento2.4.2 with Elasticsearch 7. reindex not running. facing some issues: Catalog Search index process unknown error: {"error":{"root_cause":[{"type"...
user avatar
0 votes
0 answers
28 views

How to change the product list page to drop down refresh?

I have two themes, one for PC and one for mobile. I want to change the product list page of mobile to the dropdown refresh mode.(Slide up to the bottom automatically loads the next page) What should I ...
user avatar
  • 5
-1 votes
1 answer
130 views

I want filter for Most Viewed Products in Magento 2 in Category Page

I want to make a custom filter for Most Viewed Product on Category Page in Magento 2. I have used this code app/code/Hlcategory/Filter/Plugin/Catalog/Block/Toolbar.php public function ...
user avatar
  • 536
0 votes
0 answers
375 views

Notice: Array to string conversion in vendor/magento/framework/Data/Form/Element/Select.php on line 135

When I am trying to delete any CMS page or delete any product in the admin backend it throws an error of the Array to String Conversion in directory /vendor/magento/framework/Data/Form/Element/Select....
user avatar
0 votes
2 answers
760 views

Changing Magento 2 Page Builder Images to use <picture> and srcset

I am trying to change the magento2 page builder image to include picture and source set tag. I made a module app/code/[Vendor]/PageBuilder/view/adminhtml/web/template/content-type/image/full-width/...
user avatar
0 votes
1 answer
57 views

Suppose I reach to this page customer/account/login/, after I click on "Sign In" button and i found referer feature not working :(

How to echo or print the referer url(history page) from where I reached to that login page. I have to implement something that after login user should not reach to dashboard instead he should re-...
user avatar
1 vote
1 answer
175 views

Adding PHP to a Magento Block or Magento Page

I am new to Magento and have been reading all of the answers on how to add PHP to a Magento block or page. Seems that just adding doesn't work. I have seen answers like this {{block type="core/...
user avatar
  • 11
0 votes
1 answer
25 views

Magento 2 check if Page is used on more than one website

I'm trying to find if a page is used on more than one website on a multi-website Magento installation. I have sucessfully return data of the page, but PageInterface has nothing like getStores() or ...
user avatar
2 votes
2 answers
380 views

Get current page title in observer (Magento 2)

Is their any way we can get current page title in magento 2 ?
user avatar
0 votes
1 answer
569 views

Slow loading Category Page Magento 2.4.0

I am experiencing slow loading Category Pages using Magento 2.4.0. We have 27,000 products of which approximately 6,000 are for the Magento website. The other 21,000+ are for eBay and Amazon. Normal ...
user avatar
0 votes
1 answer
322 views

Restrict access to pages for non logged users

I need to restrict access to all pages except / customers, contacts and home page My code is don`n work <?php use Magento\Customer\Model\Context; use Magento\Framework\Event\Observer; use ...
user avatar
0 votes
2 answers
33 views

How to include js on category pages Magento 1?

Hello i am using magento 1 i am not sure how can i include the below js in magento category pages frontend. <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.css&...
user avatar
  • 1
1 vote
1 answer
590 views

Remove JS files from beeing loaded through require-js

I am optimizing the page speed of my Magento 2 frontend. Everything is logically so far... CSS files can be removed through XML, everything should be minified, lazy loaded and so on. BUT: The size of ...
user avatar
0 votes
1 answer
13 views

several times a day my pages come in written lines, clearing the cache helps, what goes wrong

several times a day my pages come in written lines, clearing the cache helps, what goes wrong magento 2.2.5
user avatar
0 votes
1 answer
240 views

How to hide page for not logged in customers?

I've created a page using the CMS which I do not want to be accessible by people who are not logged in. It's a download page which I want to place in the footer. But when they click on it, it should ...
user avatar
  • 3
0 votes
2 answers
399 views

How to load PHTML file last after page is fully loaded

I have a script in my phtml file but I want to only load this ones the page is fully loaded. I am doing a check if my custom module is enabled show the < script > Adding script like this : You ...
user avatar
0 votes
1 answer
175 views

Page Builder is not visible magento 2.3.4

It must be here so I could enable it but its not. https://i.imgur.com/usvEDeW.png what can I do? https://i.imgur.com/eRDniHa.png Its not here as well. please help.
user avatar
1 vote
0 answers
44 views

Magento 2.3 How add additional links in tag <head>?

How to add information to the tag, please tell me?! I want to add .phtml file I can change the class along this path and add this way, but it seems to me that there is another way Magento\Framework\...
user avatar
1 vote
2 answers
434 views

Show category names in breadcrumb in product page magento 2.3.2

How can i show full category names in breadcrumb on product details page. Currently it is coming like https://www.screencast.com/t/5o9uZEu8xnV I want like this https://www.screencast.com/t/...
user avatar
  • 700
1 vote
0 answers
17 views

Contact page disappear after save category

I have a online store in Magento 2.2.3 with i18n stores. In menu i create new Catalog Category with name: Contacts, Contactos and Contacts in order EN, PT and FR. I configure this category to redirect ...
user avatar
1 vote
1 answer
47 views

How to change category page block after opening shop by filter

I'm new Magento2 User and I got an issue. You can see the picture it shows before I open Shop By filter. After opening that,I add new Category and the page goes left-right bolck style . How can I ...
user avatar
0 votes
1 answer
178 views

Magento 2 optimize JS?

I have been optimizng magento store and faced that there are around 148 scripts running when homepage is loading so I did default Magento bundle enabled and then total number of elements requesting ...
user avatar
2 votes
1 answer
45 views

Add a custom/programmed block to a CMS page

I have created a page using the CMS (via Admin Portal) and now I want to add a custom block (programmed) to the page. You can see the created page here: My structure is the following: but ...
user avatar
0 votes
1 answer
56 views

Link Custom Block to custom page

I created a custom block and was able to link to it on the home page or display it there. Unfortunately I don't get the block displayed on another page I created via the backend. If I understand the ...
user avatar
0 votes
1 answer
37 views

I tried today to go to admin page and got this error

Warning: include(Mage/Admin/Model/Observer.php): failed to open stream: No such file or directory in /home/abogacec/public_html/dycgarage.ro/lib/Varien/Autoload.php on line 96 #0 /home/abogacec/...
user avatar
0 votes
1 answer
15 views

Simple colums in editor

the best way to create column in the editor is? I try to create with Bootstrap class but, it's not working... Thanks
user avatar
3 votes
0 answers
66 views

magento 2 plugin settingpageSize

I have created plugin for elasticSearch to set the size of the page <?php namespace Devall\ElasticsearchPlugin\Plugin\Checkout\Controller; class EmptyProducts { public function afterResolve($...
user avatar
0 votes
2 answers
956 views

Remove block from Product Page in Magento 2

I want to remove right side block from product page. See https://prnt.sc/r5mlfi How can i remove this? What is the name of this block? <referenceContainer name="content"> <block ...
user avatar
  • 700
1 vote
1 answer
1k views

How to get current page number from url in Magento 2

I want to check the page number which appears in a URL in a phtml file. For example, if the URL is: http://localhost/magento/index.php/shop.html?p=4 How can I get the value 4 in the .phtml file? ...
user avatar
  • 700
1 vote
0 answers
31 views

Is there any way to automaticly add a product to a product-page when the product gets a special price?

Is there any way that when I give a product a special price, it automatically adds the product to a special "Sale" page at my homepage without manually adding the product to any type of category? So ...
user avatar
  • 11
0 votes
1 answer
76 views

What is the pageId for Customer/Account Page?

I want to change the landing page for a customer who has an active session to their customer/account page. I set up a conditional in aroundExecute() in app/code/MYNAME/MODULE/Plugin/CMS/Controller/...
user avatar
0 votes
2 answers
287 views

404 page not found error. Custom Page

I am trying to create custom page page having error 404. routes.xml <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. ...
user avatar
0 votes
2 answers
257 views

Custom Page Sizing values for all pages magento 2 admin

I want to ask if there is a way to override the per page drop down for all pages in magento 2 admin. I want to override this and even I add a custom page in the admin, it will still be implemented. ...
user avatar
0 votes
1 answer
25 views

Using a Page vs. a Static Block

I'm trying to get a very basic understanding of when I should use a Page vs. Static Block to create content for the site. Can someone provide examples of where they might be used? Or scenarios where ...
user avatar
0 votes
1 answer
71 views

Category Link go to 404 on store switch

I have used Magento 2 with 2 store view and My default store is English and set Category Link in Mega Menu but when i change my Store view from English to french that category link goes to 404 page. ...
user avatar
  • 536
0 votes
0 answers
24 views

My product page layout configuration not responding to any changes?

** I got changes in my product page layout and I want to restore it back to the default of my theme layout .. and the product configuration does not take any effect in changes of the col in the ...
user avatar