Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Problems in Product Page? Please Solve it

Problems in Product Page? Please Solve it

Locked

Views: 2,251

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
10 Apr 2009, 3:43 PM
#1
jeffhardy avatar

jeffhardy

New Zenner

Join Date:
Aug 2008
Posts:
72
Plugin Contributions:
0

Problems in Product Page? Please Solve it

Hi Friends,
I have some serious problems in my Website, product page.

See this image.

Live you can see it.

http://www.3drevolution.org/laboratory-equipment-p-79.html


I want to add Price text near the Price $49.00 . there text is too small i want just like that

Price $49.00

Also how i will remove the :

Please Choose:
Download
Zip File

From all products page.

Please help and reply.

Best

10 Apr 2009, 4:12 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Problems in Product Page? Please Solve it

To add the word Price before the displayed price, edit your override copy of tpl_product_info_display.php and find this line of code:

<p id="productPrices" class="productGeneral">

change it to:

<p id="productPrices" class="productGeneral">Price 

To hide the options display, try editing your stylesheet and adding:

#attributesBox {display:none;}
10 Apr 2009, 4:16 PM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

jeffhardy:

Also how i will remove the :

Please Choose:
Download
Zip File

From all products page.

Please help and reply.

Best

Jeff,

admin panel/ catalog/ attribute controller/ 3D Medical

  1. select: Laboratory Equipment
  1. You will notice a section here to delete the download section
  1. You will need to do this on all products you associated this with..

You also have a z in the product description you need to get rid of, just edit the product page and you will see..

10 Apr 2009, 4:22 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

Bunnyip,

To hide the options display, try editing your stylesheet and adding:
Code:
#attributesBox {display:none;}
What will happen if this person wants to add attributes on other pages, won't this override the structure of Attributes and not appear on other pages?

10 Apr 2009, 10:24 PM
#5
jeffhardy avatar

jeffhardy

New Zenner

Join Date:
Aug 2008
Posts:
72
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

thanks for your comments , i going to do it. Also i have some other probelms. Please this image and tell me how i do it?

live you can see.

http://www.3drevolution.org/3d-electronics-c-4.html

I want to solve this.
in my product listing page.
*Product name is too large i want to make it smaller li 75% or 12px.
*in the listing products i want to add. Price text in every product price like that. Price $35.00

  • i want to remove ... more info text from my all products?

Please help me how i correct these.

10 Apr 2009, 10:51 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

jeffhardy:

*Product name is too large i want to make it smaller li 75% or 12px.

Jeff,
Locate this:
includes/templates/classic/css/stylesheet.css

Find this or add this element to the sheet:
.itemTitle {font-size: 12px;}

10 Apr 2009, 11:01 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

haredo:

Jeff,
Locate this:
includes/templates/classic/css/stylesheet.css

Mistake:

.itemTitle li {font-size: 12px;}

10 Apr 2009, 11:17 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

jeffhardy:

  • i want to remove ... more info text from my all products?

Jeff,
admin panel/ configuration/ product listing/ Display Product Description

  1. set to 0
10 Apr 2009, 11:19 PM
#9
jeffhardy avatar

jeffhardy

New Zenner

Join Date:
Aug 2008
Posts:
72
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

in my product page problems i have solved them, thanks to you guys, but now i have problems in my product and categories listing page.

when i added it (.itemTitle li {font-size: 12px;}) nothing works that line is not added.? what i do

10 Apr 2009, 11:38 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

haredo:

Jeff,
admin panel/ configuration/ product listing/ Display Product Description

  1. set to 0

Boy, I must be tired. :)
Set it back to 150 please....

Follow this:

includes/ modules/ product_listing.php
Find this:

// more info in place of buy now
$lc_button = '';
if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
}

Change to this:

// more info in place of buy now
$lc_button = '';
if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
//$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
}

10 Apr 2009, 11:39 PM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

jeffhardy:

in my product page problems i have solved them, thanks to you guys, but now i have problems in my product and categories listing page.

when i added it (.itemTitle li {font-size: 12px;}) nothing works that line is not added.? what i do

Jeff,
Sorry again...

.itemTitle a {font-size: 12px;}

11 Apr 2009, 12:03 AM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

jeffhardy:

*in the listing products i want to add. Price text in every product price like that. Price $35.00

Jeff,
includes/ modules/ product_listing.php

Find this:

case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = $lc_price;
Change it to this:
case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = 'Price ' . $lc_price;

11 Apr 2009, 2:44 PM
#13
jeffhardy avatar

jeffhardy

New Zenner

Join Date:
Aug 2008
Posts:
72
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

thanks for your big help.

11 Apr 2009, 3:08 PM
#14
jeffhardy avatar

jeffhardy

New Zenner

Join Date:
Aug 2008
Posts:
72
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

Quote:Originally Posted by jeffhardy
*in the listing products i want to add. Price text in every product price like that. Price $35.00

Jeff,
includes/ modules/ product_listing.php

Find this:
Quote:case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = $lc_price;

Change it to this:
Quote:case 'PRODUCT_LIST_PRICE':
$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
$lc_align = 'right';
$lc_text = 'Price ' . $lc_price;

That works great.

Quote:Originally Posted by haredo
Jeff,
admin panel/ configuration/ product listing/ Display Product Description
set to 0

Boy, I must be tired. :)
Set it back to 150 please....

Follow this:

includes/ modules/ product_listing.php
Find this:
Quote:// more info in place of buy now
$lc_button = '';
if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
}

Change to this:
Quote:// more info in place of buy now
$lc_button = '';
if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
//$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
}

When i do this. then all my products gone. all went hidden. ? Please re explain it

11 Apr 2009, 5:15 PM
#15
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

Jeff,
If you notice, all what changed was this:

  1. includes/ modules/ product_listing.php
  2. //$lc_button
  3. I used the // to comment out the more info .php code
  4. Are you sure you made the change right?
11 Apr 2009, 6:56 PM
#16
jeffhardy avatar

jeffhardy

New Zenner

Join Date:
Aug 2008
Posts:
72
Plugin Contributions:
0

Re: Problems in Product Page? Please Solve it

HI i cant understand, what you are saying, please try to clear it with simple english. like dummies books