Questions tagged [view]

The tag has no usage guidance.

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

Warning: simplexml_load_string(): Entity: line 29: parser error

May I have Help please Warning: simplexml_load_string(): Entity: line 29: parser error : StartTag: invalid element name in /var/www/magento2/vendor/magento/framework/View/Model/Layout/Merge.php on ...
0
votes
0answers
13 views

How to reduce the Product detail page Image size in magento 2.3

How to reduce the product detail page image size i tried to reduce the image size using the view.xml but it is not reducing i run the below command after changing the file php bin/magento catalog:...
0
votes
0answers
21 views

Transfer values from product view to checkout

I have customized the Product View page with different settings. For example, the customer can choose whether he wants a special delivery type or how long he needs the device. The selection also ...
0
votes
1answer
44 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 ...
0
votes
2answers
42 views

No element found with ID 'reviews.tab'

I'm facing this issue. Exception #0 (OutOfBoundsException): No element found with ID 'reviews.tab'. Anyone have an idea about this one? 1 exception(s): Exception #0 (OutOfBoundsException): No ...
1
vote
1answer
74 views

Magento 2 Error 500 when viewing all products in a certain category

As soon as I select "limit all", i get a server error. All other pages are working fine. I increased my memory limit to 4 GB, checked file permissions, etc. My error log just says Error 500. My ...
0
votes
0answers
20 views

Magento 2.3.x: Diffrent Tax Rule for for different store

Is it possible to create multiple stores for the same country (to all states) and each store has assigned for different tax rules.? Example for the country US I want to create three different stores. ...
1
vote
3answers
108 views

Product view page not open when customer log out in magento 2.3?

I have a site in Magento 2.3! My requirement is when the customer does not log in to my site so he can not see product view page. they see only the product listing page. and when he click product ...
0
votes
2answers
43 views

Display “only X left threshold” and stock status on category view

I'm new to Magento(2) and I'm trying to display Stock Status, stock count, and quantity field in category view like in product view. I don't know where to get theses values and where to put it... I'm ...
1
vote
1answer
65 views

How to get the store code in a phtml file of Magento2?

In a custom phtml file I have to get the code associated to the store view (not the Id), any idea how to get this?
1
vote
0answers
118 views

Magento 1.9: How to get the appropriate products attributes details?

I just display my attributes on the PLP page, but the attributes duplicates or mismatch, actually I am using $attributes = $_product->getAttributes(); for getting appropriate attributes, but my ...
1
vote
1answer
76 views

Magento 1.9: Change Grid/List View Based on Category

My default view is List view, how can I change based on category.
0
votes
1answer
30 views

Showing back order message on Product View Page

