Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Japanese Robot Chucking Parts - eins1.us
 
JoshBelke
Member
 
Total Posts:  64
Joined:  2008-02-12
NY, NY
 

Hello,

Welcome to: http://www.eins1.us

What: This is an online parts catalog .
Who: The audience is focused on industrial/electrical engineers that know what they need already, correlating to a pre-existing physical catalog.
When: The site was launched/unblocked last week May 30th 2008.

Highlight Custom:
Navigation - vertical navigation, filtering breakdown, my mod.
Modules View - grouped association of grouped attributes to simple attributes
Speed - Over 200 categories, initial page load time ~2.6 seconds, cart navigation ~1.1-1.7 seconds,

Inactive-Addons:
Media Download - pdfs, zips, per item (member only)
Assemblies - Groups of Modules

Thank you,

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hobitnjak
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-01-05
Sarajevo, Bosnia
 

Clean and simple but maybe there is too much green color?

 
Magento Community Magento Community
Magento Community
Magento Community
 
JoshBelke
Member
 
Total Posts:  64
Joined:  2008-02-12
NY, NY
 

"Clean and simple” - indeed, its geared towards get in and get out with what you need for the audience, no thrills.
“too much green color?” - its what they wanted, including the frog-like guys. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gabriiiel
Guru
 
Avatar
Total Posts:  563
Joined:  2008-04-29
France - Paris
 

solved.

 
Magento Community Magento Community
Magento Community
Magento Community
 
JoshBelke
Member
 
Total Posts:  64
Joined:  2008-02-12
NY, NY
 

Gab,

There are a few ways…

Either their names are standardized or not.
If standardized, on what? (Sku/Name)

If not, how defined? Attribute.
----------------------------------------
I started with a standardization, it happened to be that all the PDF’s match the Product Names and their Images but capitalized.
I check per product if the file exists in the set location, if it does, its displayed, and can be downloaded. If not… its not.

I started out with something like the following…

app/ ... / template/catalog/products/view.phtml
and viewgroup.phtml

<?php if ($this->helper('customer/data')->isLoggedIn()): ?>
            
