Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

This what I have Now:

 

When I select one of the catagories it gives a listing of all sub catagories with-in that catagory and then when I select one of the sub catagories it would give me a listing of all the products with-in that sub catagory and then when I select a product it brings up that product, image, price, options and then I can buy from that menu.

 

This what I would really like to happen: :lol:

 

When I select one of the Catagories it would give a listing of all sub catagories with-in that catagory. Then when I select one of the sub catagories it would bring up a listing of all the products with images, prices, options and buy icon. These leaves out the step where you select a product and it brings up only one product.

 

I don't know if there is a menu product out there that will do this.

 

I am using pm_categuries menu and at the present I have found no way of doing this in this program.

  • 4 weeks later...
Posted
This what I have Now:

 

When I select one of the catagories it gives a listing of all sub catagories with-in that catagory and then when I select one of the sub catagories it would give me a listing of all the products with-in that sub catagory and then when I select a product it brings up that product, image, price, options and then I can buy from that menu.

 

This what I would really like to happen:

 

When I select one of the Catagories it would give a listing of all sub catagories with-in that catagory. Then when I select one of the sub catagories it would bring up a listing of all the products with images, prices, options and buy icon. These leaves out the step where you select a product and it brings up only one product.

 

I don't know if there is a menu product out there that will do this.

 

I am using pm_categuries menu and at the present I have found no way of doing this in this program.

This one I made some changes and came up with what I call work able and it is as follows:

 

FIRST BACK UP All YOU FILES LISTED BELOW BEFORE YOU MAKE ANY CHANGES!!!

 

This is only for people who do not use the "Buy Now" button.

 

This is around about way of doing this, and if you want to rewrite the files that is your thing.

Myself I don't know that much about programming in OsCommerce PHP.

 

This adds a "View Detail" button in your product listing page.

I have tried to use the "BUY Now" in the product listing page by activating it in the Admin page.

But it works only if you have options for your products.

If you don't it will add the product to your shopping cart.

Whick I didn't want. So I maked the following changes

 

 

File:incudes/modules/product_listing.php

Find:

case 'PRODUCT_LIST_BUY_NOW':

$lc_align = 'center';

$lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';

break;

}

 

Replace it with:

case 'PRODUCT_LIST_BUY_NOW':

$lc_align = 'center';

$lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';

break;

}

 

File:incudes/languages/english/index.php

Find:

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

 

Change it to:

define('TABLE_HEADING_BUY_NOW', 'View Detail');

 

File:incudes/languages/english.php

Find:

define('IMAGE_BUTTON_BUY_NOW', 'Buy Now');

 

Change it to:

define('IMAGE_BUTTON_BUY_NOW', 'View Detail');

 

Replace your includes/languages/english/images/button/button_buy_now.gif

With any new button_buy_now.gif, keep the name the same. Mine diplays "Show Detail" as a image button.

 

Now final:

Go on to your admin page select configuation, click Product listing

click and edit "Display Buy Now Column" with a "1" this activates this.

 

Your none.

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