Call-back icon  Sales: Call 800.374.8146 (N America)|757.278.0920 (International)

Magento

Open Source eCommerce Evolved

Magento Forum

   
Page 2 of 2
MY SUPPLEMENTAL DESIGN GUIDE
 
june23
Jr. Member
 
Total Posts:  17
Joined:  2008-04-18
 

Thanks helps me a lot....

 
Magento Community Magento Community
Magento Community
Magento Community
 
sdb
Sr. Member
 
Avatar
Total Posts:  216
Joined:  2007-11-13
coastal California, USA
 
WisdOMbooks - 31 May 2008 08:37 AM

sdb - 30 May 2008 11:27 AM
...How to show the item quantity available in the frontend
...place the following code wherever you want the quantity to show up (for example: in view.phtml)

For all the non-programming, non-developers, common mortals, like your truly red face
it could be very helpful to quote the whole path of a file,
like: .../.../.../.../.../.../view.html

Don’t mind, please smile

A n g e l o

For example /app/design/frontend/default/default/template/catalog/product/view.phtml

 Signature 

my preferred host: http://www.schostpro.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
liotropi
Sr. Member
 
Total Posts:  91
Joined:  2008-02-21
Athens, Greece
 

thanks for the tips, sdb
is there anyway to show quantities for configurable products?

 
Magento Community Magento Community
Magento Community
Magento Community
 
atlantide
Sr. Member
 
Avatar
Total Posts:  160
Joined:  2008-02-16
France
 

<a href={{store url="catalog/product/views/sony-ericsson-w810i/id/18/category/8/"}}"> </a>

Doesn’t work with WYSIWYG editor…

any idea ?

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
golles
Sr. Member
 
Total Posts:  179
Joined:  2008-01-15
 
atlantide - 20 July 2008 11:24 PM

<a href={{store url="catalog/product/views/sony-ericsson-w810i/id/18/category/8/"}}"> </a>

Doesn’t work with WYSIWYG editor…

any idea ?

thanks

you will need to enclose that in php tags as the store url is a php variable.

 
Magento Community Magento Community
Magento Community
Magento Community
 
atlantide
Sr. Member
 
Avatar
Total Posts:  160
Joined:  2008-02-16
France
 

Thank you for you help =)

 
Magento Community Magento Community
Magento Community
Magento Community
 
atlantide
Sr. Member
 
Avatar
Total Posts:  160
Joined:  2008-02-16
France
 

Excuse me for that beginner question, but I can’t manage to do it. Could you please give me the code with php tags added ? thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
OurWorldTalks
Member
 
Total Posts:  47
Joined:  2008-07-08
 

.

 Signature 

Victor
OurWorldTalks

 
Magento Community Magento Community
Magento Community
Magento Community
 
rzazueta
Jr. Member
 
Total Posts:  22
Joined:  2008-07-21
 

One thing I would find EXCEEDINGLY useful is a list of all the files int he layout directory and what they’re meant to do.

For example, I figured out that page.xml is, apparently, the default layout for all pages, but I couldn’t for the life of me see where it was pulling the lef_col.phtml stuff from as it only define the “left” block. Then I was screwing around looking where other things are and discovered that the catalog.xml for some reason defines this.

I’m trying to create a custom homepage that displays a list of the manufacturers the site I’m working on carries along with their logos in the left menu on the homepage. I also want to do a list of all of the major categories plus five or so of their sub cats at the bottom of the page. I’m having a heck of a time trying to figure out what files/code does all this. The designer guide is incredibly light on details, spending entirely too much time with concept. I already grasped the conept - I just want to understand how to make my Magento site match what my designer came up with. There’s not that much in the way of documentation for this, which is utterly frustrating.

Rob Z.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daworm
Jr. Member
 
Total Posts:  10
Joined:  2008-07-22
 

Wow - this is an awesome reference… I’ve read the design guide but didn’t quite kick me in the direction I wanted.
Reading this there’s already some key things I’ve done which have helped me in my nooby ventures to customising my layout :D

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  546
Joined:  2008-03-21
Aviano ~ Italy
 
sdb - 13 March 2008 09:42 AM

How to change default JPEG compression
credit goes to PitchO from this thread
http://www.magentocommerce.com/boards/viewthread/6158/
If you use only jpg images, you can change the code like this in lib/Varien/Image/Adapter/Gd2.php :

Change
case IMAGETYPE_JPEG:
imagejpeg($this->_imageHandler, $fileName);
break;

to

case IMAGETYPE_JPEG:
imagejpeg($this->_imageHandler, $fileName, 95);
break;

To get a default compression of 95% instead of the default value (75%).

Hi
have you seen that gd2.php in the latest magento package 1.1.2 is a little bit (!!) different?
I’m not able to avoid jpg image compression shock
and catalog is very horrible at the moment
(also because watermark is added before compression… and the result is horrible too)

Need Help!!

Thanks

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shop http://www.ecobaby.it

 
Magento Community Magento Community
Magento Community
Magento Community
 
Reino
Jr. Member
 
Avatar
Total Posts:  22
Joined:  2008-06-22
Utrecht, Netherlands
 

Adding lightbox works fine! Great and simple wiki.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sdb
Sr. Member
 
Avatar
Total Posts:  216
Joined:  2007-11-13
coastal California, USA
 

I honestly haven’t upgraded from version 1. I tried to, multiple times, but each time it broke the database, and I wasn’t about to enter hundreds of entries by hand again. I’m sticking with version 1 until they fix dataflow, so I won’t be able to update this thread with my own experiences for a long time. Good luck everyone.

 Signature 

my preferred host: http://www.schostpro.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
jdk410
Jr. Member
 
Total Posts:  21
Joined:  2008-06-08
 

I think the code has changed in version 1.1.3 or 1.1.4? I don’t see the line that is referenced in this post. Please advise.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 2
 
Sales: Call 800.374.8146 (North America) 757.278.0920 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
33531 users|457 users currently online|74445 forum posts