Questions tagged [catalog-prodct-view.xml]
The catalog-prodct-view.xml tag has no usage guidance.
6
questions
2
votes
3
answers
354
views
How to extend catalog_product_view.xml for a specific product type?
I 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?
0
votes
2
answers
338
views
Magento 2 Customer Id is not updating after login
I have a form in the product view section. In this form, I am keeping the logged-in user's id hidden. First I log in as one customer and then log out from that account. Again I log in as another user, ...
0
votes
1
answer
504
views
Magento 2: Change product template based on the category
We have multiple categories and each category has it's own products(mostly simple products). The products in each category has different UI design for product view page / product details page.
I know ...
0
votes
1
answer
266
views
Display product attribute dropdown box value on product page, with custom placement?
I'm building a Luma child theme and I want to display my "brand" product attribute above the product title on my product page.
I am currently using the following code in my child theme's ...
0
votes
2
answers
427
views
Custom Block to Product Page with selection attribute is not showing
I am trying to create an option where I can select yes or no in the backend, and when it's set to yes, it adds a block with an image in the product page. Here's what I have so far:
I created a Yes/No ...
0
votes
3
answers
1k
views
how to add custom container inside product.info.main container in magento 2.3.1
how to add custom container in class="product-info-main" referenceContainer="content" and inside catalog.product.view.xml file
catalog.product.view.xml
<referenceContainer ...