Magento edit shopping cart title in header - magento

I have a Magento webshop and in my header is standing: Shopping cart - Subtotaal winkelwagen
I was looking for a way to edit this text. I have looked into the .php files etc. but i didn't found anything there so far. I hope someone can tell me where i can edit this text.

The best way is as erwin_smit described it.
As an addition the fastest solution is by using the inline translation Tool under
System->Configuration->Developer->Inline Translation
After activation reload your Front-end and edit the dotted text.

That's probably somewhere in app/design/frontend/packagename/templatename/checkout/cart.
If not, try to switch on the template hints on.
You can also replace text using a translate file. Place a file called "translate.csv" in app/design/frontend/{packagename}/{templatename/locale/{languagecode}/
Hope this helps.

Related

Magento: change link from cart

I have Magento 1.7 installed, I have this theme called ves_gift, at the end of the Checkout (before clicking "checkout" actually) I have the terms of agreement:
The checkbox contains a link connected to the "privacy terms".
The point is that is a wrong/broken link, and I need to change its href, how do I fix it?
Also the word "Aaccetto" should be with one A only, not double. "Accetto" is the right word. Where is the translation file for that?
You need to find the template where the HTML contents of the checkbox. Then you can modify as per your wish.
Try installing Magento-Debug from magentocommerce, and find the template being used.
If you want to translate, then use the CSV file for translation in your theme, as per your language rather than hard-coding in Phtml files.
Remmeber : only Html strings echoed with $this->__('MYSAMPLETEXT'); can only be translated. So, in the CSV file you could do
MYSAMPLETEXT,MYTRANSLATEDTEXT
and then magento will translate the string for you, as simple as that.
file path:-
app\design\frontend\default\your-theme\template\checkout\onepage\agreements.phtml
if its work vote for me, and not let me know...
Thanks
Ravi

I want to add Text below Currency Select Box Magento, how do I do it?

I have a currency select box on my magento install. It is located exactly where I want it and all is good.
However I want to add a piece of text below the drop down select box just telling people that they will be charged in NZD.
Problem is I have edited app\design\frontend\base\default\template\directory\currency.phtml but no changes happen on the front end.
I have even changed __('Select Your Currency') ?> to __('HEY') ?> Just to see would it work and nothing, it didn't change the header of the box at all.
Please help, what am I doing wrong, am I am idiot?
Thanks in advance.
Hii Instead of using base theme try changing in your current working theme it will reflect
For ex:-
\app\design\frontend\yourtheme\yourtheme\template\directory\currency.phtml
Thanks...
Are you modifying base theme for all your template requirement.This is not Magento standard practice.
Switch on Hints and check the block and html involved. Modify that .phtml ot write some code in associated block file and call that block function from your .phtml

different post-thumbnail in wordpress

The scenario:
I'm on the Startpage of my Blog, and there is an Article with its post-thumbnail. When I click on the Header or the "…read more-link I get to the post.
My question:
Is it possible to set the image bigger when you're on the single-post-page? Furthermore I would like to understand how to set this post-thumbnail-difference up.
I hope you've understood my bad english :) I'm looking forward in receiving help from you guys.
Best regards
Morten
Update:
Here two Screenshots of the Scenario:
Startpage > http://s1.directupload.net/images/130517/ltxuxyj6.png
Singlepost > http://s1.directupload.net/images/130517/lap5re2j.png
The images belongs to me (© Morten Sassi)
I think it depends on the theme you're using : on mine, thumbnail isn't used for the startpage but it use the "featured image", and once on the page of the article I just add the image directly in the body of the article with the size I want.
Maybe you can have a look to your template code and either edit it (but if you're using a theme you didn't create and you update it later your modifications will be deleted) or create a child theme (better solution) to edit only the files you want.
Hope this will help ^^
The best & easy tricky way is uplod your image from media, copy the path and paste this on your post or page editor from backend..and you will get what you want.
Thanks
anand

How to call a custom php file on magento product page

if getChildHtml('product_type_data') ?> maps directly to catalog/product/view/type/simple.phtml by default, how do I map to my own file? If I wanted to create a file that would produce a small image to place on the product page, right under "availability" how would I tell magento to map to where I have put the file? From what I understand getChildHtml('product_type_data') ?> defaults to the file path: catalog/product/view/type/simple.phtml so how can I customize the magento defaults and tell it to map to my custom files i've created?
Could I do something like getChildHtml('etc/etc/my-file.phtml') ?>
Essentially, what I am trying to do is add a small image under "availability" of my site (ex: http://climbhigh.com/climbing/climbing-ropes/petzl-dragonfly-rope-8-2mm.html) that says free shipping. Just trying to find the best way to do it.
I hope I have explained this well enough, if not, please let me know and I will try to explain more. Any help or guidance would be awesome. Thanks.
The code getChildHtml('product_type_data') doesn't always map directly to the template file catalog/product/view/type/simple.phtml. It only maps to that file if the layout handle PRODUCT_TYPE_simple is loaded, i.e. if the current product is a simple product. In order to change the template to be a different one you need to update the template attribute in the layout. At it's most simple this can be achieved by editing app/design/frontend/base/layout/catalog.xml and changing the template attribute.
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="your/new/path.phtml">
Of course editing core files is a bad idea, so you should make a quick search for how to correctly add layout updates via either local.xml or customer layout update files.
I ended up figuring out what I needed to do. I simply wanted to add a small image to my product detail page that highlight a free shipping option. All I had to do was create a static block in the admin panel of magento and go into catalog>product>view.phtml file and insert:
getLayout()->createBlock('cms/block')->setBlockId('your_block_id')->toHtml(); ?>
it worked like a charm!
thanks for the help Crags

Is it possible to use HTML invoice?

I found it very hard to customize PDF invoice that Magento use. Not only hard to customize, but my client does not like it as well.
Is it possible to disable PDF invoice and use HTML invoice?
I googled it, but found nothing.
There are three real options here to get better invoices:
Write a better invoice system that
still uses PDFs. I've done this for
a client, it takes a long time. Unfortunately, there is no really good way to change the PDFs that Magento generates by default.
Replace the controller/action that
generate the PDFs with ones that
will simply output HTML.
Same as above, but override the
mass-action dropdown to contain your
new entries. This is probably the
easiest, and you can add more
reports while you're at it. Take a
look at
Mage_Adminhtml_Block_Sales_Order_Grid,
specifically _prepareMassaction
Hope that helps.
Thanks,
Joe
http://ext4mage.com/html2pdf-magento-extension.html#
grateful, grateful
But I find it a shame that magento does not have thi in core

Resources