Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

JUST RELEASED! Printable Catalog


Guest

Recommended Posts

Anyone know which files are used to put in the 'Store name', 'Address', 'Country', and 'Phone'? My catalog looks great but the left portion of the header says exactly that:

 

Store Name

Address

Country

Phone

 

I've looked at some of the obivous files (english.php, filenames, php, etc), but can't figure out how to fix this to insert my store information.

 

Hi Aheisey,

You do it in admin, under configuration and then under my store. It is not in one of the files.

 

Hi Hooman,

Another problem. My logo disappeared. Have inserted my logo imagefile in includes/header1.php instead of the standard oscommerce, but does not work. How did you fix this?

 

Also see my post above with other problems.

 

Thanks:-)

Kjolebutikken

 

Kjolebutikken

Best regards

Kjolebutikken

Link to comment
Share on other sites

Hi Aheisey,

You do it in admin, under configuration and then under my store. It is not in one of the files.

 

Hi Hooman,

Another problem. My logo disappeared. Have inserted my logo imagefile in includes/header1.php instead of the standard oscommerce, but does not work. How did you fix this?

 

Also see my post above with other problems.

 

Thanks:-)

Kjolebutikken

 

Kjolebutikken

 

That's odd. I have the info filled out in the 'My Store' Administration area (ie. Title-Store Name, Value-A and D Enterprises, Inc., etc.). This was one of the first things I did when I installed the software.

Link to comment
Share on other sites

That's odd. I have the info filled out in the 'My Store' Administration area (ie. Title-Store Name, Value-A and D Enterprises, Inc., etc.). This was one of the first things I did when I installed the software.

 

Nevermind. Its under the Store Address and Phone line which I didn't change. Duh.

Link to comment
Share on other sites

I have updated the files on the link I had posted above.. let me know if that fixes your issue.

 

Hi:-)

No, unfortunately there was no difference. I basically have two problems, the first is most necessary to solve:

 

1. I cannot make my logo to show. (Did yours disappear?)

 

2. I want to reduce the size of the text in the table.

 

Thanks

Kjolebutikken

Best regards

Kjolebutikken

Link to comment
Share on other sites

Hi:-)

No, unfortunately there was no difference. I basically have two problems, the first is most necessary to solve:

 

1. I cannot make my logo to show. (Did yours disappear?)

 

2. I want to reduce the size of the text in the table.

 

Thanks

Kjolebutikken

Open catalog/print_catalog.php - around line 34 ( <td align="right"><?php echo tep_image(DIR_WS_IMAGES . 'logo2_sm.gif', 'PyjamaParties'); ?></td>) replace the image name with YOUR logo file....

Link to comment
Share on other sites

Hello did this ever get sorted out? I have read carefully through the replies.

Thanks

Linda

 

Open /catalog/print_catalog.php and look for the sql selection (line 49) . Enter the word "distinct" after the "select" eg.: $print_catalog_query_raw = "select distinct p.products_id,

Link to comment
Share on other sites

Open /catalog/print_catalog.php and look for the sql selection (line 49) . Enter the word "distinct" after the "select" eg.: $print_catalog_query_raw = "select distinct p.products_id,

 

Hi thanks:-) Unfortunately I don't have a catalog/print_catalog.php file, so maybe it's not the same contribution??? But thank you so much for your answer:-))))

 

Anyhow, I got some good help from Hooman, and this isthe solution for the problems I posted above:

 

1. Logo: The reason for it not showing was very simple. By accident, I don't have any idea how, the logofile had been deleted from my site, so I had to upload it again, and then it worked fine:-)

 

2. In the file catalog_products_with_images_full, I insterted this code:

 

<td width="17%" align="right" valign="center">
<A HREF="javascript:window.print()">
<?php echo tep_image_button('button_go.gif', IMAGE_BUTTON_GO); ?>

 

just below this:

 

   <td class="pageHeading">
<?php echo HEADING_TITLE; ?>

 

In the beginning of this file I added:

 

define('IMAGE_BUTTON_GO', 'Print out');

 

I added the same line in the languagefiles, but I'm not sure it is necessary to add it in all of them:

includes/languages/english/catalog_products_with_images.php

includes/languages/norwegian/catalog_products_with_images.php

includes/languages/english.php

includes/languages/norwegian.php

 

