Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

printable catalog v1.3


Guest

Recommended Posts

hi - am really stuck - does anyone know how to implement a page break after all the products from a category have been shown?

 

thanks tim

Link to comment
Share on other sites

ok so from what I can gather - the pages are determined by this:

 

$numofpages = $totalrows / $limit;

 

 

where

$limit = mysql_result(mysql_query("SELECT configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'PRODUCT_LIST_CATALOG_PERPAGE'"), 0 , 0);

 

is the page break. but this is grabbing the number from the admin control panel - how can I set this to simply break at the end of displaying the products for each category?

 

thanks tim[/code]

Link to comment
Share on other sites

is it possible to rewrite the query then - not going through the control panel but simply to have it break after each category is finished?

Link to comment
Share on other sites

  • 1 month later...

I installed the printable catalog mod v2.5 today, But I get the following error:

 

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/virtual/site599/fst/var/www/html/catalog/catalog_products_with_images.php on line 357

 

Also how can I delete the currencies drop down box included with this mod?

 

thanks jeff

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.
Note: Your post will require moderator approval before it will be visible.

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...