Custom Print block on Magento - magento

I am using Magento 1.9. How can I allow Show Description block on print function? I can edit only the CSS file...
I couldn't find any solutions.
Thank you!

Related

Magento price showing twice

I installed a new template on my Magento store and when I got to a product page it shows the price twice? Most of my products are a "simple" Product and I have one "Configuarable" product
Any ideas how I can get rid of one of the prices?
Here is Simple product:
Here is configurable product: (with an option selected)
Any ideas?
I'm running latest 1.9.3.7 and can't find a fix anywhere
You need to check your
app/design/frontend/default/your _theme/temlate/product/view.phtml
1st: inspect find the class or id
2nd: then remove wrong price code
before doing this take a backup of your file
I don't think anyone can help you here unless it's a popular theme people would know. The problem is not in Magento, it's in the theme files. You will need to find the theme file and check the php logic to truly know what is happening there. Best case, contact the theme developer if you purchased it or switch to a new theme.
To find the theme file responsible for printing the price, you can enable template hints. This will show the hints to you and all the customers, so be diligent about doing this live. Secondly, you will need to take a look at the block which encompasses the pricing. When you find the template name, just go to the .phtml file and see what's going on there with the price output.
Edit app/design/frontend/default/your_theme/template/catalog/product/view.phtml
Look for price divs and comment one.

Magento - Use different phtml files for cart and checkout order review screens

I have a very similar issue as the question from this post:
Magento - Have different set of fields and labels for cart and checkout (order review) screens
My question is the same but I am trying to achieve something different so the accepted answer does not help me. In the site I am developing grand total of the cart requires a colspan of 4 and the review screen of the checkout requires a colspan of 3. The only way I can think of doing this is to use a separate phtml file, but I can't figure out how to implement this.
I have tried for a few days to do this and I can't workout where to link the 2 phtml files to display where I require them. From what I can see the grandtotal.phtml file is linked to the block Mage_Tax_Block_Checkout_Grandtotal using a protected field in the block itself. So by changing this it changes the display for both cart and checkout simultaneously.
My first thought was to try to override the block in the local code pool but I am unsure what to put in the rewrite directive and also this would still have the effect of overriding the block for the cart and the checkout. My next thought was to try make the changes in the local.xml layout file but I don't know what I need to hook into to change just the onstep review total or whether it is possible override a field that is set in a block in this way.
Any help would be greatly appreciated.

Removing colon from minicart Magento

Im using Magento Community version 1.9
The header contains a minicart.
The label is: cart: 0,00 DKK
I have used inline translation to remove 'cart' so the result should be like: 0,00 DKK, but I can't get rid of the colon.
thx in advance...
/Steen
Use translation only to translate.
To customise you theme, edit the template file of the minicart:
app/design/frontend/[package]/[theme]/template/checkout/cart/minicart.phtml

I am trying to figure out how to list categories with thumbnails on the homepage of a Magento setup

I have tried a few different tutorials, but my lack of experience is clearly hindering me. Could someone explain how to list categories with thumbnails on the homepage of a Magento setup.
Can anyone give me a clear answer? Im running Magento v1.6. Pointing me in the direction of anything that might be helpful would be appreciated.
Try (change category_id to your id)
{{block type="catalog/product_list" category_id="123" template="catalog/product/list.phtml"}}
You could create a new file call homepage_list.phtml and use list.phtml as a template
Read more # http://www.magentocommerce.com/boards/viewthread/2075/P15/
try this
Mage::getModel('catalog/category')->load($_category->getId())->getThumbnail()
and use foreach loop for taking each category
you can try below link to achieve what you want
http://fishpig.co.uk/blog/display-categories-and-subcategories-in-magento.html

Determine category in CMS block

I've got some categories in Magento which have got "Static block and products" as display mode. All these categories point to the same CMS block, which in turn points to a template file. The template file should generate different content according to the category.
So my question is: Can I, in the CMS block (or template file), somehow find out the category?
Thank you in advance!
Mage::registry('current_category');

Resources