Questions tagged [design]

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

Filter by
Sorted by
Tagged with
27
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 ...
22
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(); } ....
19
votes
2answers
14k views

Why is disabled status 2 instead of 0?

A question for any magento devs: Why is it that an enabled product has status 1, while a disabled product has a status of 2? Usually, "enabled" or "active" or whatever gets the status 1, while the ...
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 ...
16
votes
4answers
2k views

How to find a reliable Magento developer?

I am the owner of a start up business that sells on eBay, but I've been working a lot with the Magento back end setting up a store with a template. I got tired of the template after a time because I ...
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 ...
9
votes
8answers
24k 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/...
9
votes
3answers
9k 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 ...
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. ...
7
votes
2answers
12k views

Magento 2: How to change the default country in the “Estimate shipping” block in cart?

I've set my default country (Spain) in admin, also set it to be the only destination country available for shipping, however in the cart the default country is United States. How can I change it?
7
votes
1answer
984 views

How to add wrapper in checkout page in magento 2?

I want to add container div and add Shipping address and Order summary in it as below design. How can i do that? Thanks.
5
votes
4answers
6k views

Change the default layout template programatically

I need to change default layout file (1column.phtml, 2columns-left.phtml, etc.) based on currently logged in user (user group) and if he's logged in or not. Is changing the default template possible ...
5
votes
1answer
473 views

Is Magento based on 3 tier architecture?

I want to know few things: Is magento based on 3 tier architecture? Is it free from SQL-Injection, cross-site-scripting, CRLF injection attacks and SSI attacks?
5
votes
2answers
12k views

How to implement twitter bootstrap in magento theme step by step?

I'm creating a new theme for magento with twitter bootstrap.Can some one help me to do this with bacis step by step procedure.
5
votes
4answers
3k views

Design Configuration page infinite loading

Since updating to Magento 2.1.0 I have not been able to change themes as the theme configuration page does not load. It simply shows the rotating loading icon, there are no errors shown in the console ...
4
votes
5answers
123 views

creating a product catalog prior to hiring design/development team?

I work with a specialty retailer which has a heavily trafficked static html web site but which has never had a fully functional shopping cart - we take orders via e-mail and phone and also have a ...
4
votes
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?
4
votes
1answer
6k views

Get Current Package Name

Before saying this post is a duplicate please read. I have a real head scratcher for you. I am trying to get the current package name being used. In a clean install with 1.9, the current package ...
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 ...
4
votes
1answer
66 views

Why isn't there a “base” design package in adminhtml?

Why isn't there a /design/adminhtml/base and /skin/adminhtml/base? Sine CE 1.4 and EE 1.8 the frontend section uses /design/base now instead of /design/default as the final fallback area. It seems ...
4
votes
2answers
529 views

Adblock extension blocks Magento product images

I have realized that the Adblock extension blocks all my product item images from this Magento site. I want to make my site visible also for users with the Adblock extension installed. The problem ...
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 ...
4
votes
0answers
236 views

How to display crossed swatches for not available sizes in Magento 2?

I've set up a text swatch for sizes S, M, L. When a size is sold out I want Magento to display the sold out size with a red mark instead of hiding that size option.
3
votes
4answers
9k views

How to create a different product page structure for specific products under a one category?

I want to have custom design only for all products which are under a one category. Assume you have category 'A' and it has products 'a','b','c'. I want only to show these 'a,b,c' products in a ...
3
votes
1answer
10k 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)?
3
votes
3answers
18k views

get product category path

for designing purposes I need to retrieve the product category path of each single product. I was able to retrieve the category path and explode the first level using the following code in catalog/...
3
votes
1answer
81 views

Show all includes in a rendered page (Template Path Hints) [closed]

What simple method can I use to print then name to the browser of each file being loaded to render a particular page? I'm trying to develop, and it sure would be helpful if there was a method by which ...
3
votes
1answer
703 views

How can I add a button under Additional Cache Management?

Magento's cache page (accessible via System → Cache Management) has a section titled Additional Cache Management. Is there a way that I can add my own button to this page without creating a copy of ...
3
votes
1answer
447 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
3answers
4k views

How to add block into header before all elements (before logo, search, …) via layout xml?

I can not find a way to add custom block before logo and all header elements. <reference name="top.container"> <block type="company_name/module" name="page_header" before="-" /> </...
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/...
3
votes
1answer
502 views

How center a “picture link” in the header

I am in charge of a Magento website created by a former guy and I followed this tutorial to add a new Picture Link in my header : https://kamaradski.com/831/how-to-add-a-picture-link-in-magento-...
3
votes
1answer
683 views

How to edit search icon on search form?

In responsive mode, I can inspect element to see class and values of the search icon. However in "desktop" mode, when inspecting element I haven't found the corresponding class to edit the search ...
3
votes
1answer
919 views

CSS not showing for “NEW” or “SALE” label

So I followed this tutorial to add "NEW" or "SALE" label for this site: http://www.ubertheme.com/docs/add-product-labels/. The label does show up on the product icon but for some reason the CSS isn't ...
2
votes
3answers
6k 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
3answers
21k views

Where is the login page .phtml file?

I want to change login page file (some design additional) but I didn't find the file (I think it's login.phtml file, right?) from anywhere! I changed login.phtml file in base and my custom theme's ...
2
votes
5answers
3k views

Change page layout for products under specific category

I am trying to set 2columns-right.phtml layout for products under specific category while the default is 1column.phtml.(Please note i don't want to change Category page layout but layouts of products ...
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 ...
2
votes
2answers
5k views

Logo email not changing

I'm using Magento's default sales emails. I've inserted my logo as logo_email.gif in all themes found > skin/frontend/theme/images, uploaded in backend Configuration > Design > ...
2
votes
2answers
2k views

Use of system > configuration > design and System > Design

Hi can any one explain Differences and similarities between System > Configuration > Design and System > Design to configure the design fallback
2
votes
3answers
630 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 ...
2
votes
1answer
934 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 ...
2
votes
2answers
3k views

Magento 2: How to add multiple locally stored fonts?

I want add one locally stored font in my custom theme folder. I followed the instructions here: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/using-fonts.html But the ...
2
votes
3answers
1k views

Widget “Design Package/Theme” field - How to update?

There's a dropdown field - "Design Package/Theme" when creating a widget which allows you to select the theme the widget will be applied to. This field is not optional. Once the widget is created, ...
2
votes
1answer
5k views

Get skin resource path or url for set package and theme

I'm trying to get the header logo image and having some issues.. I keep getting the base/default package/theme instead of what is set as the package and theme for skin in the admin. Here is some code ...
2
votes
1answer
1k views

How can i integrate Bootstrap template into magento

I need to integrate bootstrap template into magento, Bootstrap template : http://obaju.ondrejsvestka.cz/
2
votes
2answers
3k views

Watermark changed in admin still has default magento watermark

I changed the watermark image in admin. It is applied for both the default and site level. The magento watermark still applies even after clearing cache. What could be the reason for it?
2
votes
1answer
207 views

where to put my theme in rwd package?

I'm trying to override "content" block of page.xml. It works with default design package. I can output products in content block: but with rwd package it not overriding "content": no matter if I put ...
2
votes
1answer
833 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.
2
votes
1answer
251 views

Modify Magento Carousel - itemslider

On my Homepage, I have a Carousel with products and Featured Products that are displaying the slider with arrows on each side. But of course, I see all breaks in IE8. Every image of a product on the ...