Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  1. Anyone have any guesses?
  2. Hi all, I have my store installed here: http://edinburgh.nshoster.net/~pccomp/ The problem is that when a customer who is not logged in puts something in the cart and then click on one of the "information" links on the lower right, the shopping cart loses it's contents even though the session ID stays the same. Give it a try. Put something in the cart and then click on the information link, the cart will empty. Note the session id before and after...it is the same. I don't understand why I am losing the items in the cart. I am using the Extra-pages contribution for the information box. Thanks a lot. Shagy
  3. shagymoe

    Master Products - MS2

    Hi all, I've added the "attributes" mod to the master products contribution and the attributes are showing correctly, but no matter what I do, when place an order the next page says that my shopping cart is empty. Any ideas? Also, does anyone have some quick code to change the drop down box to an entry box and default to 0? Thanks, Shaby
  4. shagymoe

    Master Products - MS2

    On a side note: I mentioned that I had set the stock configuration settings to: Check stock level => false Subtract stock => false Allow Checkout => true This is not required for the install process and really doesn't make sense if you want the slave products to have the stock subtracted. The only reason I did this was because it seemed to be what someone posted as a fix for the problem. If you want stock subtracted from slaves, the setup is: Check stock level => true Subtract stock => true Allow Checkout => false (if you don't want to allow checkout if stock = 0.) Shagy
  5. shagymoe

    Master Products - MS2

    Ok, so I found a post which seems to have fixed my problem with only a quick test. Here is the fix. In includes/application_top.php REPLACE //Master Products // customer adds multiple products from the master_listing page case 'add_slave' : while ( list( $key, $val ) = each( $HTTP_POST_VARS ) ) { if (substr($key,0,11) == "Qty_ProdId_") { $prodId = substr($key,11); $qty = $val; if ($qty <= 0 ) continue; $cart->add_cart($prodId, $cart->get_quantity(tep_get_uprid($prodId, $HTTP_POST_VARS['id']))+($qty), $HTTP_POST_VARS['id']); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; //Master Products EOF WITH: //Master Products ENDLICH ?BERHOLT!! Ren? Reineke 06.12.03 // customer adds multiple products from the master_listing page case 'add_slave' : foreach ($HTTP_POST_VARS as $keyA => $valueA) { if (substr($keyA,0,11) == "Qty_ProdId_") { $prodId = substr($keyA,11); if ($valueA <= 0 ) continue; $cart->add_cart($prodId, $cart->get_quantity(tep_get_uprid($prodId, $HTTP_POST_VARS['id']))+($valueA), $HTTP_POST_VARS['id']); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; //Master Products EOF However, even if this proves to be a long term solution for the problem, the question still remains...is this a bug? Should it be changed in the contribution files? The changes in the code are only the process of iterating through the array. The first uses while and the second used foreach but in the end they do the same thing. So the only real difference is the line: $qty = $val; The $qty variable is not found anywhere else in application_top.php so it must be a session variable I think which comes from the shopping_cart.php file being required. I haven't scoured the code to understand why this fixes the problem but it definitely is having an undesirable effect. Can anyone explain this? Shagy
  6. shagymoe

    Master Products - MS2

    Apparently this is a great mod if you can get it working. I am not a newbie and I've installed hundreds of contributions but this one has me completely stumped. Here is what I have done. 1) Virgin osCommerce MS2 2.2 installed. 2) Executed Master Products 1.1.5 sql file 3) Overwrote all files with Master Products 1.1.5 files 4) Created a master product. 5) Created several slave products (associated to the master above) 6) Set the following settings: Check stock level => false Subtract stock => false Allow Checkout => true No matter what product I try to buy I always get "Your Shopping Cart is empty!" Supposedly this issue was fixed somewhere in this thread and I found where jado was having the problem, but the fix has eluded me. I thought it was with the stock config settings, but that didn't fix it. Then I thought it had something to do with the master product having a quantity of 1 or 0 and I tried both with no success. I have also messed with the master's price to no avail. The installation.txt file for this contrib does little to explain config settings and such for this contribution so if I've done something wrong how would I know? Are there configuration settings that must be applied? Should the master quantity be 1 or 0? I would really appreciate it if someone could answer these questions or tell me what I am doing wrong. I'm not trying to offend anyone, but when you download a contribution you shouldn't have to read 77 pages of posts to figure out how to make it work. Forgive me if I've missed something obvious and making myself look like an idiot. I'd be willing to submit an updated installation.txt file if the installtion procedure becomes clear. Thanks for the help, Shagy
  7. shagymoe

    [contribution] Simple Template System (sts)

    It seems that none of the errors and warnings in header.php will show up. For instance, I created the "install" directory which should give an error and it doesn't. Shagy
  8. shagymoe

    [contribution] Simple Template System (sts)

    Hi all, Here is a unique problem that I don't think has been addressed yet. Basically I have added the contribution called "Must agree to terms" which displays an error box if the user doesn't select that they have agreed to the terms. It doesn't work with STS and I have included the $headcontent variable in the template. I don't think that any of these error type messages will show up. Anyone have a fix for that? I'm looking into it and I will post if I find the answer, but for now I can't find a way to make it work. When I view the source of a page with STS installed and not installed, I noticed that the line <!-- header //--> never shows up in the source and this is just below the headererror code that I need to work. I'm not sure why it isn't being included. Shagy
  9. shagymoe

    Securepay module that actually works?

    Anyone know of a securepay module that actually works? I've had a zillion issues with every contribution I can find. The only one that will actually process the transaction doesn't ever trigger the checkout_success.php page so the order is never inserted into the database. Any help would be appreciated. Thanks, Shagy
  10. shagymoe

    All Products = Spider Food

    So, where are we at on this contrib? Is the download current with all of the suggested bug fixes? Thanks.
  11. shagymoe

    [Contribution] Dynamic MoPics

    Ok, this baffled me at first and its probably the same problem that badjuju is running into so this might help him/her. The issue is the mopic big image names are not intuitive. You gotta read the small print in the instructions, but basically the problem is that the big images for the mopics have to be the SAME NAME as the thumbs. They don't have the BIG_PIC_EXT extension like the main big image. So here is my test example layout to help clarify. File structure: images/thumbs images/big_images Configure.php setup: define('IN_IMAGE_BIGIMAGES','big_images/'); define('IN_IMAGE_THUMBS', 'thumbs/'); define('MAIN_THUMB_IN_SUBDIR', true); define('THUMBS_PER_ROW', '4'); define('MORE_PICS_EXT', ''); define('BIG_PIC_EXT', '_big'); define('THUMB_IMAGE_TYPE', 'gif'); define('BIG_IMAGE_TYPE', 'gif'); Test example: images/thumbs/the_matrix.gif images/thumbs/the_matrix1.gif images/thumbs/the_matrix2.gif images/thumbs/the_matrix3.gif images/thumbs/the_matrix4.gif images/thumbs/the_matrix5.gif images/big_images/the_matrix_big.gif images/big_images/the_matrix1.gif images/big_images/the_matrix2.gif images/big_images/the_matrix3.gif images/big_images/the_matrix4.gif images/big_images/the_matrix5.gif The main thing here is to notice that NOT all of the big images have the "_big" extension included. Hope that helps ya badjuju. Matt