Dear Clyde,
I'm using your cold steel template and I like the clean professional look.
I have a problem with the image in the product page. It won't centre, it just shows in half. Here it is:
http://plussizeclothing2u.com/index....oducts_id=1975
I hope you can help me. I'm quite new to zencart but I've tried searching for the solution in the admin, alas to no avail.
Thank you in advance.
Cheers,
ZAIN
Thanks for the swift reply!
Is there any other way than resizing the pics, like adjusting the column width or bringing the pic to the center.
TQ
open includes/templates/cold_steel/templates/tpl_product_info_display.php
find the following section of code:
and and move it to just above this line of code (line 194)PHP Code:
<!--bof Product description -->
<div id="productDescriptionBox">
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
<br class="clearBoth" />
<!--bof Product details list -->
<?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
<ul id="productDetailsList" class="floatingBox back">
<?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?>
<!-- <?php // echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?> -->
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
</ul>
<br class="clearBoth" />
<?php
}
?>
</div>
</div>
<br class="clearBoth" />
<!--eof Product details list -->
<!--bof Additional Product Images -->
Dear Clyde,
Thank you very much!
Looks like it's working!
ZAIN
Hi Clyde,
I'm trying to make it so that only the category images display on the main page - not the image and category name. My category image is a logo that contains the category name, so having both listed is redundant.
I've searched some other posts in the support forum, but I have not had any success in any of the suggestions posted. Maybe it is something template specific that needs to be done?
I want to keep the subcategories showing the category name and image - its just the top level categories on the main page I want to only display the image for. Any assistance would be greatly appreciated - I really like your Cold Steel template!
Thanks in advance.
Here is the URL:
http://www.valuepricedappliances.com/zen-cart/
Thanks.
Its not template specific.
You'll need to edit includes/modules/category_row.php
look at line 39 in that file the highlighted portion is what need to be edited/deleted
make sure to save the edit file toCode:$list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"', 'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');
includes/modules/cold_steel/category_row.php
upload the edited file to your server.
Bookmarks