Now I only have to make myself another pront out button:-)

 

Thanks, Hooman

 

Best regards

Kjolebutikken

Best regards

Kjolebutikken

Link to comment
Share on other sites

Hi thanks:-) Unfortunately I don't have a catalog/print_catalog.php file, so maybe it's not the same contribution??? But thank you so much for your answer:-))))

 

Anyhow, I got some good help from Hooman, and this isthe solution for the problems I posted above:

 

1. Logo: The reason for it not showing was very simple. By accident, I don't have any idea how, the logofile had been deleted from my site, so I had to upload it again, and then it worked fine:-)

 

2. In the file catalog_products_with_images_full, I insterted this code:

 

<td width="17%" align="right" valign="center">
<A HREF="javascript:window.print()">
<?php echo tep_image_button('button_go.gif', IMAGE_BUTTON_GO); ?>

 

just below this:

 

   <td class="pageHeading">
<?php echo HEADING_TITLE; ?>

 

In the beginning of this file I added:

 

define('IMAGE_BUTTON_GO', 'Print out');

 

I added the same line in the languagefiles, but I'm not sure it is necessary to add it in all of them:

includes/languages/english/catalog_products_with_images.php

includes/languages/norwegian/catalog_products_with_images.php

includes/languages/english.php

includes/languages/norwegian.php

 

Now I only have to make myself another pront out button:-)

 

Thanks, Hooman

 

Best regards

Kjolebutikken

 

 

Reducing text size in table was solved by changing the td class to main in the following part of the code in catalog_products_with_images_full.php:

 

 </td>
<?PHP if (PRODUCT_LIST_CATALOG_DATE == 'show') { ?>
			<td class="main" align="center"><div align=left><?php 
								if (PRODUCT_LIST_CATALOG_DATE_SHOW == 'show') echo tep_date_short($products['products_date_added']); ?> </div></td>
<?PHP } ?>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_MANUFACTURERS == 'show') { ?>
			<td class="main" align="center"><div align=left><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $products['categories_id'] . '&products_id=' . $products['products_id'], 'NONSSL') . '">' . $products['manufacturers_name'] . '</a>'; ?> </div></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_NAME == 'show') { ?>
<?PHP if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') { ?> 
			<td class="main" align="center"><div align=left><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id'], 'NONSSL') . '">' . $products['products_name'] . '</a>'; ?> </div></td>
<?PHP } else { ?>
			<td class="main" align="center"><div align=left><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $products['categories_id'] . '&products_id=' . $products['products_id'], 'NONSSL') . '">' . $products['products_name'] . '</a>'; ?> </div></td>
<?PHP } ?>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_DESCRIPTION == 'show') { ?>
		   <td class="main" align="center"><?php echo substr(nl2br($products['products_description']), 0, $description_length); ?>... <?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $products['cPath'] . '&products_id=' . $products['products_id'], 'NONSSL') . '"><i>More Info</i>...</a>'; ?></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_CATEGORIES == 'show') { ?>
			<td class="main" align="center"><div align=left><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $products['categories_id'], 'NONSSL') . '">' . $products['categories_name'] . '</a>'; ?> </div></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_MODEL == 'show') { ?>
			<td class="main" align="center"><div align=left><?php echo $products['products_model']; ?> </div></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_UPC == 'show') { ?>
			<td class="main" align="center"><div align=left><?php echo $products['products_upc']; ?> </div></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_QUANTITY == 'show') { ?>
			<td class="main" align="center"><div align=left><?php echo $products['products_quantity']; ?> </div></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_WEIGHT == 'show') { ?>
			<td class="main" align="center"><div align=left><?php echo $products['products_weight']; ?> </div></td>
<?PHP } ?>
<?PHP if (PRODUCT_LIST_CATALOG_PRICE == 'show') { ?> 
		<td class="main" align="center"><div align=left><B>
<?php 
 if (PRODUCT_LIST_CUSTOMER_DISCOUNT == 'show') {
//echo $currencies->format($products['final_price']-($products['final_price']*$discount/100)); 
echo $currencies->display_price($products['final_price']-($products['final_price']*$discount/100), tep_get_tax_rate($products['products_tax_class_id']));
} else {
echo $currencies->display_price($products['final_price'], tep_get_tax_rate($products['products_tax_class_id']));
}
?></B> </div></td>

 

 

Still figuring out how to change the textsize of the PREVIOUS and NEXT pageflipping at the bottom of the table. Anyone???? Or have buttons instead???

 

Thanks

Kjolebutikken:-)

