Forums / Templates, Stylesheets, Page Layout / Product listing on main page?

Product listing on main page?

Locked
Results 1 to 15 of 15
This thread is locked. New replies are disabled.
30 Oct 2008, 23:40
#1
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Product listing on main page?

Hey folks, i want to really cut down my site to the bare minimum, and when I saw bare minimum I mean it.

Here is whay I have now: http://justaaudial.net/releases.html

I'd love to have http://justaaudial.net/store look exactly the same as the link above. I haven't yet begun really, so I realize I am pretty far but the one thing that deferred me from doing so was that I didn't notice anthing that would allow me to just show my one category on the main page. Any ideas?
31 Oct 2008, 08:03
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Product listing on main page?

Yes, turn off your new products of the month and then go to:
includes>templates>yourtemplate>templates>tpl_index_default.php add code just below

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>

For your image and product like this

<table style="width: 100%;"><tbody><tr>
<td rowspan="1" style="text-align: center; width: 100%;">
<?=zen_image(DIR_WS_TEMPLATE.'images/center_product.jpg','','','','')?></td></tr>
</tbody></table>

your image would be in your template images folder add text and a link to your product like this link
<a href="index.php?main_page=index&cPath=48">Top 40 CD</a>
31 Oct 2008, 10:41
#3
jarsa avatar

jarsa

New Zenner

Join Date:
May 2006
Posts:
45
Plugin Contributions:
0

Re: Product listing on main page?

I' am not quite sure if this is what you wanted, but there is "Main Page-Opens with Category" in Admin->Configuration->Layout settings.
02 Nov 2008, 16:31
#4
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

usernamenone:

Yes, turn off your new products of the month and then go to:
includes>templates>yourtemplate>templates>tpl_index_default.php add code just below

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>

For your image and product like this

<table style="width: 100%;"><tbody><tr>
<td rowspan="1" style="text-align: center; width: 100%;">
<?=zen_image(DIR_WS_TEMPLATE.'images/center_product.jpg','','','','')?></td></tr>
</tbody></table>

your image would be in your template images folder add text and a link to your product like this link
<a href="index.php?main_page=index&cPath=48">Top 40 CD</a>


i tried this but couldn't quite get it to work... i pasted the "table style" under the "show customer greeting" but it didn't seem to work? could you clear up where exactly to paste it
04 Nov 2008, 14:52
#5
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

jarsa:

I' am not quite sure if this is what you wanted, but there is "Main Page-Opens with Category" in Admin->Configuration->Layout settings.


I tried this as well, I have one category set up and the category ID is 1, so I wrote in 1... didn't work. I tired putting 0 for "top level"... didn't work. Any ideas?
05 Nov 2008, 10:52
#6
jarsa avatar

jarsa

New Zenner

Join Date:
May 2006
Posts:
45
Plugin Contributions:
0

Re: Product listing on main page?

Same place -> Categories-Always Show on Main Page. Do you have that turned on?
05 Nov 2008, 15:59
#7
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

jarsa:

Same place -> Categories-Always Show on Main Page. Do you have that turned on?


that did it! thanks
05 Nov 2008, 17:56
#8
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

OK so I have the first steps happening

now can someone tell me what to edit to replace the short version of the description in the product all listing to the full product description from the product listing?

justaaudial.net/store

justaaudial.net/store/index.php?main_page=product_info&cPath=1&products_id=3
06 Nov 2008, 03:31
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Product listing on main page?

xfourninetwox:


now can someone tell me what to edit to replace the short version of the description in the product all listing to the full product description from the product listing?

Admin->Configuration->Product Listing->Display Product Description
Display Product Description
Do you want to display the Product Description?

0= OFF
150= Suggested Length, or enter the maximum number of characters to display
06 Nov 2008, 07:33
#10
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

DrByte:

Admin->Configuration->Product Listing->Display Product Description


why does this method not allow for my paragraph formatting? i have a number of line breaks in there that don't seem to be showing
06 Nov 2008, 11:56
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Product listing on main page?

The descriptions in the product *listings* never show any HTML markup. It's removed intentionally.
06 Nov 2008, 14:09
#12
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

is there a way in the php to move the code that displays the full description into the all listing page?

if it was removed intentionally it seems like it can be replaced intentionally
06 Nov 2008, 14:32
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Product listing on main page?

You can do whatever you like with your own store, with whatever consequences result.

Find the appropriate reference to zen_clean_html() and remove it.
06 Nov 2008, 19:44
#14
xfourninetwox avatar

xfourninetwox

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Product listing on main page?

Ok I think I have found a very simple solution to this query for me, just use the link from the all listing "buy now" and paste it into my standard html page. someone will be able to add it to the zen cart that way.

http://justaaudial.net/store.html

Another question:

How do I turn off the "New Products" when the cart comes up as "Your shopping cart is empty" ?
06 Nov 2008, 22:24
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Product listing on main page?

xfourninetwox:

How do I turn off the "New Products" when the cart comes up as "Your shopping cart is empty" ?


Admin->Configuration->Stock