Using checkout_cart_product_add_after event I am trying to show the Back Order Message on the Product View Page but I am not getting the product id from the Observer(Id of Configurable Product ...
0
votes
1answer
139 views

Magento2 How to get current compare product collection on product list and product detail page?

I am using Magento2.3.1 and I need to list and detail page current product if add compare product than getting list and count on list and detail page. So I try to detail and list page checkbox with ...
1
vote
1answer
46 views

Unable to view customer's order

I have encountered an order view error. When I view an order in the magento2.2.6 background, it displays "Information Changes have been made to this section that have not been saved. This tab ...
0
votes
3answers
160 views

Magento 2: redirect to home

I want to redirect my view to the homepage after data submitted in a custom form $resultRedirect->setPath('//'); This code leads to redirection, for now, please help Also is it possible to get a ...
1
vote
0answers
18 views

Magento 2 : How to Add Custom Fee To Authorized Amount In Backend Order View Page

I have to add my custom fee amount to authorized amount in backend oreder view comment section. if anyone have any idea than please tell me.
1
vote
3answers
837 views

Magento 2 custom phtml file not calling to all products view pages

I have created custom phtml file, but that file is calling to all the products magento2 Please find the below code: <referenceContainer name="product.info.form.content" > <block ...
1
vote
1answer
1k views

How to use session data in view (phtml) magento 2

i can access session data in my controller using \Magento\Framework\Session\SessionManagerInterface public function __construct( Context $context, PageFactory $resultPageFactory, ...
0
votes
1answer
105 views

Create an Interceptor/Observer to trigger action when specific page is loaded

I want to send info to third party services about the views on pages like cart, products, checkout, etc. This info is sent whenever someone visits the respective page or view. For example, when a ...
2
votes
3answers
963 views

Magento2 remove columns from admin sales order view page items grid

Can anyone let me know how to remove existing columns from Admin->Sales->Order->View->Items Grid? Moreover, I also need to add a new column in the same grid, please find attached screenshot for your ...
0
votes
1answer
2k views

Admin grid view action magento 2

I have created admin grit using ui component. I'm trying to implement grid actions.the grid lists out my form details. how add view action to the grid app/code/Dyode/Pricebeat/Controller/Adminhtml/...
1
vote
1answer
121 views

Create empty page on custom admin url

So we have a module which has to return a specific view using a layout. However we can not get an empty page rendered to add my layout too. So our code does the following: We have a massaction that ...
-1
votes
3answers
91 views

Magento 1.8 - How to use reference to show a template on all pages without using a custom module?

I try to add the following template on all pages in the header by using reference. I tried it like this: app/design/frontend/venedor/default/template/black/alert/index.phtml: <script>alert("...
0
votes
1answer
84 views

magento 2 displays small picture in catalog

My magento 2 was fine, I upload big image and the display was fine, now, new products show up small (the one in the right), see my screenshot : I didnt edit my view.xml so I dont know how this ...
0
votes
1answer
138 views

Magento - Insert the media gallery of the product in view.phtml

I'm trying to move the media gallery of the product from the media.phtml file to the view.phtml file. Basically I want to move the div with class = "more-views" which is contained in the media.phtml ...
0
votes
1answer
136 views

Can't use sort or change view in https

My site: discountirrigation.com The SSL was recently applied to all pages of the site instead of just the checkout. However, I can not sort or change the product layout view or select a product ...
0
votes
1answer
4k views

Calling a custom phtml file in another phtml file, cms block, cms page, and XML layout in Magento 2

There may be situation when you are developing a Project, you may need to call a custome phtml file in another phtml file cms page cms block (static block) xml layout How to do it ?
0
votes
1answer
484 views

Remove add and edit functionality in magento 1 grid

I want to remove the Add New button and edit functionality when row is clicked. I've followed this tutorial. I've got all the features as guided in the tutorial. But in my case this grid table must be ...
4
votes
2answers
3k views

How can I disable the View as grid/list buttons in Magento 2.1?

I am working on a Magento 2.1.7 shop. On my category pages, I need to have the grid view only, without giving the customer the possibility of switching to the list view. What is the easiest and/or ...
1
vote
1answer
407 views

magento2 data migration error Exception #0 (BadMethodCallException): Missing required argument $options

after migrating customer data when i click on view customer view data it was shown above error, please help me to resolve
0
votes
1answer
192 views

Tierprices in product view - wrong price calculation

I have a problem with the view of the tier prices. When customer group ID X have tier price for 6 pieces each 56,--. The view show this: The tierprices for all: 6 pieces each 64,-- 12 pieces each ...
0
votes
1answer
396 views

Unable to create Model tables on Magento2

I'm having a hard time making Magento2 create my model tables. This is my code so far: app\code\Werules\Chatbot\Model\IncomingMessages.php <?php namespace Werules\Chatbot\Model; use Magento\...
3
votes
1answer
373 views

M2.1.9 : How to override the magento default .phtml file under vendor\magento\module-sales\view\frontent\templates\email\items.phtml

There. After success migration work, i need to handle devlopment work,ugh. I'm a mad newbie about Magento2 so could you let me know how to overwrite the default phtml file under vendor/magento .. ...
2
votes
0answers
335 views

Getting all subcategories and their products

I tried to get on my parent categories all the subcategories and products for each subcategories. This is my products.phtml <?php $subcats = $this->getCategoryList(); ?> <div class="row"&...
1
vote
1answer
322 views

Magento 2 : Extending layout xml wont work

I'm struggling to extend some layout XML. I want to add a custom subs.phtml o=in catalog_category_view.xml. I created app/design/frontend/Template/Template/Magento_Catalog, modifications in ...
0
votes
0answers
19 views

My configurable products need to have view details button instead of Addto Cart button

How can I replace the add to cart button with a view details button for my configurable products? I searched everywhere but could only find solutions for Magento 1.9 not 2.1.8.
0
votes
1answer
2k views

Magento 2: How to add block inside admin view order (information tab)?

I'm trying to add a custom block inside the Order view information on admin. And it's being so weird. I can do it inside other tabs but on Information doesn't work. Looking at the original layout, ...
2
votes
3answers
5k views

How to update minicart view using AJAX?

Is there any way to update the mini cart view? Now I'm using: require([ 'Magento_Customer/js/customer-data' ], function (customerData) { alert("hola"); ...
1
vote
0answers
459 views

How to create a mysql view in Magento 2 programmatically

Is it possible to create a mysql view in Magento 2 just like we create table in InstallScheme.php. I want to create a view which will be a join of multiple table with selected columns.
0
votes
1answer
2k views

How to check which template /view file is used - rendered

I am trying to make changes to registration page and add the address info fields in registration / account creation page. my browser reads mysite/customer/account/create by following the instructions ...
0
votes
1answer
57 views

Magento 1.9.3 block repositioning

I want to move the product price on the right part. Screenshot: The catalog product view root template is 2 columns right. I tried to find the block name using path hints so I can manipulate it ...
1
vote
0answers
575 views

Make Magento render complete HTML

I'm new to Magento I get this template that I don't want to split into multiple blocks. I just want to render the page as it is (not only, but this is something I can try to understand later) when I ...
1
vote
2answers
2k views

how to view record row from grid in magento

I have successfully created grid in magento admin panel. I can see all records from database successfully but now whenever I will click on any row I get error. I want to display that particular ...
4
votes
0answers
738 views

How to fix “Call to a member function setTitle() on boolean”? [closed]

I'm developing a module, which was working fine on my local environment, and today I was testing it on my online store and a certain view from my module is returning 500 from Nginx. Here is what shows ...
0
votes
2answers
11k views

Add custom block to order view information in admin Magento 2

I have overridden the core layout and template files using custom theme in Magento 2 And I have my block file at Netenrich\Oms\Block\Adminhtml\Order\View template file at serge.beraud@alphanova.com....
0
votes
2answers
164 views

Magento admin page not rendering anything

I'm learning how to create new pages for my custom extension in magento2 admin. However when i go to that admin page it's blank. I've got a controller: <?php namespace ZET3K\Tracker\Controller\...
1
vote
2answers
3k views

Magento 2, get order id in order view page in admin panel, if possible through session

I need to retrieve my custom column information from "sales_order_item" table. I'm having challenge to get the order id. How to get order id in order view page in admin panel? I need $orderId in ...
0
votes
1answer
2k views

HTML Head issue using Magento2

I've an issue with Magento 2: please Help! I've added some HTML code in: Content > Design > Configuration > Theme Edit > HTML Head The code doesn't work (it's ok, no worries for me, ...
0
votes
3answers
431 views

I have recenlty create one module but view file not call. return 404

I have recently learn magento 2.1.2. so I have create one basic module. but view file not call. Its return 404 on frontend side. Above is my module directory structures. routes.xml <config ...