<h4><?php echo $this->__('Downloads'?></h4>
        
        
<?php 
              
//media pathing
              
$path $this->getUrl('').'media/catalog/product/';
              
//pdf uses .pdf ext and standard numbers
              
$pdf $_product->getImage(); 
              
$pdf strtoupper($pdf);
              
$pdf str_replace(".JPG"".pdf"$pdf);
               
               
//dxf uses .dxf ext and order codes
              
$dxf $_product->getSku().'.dxf';
              
              
//iges uses .zip ext and order codes
              
$iges $_product->getSku().'.zip';
              
              
//final string
              
$pdf $path.$pdf;
              
$dxf $path.$dxf;
              
$iges $path.$iges;
              
        if(
file_exists($pdf))
        
{
        ?> 
        
        
<button class="form-button">
            <
span> <a style="color: #ffffff ;" href="<?php echo $pdf ; ?>"><?php echo "PDF" ?> </a></span>
        </
button>
        
        
<?php }
        
if(file_exists($dxf)){
        ?>
        
        
<button class="form-button">
            <
span> <a style="color: #ffffff ;" href="<?php echo $dxf ; ?>"><?php echo "DXF" ?></a></span>
        </
button>
        
        
<?php }
        
if(file_exists($iges)){
        ?>
        
        
<button class="form-button">
            <
span> <a style="color: #ffffff ;" href="<?php echo $iges ; ?>"<?php echo "IGES" ?></a></span>
        </
button>
        
<?php }
        ?>
<?php 
endif; ?>

This would check to see if they were a customer, check to see if the expected files exist, and display if they do.

Another add on you can do is also to check to see if an attribute exists, what that string is, and see if that file exists on the server.

(http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-attributes-custom-fields)
create an attribute, (PDF)
add it to your attribute set, allow text entry..
the user in the admin can use “bob.pdf” or “bob” depending on your code.

Then you grab “bob.pdf” from the current object, see if bob.pdf exists in your specified path.

<div class="collateral-box attribute-specs">
    
     <
div class="head">
                <
h4><?php echo $this->__('Additional Information'?></h4>
            </
div
    
     <
table cellspacing="0" class="data-table" id="product-attribute-specs-table">  
       
       
      
<?php if ($this->helper('customer/data')->isLoggedIn()){ ?>
           
<tr
            <
td class="label"Order Code </td>
               <
td class="data"><?php echo $_product->getSku() ?></td>
         </
tr>
        
        
<?php if($_additional $this->getAdditionalData()){ ?>
            <?php 
foreach ($_additional as $_data){ ?>     
            
            
<tr>
                  <
td class="label"><?php echo $_data['label'] ?></td>
                  <
td class="data"><?php echo $_data['value'] ?></td>
            </
tr>
            
            
<?php } ?>
        <?php } ?>
       <?php }else{ ?>
       
        
<tr
        <
td class="label"Order Code </td>
           <
td class="data"><?php echo $_product->getSku() ?></td>
        </
tr>
        <
tr>
           <
td class="label"Downloads available for registered customersClick <a href="https://www.eins1.us/index.php/customer/account/login">here</ato register or login. </td>
           <
td></td>
        </
tr>
        
      
<?php }
      
//endelse
      
?>
      
      
</table>
            

    
    
<?php //echo "<pre>".print_r($_product)."</pre>" ; ?> 
    
</div>
    
                

        
<?php echo $this->getChildHtml('upsell_products'?>
        <?php 
echo $this->getChildHtml('product_additional_data'?>
    
</div>
</
div>
Uses the attributes in view.phtml
 
Magento Community Magento Community
Magento Community
Magento Community
 
Gabriiiel
Guru
 
Avatar
Total Posts:  563
Joined:  2008-04-29
France - Paris
 

solved.

 
Magento Community Magento Community
Magento Community
Magento Community
 
JoshBelke
Member
 
Total Posts:  64
Joined:  2008-02-12
NY, NY
 

I don’t know the answer to Xampp off hand.
Though I have tested things on Xampp//Wampp, I have found virtualbox (http://www.virtualbox.org/) + Ubuntu Server w/Lamp or CentOS to be a better development environment, especially if transferring the project to a production server.
Have you considered this?

In regards to the media, the goal is to have all the people interested in it, have access.
It’s just another incentive to join - more resource access.

“Someone who want to “copy” your “
We want people to copy/download/utilize the data. Just prefer it via membership!

Security isn’t an issue when you want your media information to be disseminated. smile

GL!

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Mentor
 
Avatar
Total Posts:  1655
Joined:  2007-12-14
Waterloo, ON
 

I had the same thought about the green - it’s a little overwhelming - but if that’s what the client wanted, then sobeit. smile

Overall it’s nice, though.  I really like the layered navigation on the front page.  Gives it more of a shop feel and helps navigate the user since there are so many products.

 
Magento Community Magento Community
Magento Community
Magento Community
 
JoshBelke
Member
 
Total Posts:  64
Joined:  2008-02-12
NY, NY
 

"it’s a little overwhelming”
-You should see the catalog. Its very green!

“I really like the layered navigation on the front page.”
-Thank you

Ends up being the homepage is an invisible category, they can add products as they choose via category admin just like any other.
-Worked out very well.

After spending the last month and a half with Magento, we are starting to become ... friends.

There will be another 2 added to the list in the next few months.

The next stores should have some mods that the community can enjoy. Specifically a very custom shipping module that takes into account advanced rule sets.

Can’t wait till bundles mature, will be perfect to avoid work arounds.

~Josh
----------------------
Edit: Others have also discovered the attribute work for media… they have put a bit more information together for users.
please see the following thread: http://www.magentocommerce.com/boards/viewthread/7223
(june 14th, by norbolig)

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top