Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

All Products v3.0


wiggy88

Recommended Posts

This is a newbie's question! What is the author of this contribition referring to when he mentions "lines"? And where are these "lines" to be copied from and pasted to?

Now, i know this must be a very, very simple question to answer, and you would only parlay your reputation into excellence by lending a helping hand to such a goodly young man. Thank You!

 

Install

 

1. copy /catalog/all_products.php to your catalog/all_products.php

and /catalog/includes/languages/(language)/all_products.php to your /catalog/includes/(language)/all_products.php

 

RIGHT HERE---->>>>>>2. add the lines in:

 

/catalog/includes/filenames.php

/catalog/includes/languages/english.php

/catalog/includes/languages/german.php

 

into your files with the same path and name.

RIGHT HERE---->>>>>> Attention! Don't replace!!! Add only lines beginning with "define".

 

3. Place Links to the new page as you want. Look this:

 

<?php

echo '<a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '">' . ALL_PRODUCTS_LINK . '</a>';

?>

 

3.1 Make a link in the categoriesbox:

find the following 2 lines code near bottom of catalog/includes/boxes/categories.php:

 

 

$info_box_contents = array();

$info_box_contents[] = array('text' => $categories_string);

 

and now add this directly before:

 

$categories_string .= '<br><a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '"><b>' . ALL_PRODUCTS_LINK . "</b></a>\n";

 

 

 

That should do it!!

If you find this contribution useful and be happy, let me know it. When not be in silence.

I'm sorry for my bad english. I hope you can it understand.

 

Wish you peace on earth and have a nice time.

Link to comment
Share on other sites

I don't know which contribution you are referring to, since there is more than one all products, but what the author means is that the lines of code needs to be added to the files indicated.

 

Instructions will usually say something like

Find the following in includes/filenames.php
which means you need to open that file and search for the given text. Then it will usually say
Add the following lines under it
which means you need to copy the "following lines" and paste them into the file.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I don't know which contribution you are referring to, since there is more than one all products, but what the author means is that the lines of code needs to be added to the files indicated.

 

Instructions will usually say something like which means you need to open that file and search for the given text. Then it will usually saywhich means you need to copy the "following lines" and paste them into the file.

 

Jack

 

I am referring to specifically this cotribution: 22 May 2004 - all products page modified to work with BTS v1.3, the install instructions don't seem to specify, what code needs to be inserted, see that install instructions on my last post above. am i missing something here? please do respond, with your very kindly voices, thank you!

Link to comment
Share on other sites

I am referring to specifically this cotribution: 22 May 2004 - all products page modified to work with BTS v1.3,  the install instructions don't seem to specify, what code needs to be inserted, see that install instructions on my last post above. am i missing something here? please do respond, with your very kindly voices, thank you!

figured it out thanks!

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