Best regards

Kjolebutikken

Link to comment
Share on other sites

In catalog/print_catalog.php add categories_name to the array. In includes/modules/print_catalog.php use one of the ouput statements as a model and call the array result for your category. Place your statement in the layout where you'd like it.

 

I have the following error:

http://shop.ossuaryindustries.com/print_catalog.php'[/url]]Parse error: parse error, unexpected T_DOUBLE_ARROW in /home/ossind/public_html/shop/print_catalog.php on line 65

 

My understanding of php is limited - but I am determined to improve. I would greatly appreciate your help to accomplish this while I continue to figure out the syntax of php :blush: I know this is going to clarify other questions of php application as well so thank you much in advance!

 

I attempt to follow these instructions by doing this ():

 

1) add catagories_name to array of catalog/print_catalog.php ...

array was originally:

$print_catalog_array[] = array('id' => $print_catalog['products_id'],
						 'name' => $print_catalog['products_name'],
						 'description' => $print_catalog['products_description'],
								  'model' => $print_catalog['products_model'],
								  'image' => $print_catalog['products_image'],
							   'price' => $print_catalog['products_price'],
								  'specials_price' => $print_catalog['specials_new_products_price'],
								'tax_class_id' => $print_catalog['products_tax_class_id'],
							   'date_added' => tep_date_long($print_catalog['products_date_added']),
							   'manufacturer' => $print_catalog['manufacturers_name']);

so i added (on line 65)

'catagory' => $print_catagory['categories_name'];

at line 65 however that seems to be the problem... I tried adding it at different lines, and adding a ')' such as the two previous lines, no success yet. Can you provide syntax of how this line should be added? If there should be a join inserted to the $print_catalog_query_raw please be so kind as to advise me on this? ... below is the full php chunk after line was added to array incase I am adding to wrong array or calling improper:

<?php
$print_catalog_query_raw = "select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_image, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, p.products_date_added, cd.categories_name, m.manufacturers_name from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c on p.products_id=p2c.products_id left join " . TABLE_CATEGORIES . " c on p2c.categories_id=c.categories_id left join " . TABLE_CATEGORIES_DESCRIPTION . " cd on c.parent_id='0' and c.categories_id=cd.categories_id left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where products_status = '1' order by cd.categories_name, c.parent_id, c.sort_order, c.categories_id, pd.products_name";

//$print_catalog_split = new splitPageResults($print_catalog_query_raw, MAX_DISPLAY_PRINT_CATALOG);
//$featured_products_split = new splitPageResults($featured_products_query_raw, MAX_DISPLAY_FEATURED_PRODUCTS);
$print_catalog_query = tep_db_query($print_catalog_query_raw);
while ($print_catalog = tep_db_fetch_array($print_catalog_query)) {
   $print_catalog_array[] = array('id' => $print_catalog['products_id'],
						 'name' => $print_catalog['products_name'],
						 'description' => $print_catalog['products_description'],
								  'model' => $print_catalog['products_model'],
								  'image' => $print_catalog['products_image'],
							   'price' => $print_catalog['products_price'],
								  'specials_price' => $print_catalog['specials_new_products_price'],
								'tax_class_id' => $print_catalog['products_tax_class_id'],
							   'date_added' => tep_date_long($print_catalog['products_date_added']),
							   'manufacturer' => $print_catalog['manufacturers_name']);
	   'catagory' => $print_catagory['categories_name']; //here is ***** line 65*****
}
?>

 

2) In includes/modules/print_catalog.php use one of the ouput statements as a model and call the array result for 'your' category. I know part 1 needs to be accurate first but to kill two birds with one stone... so far to execute this step, I have referenced:

<?php echo $print_catalog_array[$i]['description']; ?>

as an example to write:

<?php echo $print_catalog_array[$i]['catagories_name']; ?>

and placed this within the same <tr> to test. Am I close?

Link to comment
Share on other sites

OOps! can't edit my post so please allow me to add:

 

What I am trying to do with adding catagory (or sub-catagory) to product listing / printable catalog is to display the parent catagory/sub-catagory every time the product is shown. For example: MUSIC CD's (main catagory) > BAND NAME (sub-catagory) > CD TITLE (product)

 

