I have a question regarding the cart page in magento. Where do I find the file to edit the copy?
Example of the site I am working on is: http://www.skeletonwatchshop.com/checkout/cart/
When you add an item to your cart, below you get an area where it says "Estimate Shipping and Tax"
I want to change that copy. I can't seem to find the file that has that copy.
The template file responsible for this block on the checkout page is:
app/design/frontend/*package*/*theme*/template/checkout/cart/shipping.phtml
If you can't find this template for the theme you're using, replace the package/theme name with the fallback theme, e.g. base/default
Related
I'm working on magento 2.1 ..
If I add content to product see picture ---> Click for photo
How can I change product view page?
Where is the phtml file?
Magento 2 no longer uses a formal view.phtml file for the product view. It is all controlled with XML to load lots of individual template files.
You will find the layout in;
/app/design/frontend/[theme maker]/[theme name]/Magento_Catalog/layout/catalog_product_view.xml
If your theme is using a base theme as a fallback, for example the Magento/Blank theme, copy the file from that theme to your own theme's path.
I am looking to hide the button "add to cart" on the product pages within the magento store. My products just hold information. You cannot purchase them.
You can comment out the code that calls the button in the view.phtml file in the following location.
app/design/frontend/default/your theme/template/catalog/product/
If you search for 'button' you should find the section of code pretty quickly.
This will remove it from the product page. If you need to remove it from the catalog list page, do the same thing in list.phtml (don't forget both list and grid versions)
I have a problem with products on my category-pages.
I've got 2 sub-categories, both with products. When I call the category-page of the first category, products from both categories show up.
When i turn the theme back to the default magento theme, only the products from the correct category show up.
I have already looked in the list.phtml file, but that's not it.
Got any idea's where to look? Thanks.
First check if there is a local.xml in your theme folder. The local.xml is used to apply specific changes without affecting the fallback system. Check the loca.xml for any specific changes to <"catalog_category_default"> , <"catalog_category_layered"> or <"default">.
If there is no local.xml in your theme folder you should check the catalog.xml.
You could open the catalog.xml from the default folder and open it next to the one you use in your theme. Then step by step check the differences.
Hope it helps!
I found the problem. For me the problem was in the 2columns-left.phtml file of my theme.
I compared it to the base 2columns-left.phtml file and saw some differences. Then is was easy to see which one it was and to fix it.
Which template do you edit to change doctype on the Magento checkout page?
I am trying to implement a design change using an alternative package/theme for mobiles using the Magento's HTML5, "iphone" template but I have been having problems with doctypes on certain pages.
The checkout is one such page. Try as I have I haven't been able find the template.
IT is driving me insane.
Any help appreciated.
Using Magento 17.0.2
Go to app/design/frontend/default/yourtheme/template/page folder, then edit the 1-column.phtml, 2columns-left.phtml, 2columns-right.phtml and 3 columns.phtml
First go to layout/checkout.xml. Copy that into your design if it's not already there so you can change the section that references template/page/1column.phtml as the template. Override that with your own file and in there you'll be able to set any doctype.
If you want to change the doctype globally, and not just on the checkout page, you can just edit your 1column.phtml.
As you make changes to these files go into the admin and clear your cache if you don't see the updates immediately.
Product image not displaying in product page of magento. Where as its showing in list and grid. It is due to an extension which i installed and uninstalled, since that the product image is not showing up, Even the view.phtml is not calling the media.phtml. Please any suggestions ...
Thanks..
You could replace view.phtml with your original file, which could could copy from the base template into your custom template
app/design/frontend/base/default/template/catalog/product/view.phtml
to
app/design/frontend/[yournamespace]/[yourtheme]/template/catalog/product/view.phtml
You may also need to delete any layout xml files installed by the module, incase it has made changes to the layout of the view page
app/design/frontend/default/default/layout/[moduleslayout].xml