Questions tagged [design]

Marks questions related to the design section which holds theming and templates.

Filter by
Sorted by
Tagged with
29
votes
4answers
20k views

Theming for Magento 2 - Starting from scratch

Some of you probably read that topic regarding theming from scratch for Magento 1: Theming - starting from scratch I was wondering, what would be the best practice to develop a theme from scratch for ...
10
votes
4answers
14k views

Magento 2: How to override Luma Theme Home Page

I'm using Magento 2 CE Version 2.1.0 on WAMP Windows 10 I already referred Magento 2: How to override mini-cart default template html file? Would like to override Magento 2 Default Luma Theme I ...
16
votes
5answers
11k views

Configuring Design "Exception" Strings for "Mobile" Devices

What Exception strings are "state of the art" for redirecting iPhone, iPad, Android, tablet, etc. users to a different design? That is, I realize in the System -> Configuration -> Design user ...
6
votes
1answer
15k views

Magento 2: How to move Details tab to product info column?

In Magento 2, the Blank theme displays the Details tabs below product images. How to move this block to the product info column (right side of the page, under Add to cart button)?
2
votes
3answers
9k views

how to use different template file for category magento 2

I want to customize the design of the catalog list page. I want to use different layout and design for each product category. For that, I am calling different phtml files from static block. using a ...
23
votes
5answers
32k views

Send data from the controller to phtml

I have this controller: ... public function insertAction() { $something = 'testcase'; $this->loadLayout(); $this->_title($this->__("the title")); $this->renderLayout(); } ....
8
votes
2answers
4k views

Is there any way to set different theme depends on customer group?

I want to show different theme depends on customer group.Is there any way to set different theme dynamically? For Eg.: Theme A for General customer group and Theme B for Wholesale customer group. ...
6
votes
1answer
3k views

Magento 2: How to move additional product attributes to Details tab?

In Blank theme, attributes other than description display under More information tab. In my theme, I want to move attributes from More Information to Details tab. Example: Details tab contains ...
4
votes
3answers
11k views

How to remove the Add to Cart button from Catalog pages in Magento 2?

How to remove the Add to Cart button from Catalog pages only?
3
votes
1answer
2k views

How do I enable Template Path and Block Name hints

I am trying to find where in Magento's massively complex system, the templates are located and what blocks need to be modified. I can use Chrome or Firefox web developer tools to see the code and ...
2
votes
3answers
1k views

Magento 2: Theme change field is missing in Design Tab

I created a new theme but when i tried to change the theme from stores -> configuration -> design Tab I found that theme change field is missing from design tab. Please look at screen-shot ...
15
votes
3answers
3k views

Magento2 design fallback logic

We already know design fallback logic from Magento 1.x: Current package / Current Theme Current Package / Default theme Base Package / Default theme Now. i want to know What is the design fallback ...
19
votes
12answers
61k views

Fatal error: Cannot instantiate interface

My magento store is throwing this error: Fatal error: Cannot instantiate interface Magento\Framework\View\Design\Theme\ResolverInterface in /Library/WebServer/Documents/magento/vendor/magento/...
5
votes
4answers
13k views

Magento 2 - How to move the product price block before addtocart button?

I am using custom theme and trying to move the "product.info.price" block before the addtocart button. I have tried, direct into addtocart.phtml file but not working. <?php echo $this->...
2
votes
1answer
1k views

Magento 2: Move text "This is a required field" below swatch options

When a user don't select a size option and clicks the "Add to cart" button, the warning "This is a required field" appears under the button. I'd like that warning appear just below the swatches, not ...
4
votes
1answer
10k views

Magento 2 - how to make a custom (home) page-layout [duplicate]

The overrides structure that I have made for custom theme is (based on Blank): app > design > frontend > Magento > gc>Magento_Theme > templates It's now possible to override phtml ...
1
vote
3answers
570 views

How do I rewrite a single element in a .phtml file?

In my custom module I want to rewrite parts of several .phtml files. For example, in app/design/frontend/base/default/template/bundle/catalog/product/price.phtml, I want to rewrite <div class="...
3
votes
1answer
455 views

Custom category designs won't apply without category url slug?

I'm experiencing a weird issue: Let's say category A has a custom design. When I open the product via domain.com/category-a/product.html the custom design applies correctly. But when I open the ...
3
votes
2answers
2k views

Cannot read contents from file app\design\adminhtml\Magento\backend\etc\module.xml in Magento 2

I have created a adminhtml theme but it's throwing error. Could you please clarify me where I went wrong? my code is: root/app/design/adminhtml/Magento/backend/composer.json { "name": "magento/...
2
votes
2answers
1k views

Magento 2: How to move "Sign In" block in checkout below progress bar?

In blank theme checkout, the "Sign In" link is located at the top right of the page. I want to move it under the checkout progress bar. I tried this way but it didn't work.
1
vote
1answer
515 views

Magento 2.3.4 - Missing records in the Content->Design->Configuration

Magento 2.3.4 - Missing records in the Content->Design->Configuration Can't add favicon in the Magento2. In Admin panel -> Content -> Design -> Configuration. Shows We couldn't ...
1
vote
2answers
1k views

Get all product images on product view page separately

I want to change the design product image section on view page. Trying to fetch all three Images seprately. $ImageAll = $_product->getMediaGalleryImages(); $mainImg = Mage::helper('...
1
vote
2answers
425 views

Magento 2.1.0 --) STORES - CONFIGURATION - GENERAL - Design --) shows "Search Engine Robots"

I installed Magento version 2.1.0. When I go into STORES -> CONFIGURATION -> GENERAL -> Design -> it shows "Search Engine Robots" just as here: Magento2 In Store/Configuration/General/Design I can ...
0
votes
1answer
41 views

Magento2.3: Cannot open links in Myaccount dashboard

I'm implementing my own design to My Account dashboard. Unfortunately, I'm not able to open the Address Book and Address Information. When am clicking those links, I'm getting the below attached error....
0
votes
1answer
1k views

How to make related/up sell products display full width of screen?

In product page, product details tab appear below the images gallery along the full width of screen. Related products appear below the details tabs. If details are moved to the right column (below ...
-1
votes
3answers
108 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("...