Perhaps I am taking the 'add catagories_name' too literally and should be placing instead a specific catagory name reference? hmm...

Link to comment
Share on other sites

Update! I now have rid myself of the error at line 65 however the 'function' of calling the parent catagory of a product is not being acheived. See step 2 for where I think the problem is now...

 

1) add catagories_name to array of catalog/print_catalog.php ...*and adjust previous lines for proper closing of array, note updated snip below shows how removing ')' and changing the semi-colon to comma from line 64 and placing in line 65 resolves the error. Example:

'date_added' => tep_date_long($print_catalog['products_date_added']),
							   'manufacturer' => $print_catalog['manufacturers_name'],//removed closing ')' 
	   'catagory' => $print_catagory['categories_name']);//here is ***** line 65*****
}
?>

 

2) In includes/modules/print_catalog.php used one of the ouput statements as a model and call the array result for 'your' category.

 

Using this:

[code<?php echo TEXT_CATAGORIES_NAME . $print_catalog_array[$i]['catagories_name']; ?>[/code]

AND adding the following code to catalog/includes/language/english/print_catalog.php :

define('TEXT_CATAGORIES_NAME', 'Band Name: ');

Results in the text 'Band Name: ' displayed in proper location, however no band name (catagories name) is actually rendering... evidently I still need a formula added to check parent catagory of a product (sub-catagory of main catagory) and then if actually post that result - ultimately revealing band name (parent catagory) of cd title (product). Help? ;)

 

I tried copy/pasting from product_info.php but I am coming up short, and still searching.

Link to comment
Share on other sites

  • 2 weeks later...

Hi, does any body know how to display the parent / main category name if I have products, categories and sub categories in the following structure:

 

-Main Category 1

-Sub Category 1

-Product 1

-Product 2

-Product 3

 

-Sub Category 2

-Product 4

-Product 5

-Product 6

 

-Main Category 2

-Sub Category 1

-Product 1

-Product 2

-Product 3

 

-Sub Category 2

-Product 4

-Product 5

-Product 6

 

 

And with that example, for every product, I'd like to display its corresponding Main Category.

For instance, Product 1 has its main category displayed as Main Category 1.

 

I have tried to modify the sql files around a bit, and some codings, but have been no luck.

Please somebody help me out.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

I'm still a beginner, so please bare with me....

 

Instructions for this contrib say;

 

So what am I supposed to change in the following file, as its gone over my head :(

 

(BTW my images are at this path - http://mystore.co.uk/store/images/)

 

 

If I try to run this contrib, I get the following error report

 

Warning: main(includes/languages/english/FILENAME_PRINT_CATALOG): failed to open stream: No such file or directory in /home/mystore/public_html/store/print_catalog.php on line 14

 

Warning: main(includes/languages/english/FILENAME_PRINT_CATALOG): failed to open stream: No such file or directory in /home/mystore/public_html/store/print_catalog.php on line 14

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_PRINT_CATALOG' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mystore/public_html/store/print_catalog.php on line 14

 

Thanks to anyone who can walk me through this :)

____________________________________________________________________

____________________________________________________________________

Link to comment
Share on other sites

I'm having a little integration problem with this Printable Catalog 2.3 contribution.

 

In the alteration of the catalog>includes>boxes>information.php file, I have a different structure for the different page links. As seen below.

 

$info_box_contents = array();

$info_box_contents[] = array('text' => $informationString .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_SHIPPING, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_SHIPPING . '</a><br>' .

// begin Create PO Account

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_CREATEPOACCOUNT) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_CREATEPOACCOUNT, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_CREATEPOACCOUNT . '</a><br>' .

//end Create PO Account

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_PRIVACY, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_PRIVACY . '</a><br>' .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_CONDITIONS, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_CONDITIONS . '</a><br>' .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_CONTACT, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_CONTACT . '</a>');

 

new infoBox($info_box_contents);

?>

 

I am requested by the installation text to;

 

3. In catalog/includes/boxes/information.php find:

 

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

and change to:

 

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_PRINT_CATALOG, '', 'NONSSL') . '" target="_BLANK">' . BOX_INFORMATION_PRINT_CATALOG .'</a>');

 

