Questions tagged [design]

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

25
votes
4answers
17k 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 ...
8
votes
3answers
8k 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
10k 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 ...
3
votes
1answer
9k 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)?
21
votes
5answers
31k 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
3k 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. ...
4
votes
1answer
2k 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 ...
2
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 ...
1
vote
3answers
561 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
2k 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 ...
2
votes
1answer
910 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
9k 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 ...
3
votes
1answer
445 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
1k 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
1answer
785 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
2answers
418 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 ...
1
vote
2answers
567 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
7k 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?
0
votes
1answer
724 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
74 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("...