Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add multiple products from the index.php


soodanim

Recommended Posts

Posted

when u click on the categories, it brings up the products in that category in the middle box, OK i have added a quantity box next to the "buy now" and thats all good...

 

but is there a way to make multiple enters in the "quantity" boxes on the same page and have an "add to cart" button? to save people having to "buy now" then come back to the page?

 

TIA :)

  • 1 month later...
Posted

yes plzz. i would like to know more about his feature too.

 

i would like my buyers to add multiple entries in QTY fields and hit one single "update" button which will save all simultaneously.

 

is this possible?

 

btw, i've searched contributions,played with a few hacks but most don't do this or have flaws.

 

thanx in advance :)

Posted

thnx. i'll give it a try.

 

also, is there any way i can make it a "log in only" site "not viewable by public"? i also want only adminsto make new accounts.

 

thanx in advance :)

Posted
also, is there any way i can make it a "log in only" site "not viewable by public"? i also want only adminsto make new accounts.

 

 

The other week I had a special script written which allows access to a web page only to customers who have registered in the shop.

 

I suppose you could 'hide' the shop link and protect it behind this script.

 

Normally this would be a problem as if customers need to be registered to access the page, they would not be able to get to the shop to register. But in your case as you want to do the registration it should work.

 

I am doing a couple of tests with the script this weekend, but if you are interested, let me know.

 

Pewe

Posted
also, is there any way i can make it a "log in only" site "not viewable by public"? i also want only adminsto make new accounts.

 

 

The other week I had a special script written which allows access to a web page only to customers who have registered in the shop.

 

I suppose you could 'hide' the shop link and protect it behind this script.

 

Normally this would be a problem as if customers need to be registered to access the page, they would not be able to get to the shop to register. But in your case as you want to do the registration it should work.

 

I am doing a couple of tests with the script this weekend, but if you are interested, let me know.

 

Pewe

i am very interested. thnx.

 

also, i had come across a similar contribution but couldn't get it to work.

 

it's very close to what i'm searching for but it appears unfinished/abandoned.

what do you think of that mod?

 

Customer Account + login + add new user via admin

http://www.oscommerce.com/community/contributions,999/

Posted
Have you tried this one?

 

http://www.oscommerce.com/community/contributions,1129

 

I have tried it and it works Ok.

 

But it depends what you mean by 'Flaws'

okay. that mod script needs to be updated because the re-define filename as 'product_listing_multi.php' entry for 'product_listing.php' is now found in /includes/filenames.php file

 

also, /includes/application_top.php has had changes since this mod & no longer holds the "define filenames" within.

 

my only problem now is getting the heading text to work with changes.

my heading above product listing is now as follows.

 

TEXT_PRODUCT TEXT_MODEL TEXT_OPTIONS TEXT_PRICE TEXT_AMOUNT_BUY

 

i would like to get thumbnail images feature back too.

 

any help is appreciated here.

Posted

You can change the headings by editing them in 'product_listing_multi.php'. Around line 31 you will find this:

 

  $list_box_contents[] = array('params' => 'class="productListing-heading"');

 

    $cur_row = sizeof($list_box_contents) - 1;

 

    $lc_text = PRODUCT;

    $lc_align = 'left';

    $list_box_contents[$cur_row][] = array('align' => $lc_align,

                                            'params' => 'class="productListing-heading"',

                                            'text'  => $lc_text);

    $lc_text = TEXT_MODEL;

    $lc_align = 'center';

    $list_box_contents[$cur_row][] = array('align' => $lc_align,

                                            'params' => 'class="productListing-data"',

                                            'text'  => $lc_text);

    $lc_text = TEXT_OPTIONS;

    $lc_align = 'center';

    $list_box_contents[$cur_row][] = array('align' => $lc_align,

                                            'params' => 'class="productListing-data"',

                                            'text'  => $lc_text);

 

    $lc_text = TEXT_PRICE;

    $lc_align = 'right';

    $list_box_contents[$cur_row][] = array('align' => $lc_align,

                                            'params' => 'class="productListing-data"',

                                            'text'  => $lc_text);

    $lc_text = TEXT_AMOUNT_BUY;

    $lc_align = 'center';

    $list_box_contents[$cur_row][] = array('align' => $lc_align,

                                            'params' => 'class="productListing-data"',

                                            'text'  => $lc_text);

 

Edit them as appropriate.

 

If you want the 'Model' to show, turn it on in the admin control panel.

 

I'm no php expert so can't help with the images part, but at least you can change the headings until you find a solution.

 

I will work on a contribution for the login script at the weekend.

 

 

what do you think of that mod?

 

Didn't try that because what I needed was a simple script to authenticate access to a/any web page by checking against the OSCommerce customer data table.

Posted

k. thnx pewe.

 

i was hoping for a more definitive solution because the text in the heading is not even hyper linked/clickable. the code in that mod looks awefully messy.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...