This presents a problem because I don't know how to convert the statement to conform with my stores code.

 

Any assistance available for this?

Thanks in advance. :blink:

I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting...

 

Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database.

Link to comment
Share on other sites

Well holy snap'in, I did it my self!!!

 

Used this code;

 

Hope it helps someone, sometime.

 

$info_box_contents = array();

$info_box_contents[] = array('text' => $informationString .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_SHIPPING, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_SHIPPING . '</a><br>' .

// begin Create PO Account

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_CREATEPOACCOUNT) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_CREATEPOACCOUNT, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_CREATEPOACCOUNT . '</a><br>' .

//end Create PO Account

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_PRIVACY, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_PRIVACY . '</a><br>' .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_CONDITIONS, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_CONDITIONS . '</a><br>' .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_CONTACT, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_CONTACT . '</a><br>' .

tep_draw_separator('pixel_trans.gif', '05', '12') . '<a href="' . tep_href_link(FILENAME_PRINT_CATALOG, '', 'NONSSL') . '" target="_BLANK">' . tep_image(DIR_WS_ICONS . 'information_box_arrow.gif', BOX_INFORMATION_PRINT_CATALOG, '', '', 'align=absbottom') . tep_draw_separator('pixel_trans.gif', '05', '12') . BOX_INFORMATION_PRINT_CATALOG .'</a>');

new infoBox($info_box_contents);

?>

 

:thumbsup:

I like these mods, there fun! ...65 70 72 75 80 85 125+ contributions installed and counting...

 

Tools I'm using: OSC2.2 milestone2, Filezilla for FTP, PHP Designer 2007PE (nice), Araxis Merge 6.5 to compare files, XP(my box), Remote Server is shared Apache 1.3 Cpanel, CURL, and PHPmyAdmin through my hosts Cpanel to mess up the database.

Link to comment
Share on other sites

  • 2 weeks later...

Ok..I have installed Printable Catalog 3.5, uploaded both the files to catalog and catalog/includes/languages/english and also did the sql file. I am also using STS and when I pull up my site address with catalog_products_with_images.php or catalog_products_with_images_full.php...I get a blank page. What am I missing here. I have gone over the install 3 seperate times and even downloaded the other contribution and installed it. Not sure what I'm doing wrong here. HELP :)

Link to comment
Share on other sites

Finally this issue is resolved thanks to Tom St.Croix who did the contribution. He was kind enough to trouble shoot my problem and realize that it was caused by STS template system..

He pointed the printable catalog php file to point to default files header.php footer.php application_top.php and application_bottom.php before the STS mod was installed

 

You could see a demo of the fixed files on http://www.scrapmode.com/osc/catalog/catal...images_full.php

 

Thanks for a great job Tom!

 

Can you explain the changes needed to change this. There are a few of us that have this problem.

Link to comment
Share on other sites

Hi,

I have made all my images square, so I can?t check if this would be a good idea: try set only the height and leave the width blank in admin section - configuration - images

 

try opening catalog/includes/modules/print_catalog.php

 

find

 

echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $print_catalog_array[$i]['id'], 'NONSSL') . '"><img border="0" height="80" width="100" src="http://mwswebmaster.com/rcprivatelabels/catalog/images/' . $print_catalog_array[$i]['image'] . '"></a>';

 

and remove either the height="80" or the width="100"

 

if you leave width="100" all images will be 100 pixels wide, or leave height="80" and all images will be 80 pixels tall.

 

Or change the value to whatever dimension you want!!

 

hope that this helps someone. also sorry if this was already answered.

I thought this stuff was gonna be easy!!

BACK IT UP BEFORE YOU JACK IT UP!!!!

Link to comment
Share on other sites

I'm also looking for a way to only print certain categories of products instead of the whole store. I searched this thread but found not answers. Anybody know how to do this??

Thanks!

Link to comment
Share on other sites

I have just installed Printable_Catalog_2.3 by webschiff.

Its great except that I can not get it split the pages. I have tried all the suggestions in previous posts and they make no differences what so ever, most seem to relate to earlier versions anyway. Changing the define('MAX_DISPLAY_PRINT_CATALOG', '1'); line in /english/languages/english/print_catalog.php makes no difference at all. it shows the same page layout no matter what I put. I just want 1 item per Page.

 

I would be grateful for any help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...