Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
kersielam
Hi there
I am using Cherry Zen Template, but the product listing page does not show up if there is only one product in the sub-category. Really dunno where went wrong. Please help!!
Here is the product listing page
http://www.omegagolfshop.com//index....ex&cPath=84_88
Many thanks.
Nothing went wrong, that is default zen cart behavior. Either add another product, or change that feature in the admin, under "configuration", "layout settings", "Skip 1-prod Categories"
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
kersielam
I found another two problems.
1) A blank page comes up once I click "Add to cart" button for any product. I have to click go back and shopping cart to view the content.
2) Also a black page comes up when I tried to changes and updates the quantity of product in shopping cart.
How can I fix the problems??
That is not template related, sounds like you have some major file issues, I would ask this in the general forum.
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
gsdcypher
hi jettrue,
how would you move the add to cart button up so it displays right under the item info and/or attributes?
no ideas on the header issue?
thanks.
Open up includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php and move the add to cart section where you'd like it.
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
suekay
Hi,
I am trying to make the cherry zen template 800px wide. I have changed the stylesheet to 800px but the HOME LOGIN MY ACCOUNT SHOPPING CART CHECKOUT section has dropped a little into the header area, I tired reseting to 880px but still no good. It seems that it will only go to 900px without dropping down.
Anyone had this problem and know how to fix?
I'm using a clean install 1.3.8
Thanks for any help you can give
Try decreasing the width here:
#navMain {
float:right;
width:750px;
line-height:normal;
height:32px;
}
Re: Cherry Zen Template Support Thread
[FONT=Arial]thanks for the replies jettrue. :-)
do i move the lines in red when i move the code or do i leave one or both of them in place? *i am going to move it just below the attributes code...
[/FONT] [FONT=Arial] <!--eof Attributes Module -->[/FONT]
[FONT=Arial]I am going to instert here[/FONT][FONT=Arial]
</div> <!-- end of rightFloat -->
[/FONT][FONT=Arial] <br style="clear:left" />[/FONT][FONT=Arial]
[/FONT][FONT=Arial] <!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
// do nothing
} else {
?>
<?php
$display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
// hide the quantity box and default to 1
$the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
} else {
// show the quantity box
$the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="2" />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
}
$display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
?>
<?php if ($display_qty != '' or $display_button != '') { ?>
<div id="cartAdd">
<?php
echo $display_qty;
echo $display_button;
?>
<?php
?>
</div>
<?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->
[/FONT][FONT=Arial] <br class="clearBoth" />
[/FONT][FONT=Arial]thanks![/FONT][FONT=Arial][/FONT]
Re: Cherry Zen Template Support Thread
hi jettrue,
one other quick question... :-)
i have the optional display code for columns installed (instead of rows). when i add text to the category page, how do i get the text to display below the categories rather than above??? http://tinyurl.com/6qm6mg
thanks.
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
gsdcypher
[FONT=Arial][SIZE=2]thanks for the replies jettrue. :-)
do i move the lines in red when i move the code or do i leave one or both of them in place? *i am going to move it just below the attributes code...
You could try it both way to see what happens. :smile: Remember, everything can be changed back. But I don't think you need to move them, but I am not positive.
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
gsdcypher
hi jettrue,
one other quick question... :-)
i have the optional display code for columns installed (instead of rows). when i add text to the category page, how do i get the text to display below the categories rather than above???
http://tinyurl.com/6qm6mg
thanks.
You could install my Short Description for Categories (see sig) which would allow you to have a description above and below. Or open up includes/templates/YOUR_TEMPLATE/templates/tpl_index_categories.php and move it there.
Re: Cherry Zen Template Support Thread
hi jettrue,
i installed the short descriptions for categories mod and i get this error on all of the pages now:
Home
1054 Unknown column 'categories_description_sub' in 'field list'
in:
[SELECT categories_description, categories_description_sub FROM categories_description WHERE categories_id= 0 AND language_id = 1]
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
gsdcypher
hi jettrue,
i installed the short descriptions for categories mod and i get this error on all of the pages now:
Home
1054 Unknown column 'categories_description_sub' in 'field list'
in:
[SELECT categories_description, categories_description_sub FROM categories_description WHERE categories_id= 0 AND language_id = 1]
did you not run the SQL file that came with the mod?