Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mysexytoes

Archived
  • Posts

    21
  • Joined

  • Last visited

Profile Information

  • Real Name
    Wanda

mysexytoes's Achievements

  1. Thanks for trying for me (it's all about the kids getting back to the school routine here so I can only get a few minutes here and there to look at code etc). Ok I tested it and I do not like how it is currently working as it will still throw a customer an error on the first time trying to enter their address. Ideally I feel it should work like this: Select Country from a drop down First Name Last Name Address City State (from dropdown dependent on the country picked above) zipcode phone etc. From an international perspective what do you call the state? Is it a region? territory?
  2. On your test site I noticed that I can now enter my state (note my earlier post about not being able to enter a state, lol) but noticed that when I hit the continue button I get an error that asks me to select my state and when I look there is now a dropdown box for the state. Quite annoying when I know I entered the state. Can the dropdown that has the states be moved to the main page? I recalled a contrib that I believe you pick your country and the drop down will show the zones in the list for that country to pick from could this be incorporated? I did some digging and I think it is this one Country-State Selector. It seems to be quite expansive though so not sure if this would be appropriate but perhas some of the code to do the basic would work? I'm no php'er etc....
  3. Could someone please help me with my problem from this post. Right now a customer finds the style they like (master product) then chooses which color or detail they like (slave product) but does not know where to pick their size as the size attribute on the slave is on the slaves product page which no one goes to as all the info they need is on the master page. The spot to pick a size (which is mandatory) should be on the master page with each slave choice so they pick their quantiy and size and add to cart. Any help with moving this would be most appreciated. Wanda
  4. Is this directed to my question on the state? I tried out your site to see how the checkout works and noticed it asks for city, zipcode and country but no state. So I checked my checkout and it asks for state as its needed to ship in the US. I did not change anything in check out...that's all I need...to break my checkout too, lol. :rolleyes: If I were to install your contribution which I would like to, how would I get the state added?
  5. I like that it cuts down on the steps. I notice I there is no spot for me to enter my state.
  6. I did not explain myself clearly. On this page see where it says "options" down in the red shoe section? I want a drop down box of the attributes I assigned. Right now the only way a person can pick a size which I need them to do is if they click on the shoe to go to a new page. I need a customer to pick not only the shoe color they want and the qty but what size. My Webpage Ideally my customers do not need to pick quanity as they tend to only order one pair of a particular color/style so I would love to get rid of the quantiy and have the buy now on the same line as the item but for now will settle for the size attribute dropdown being included. I've given up on quanity control by attributes :'(
  7. Hello All, how do I move my attributes on each slave product to the main page. Right now the master page shows the master descritpion, pic, etc at the top and down the bottom is the list of slaves. Pic slave 1 Model # Name Options Qty Price Right now the options just repeats what is under name. I would like a drop down for a person to pick their size. Right now they have to click on the slave to go to a seperate page to pick a size (which right now is doubling on me not sure why). I want everything on one page as you already have the description on the master product. Please help this newbie!!
  8. Anyone considering the js menu drop down with greater qty control I think you should stay away...far far away. Its just a mass of files no rhyme or reason to where you should try and put them...big mess in my opinion. The idea is nice but geesh... So I'm thinking of going back to master products and trying to play with the layout and getting quanity control on the attributes to work.
  9. LOL Steve I'm sure we will get kicked off. I also worry as I could nto find a thread about it anywhere...I was thinking that I would make a full backup of what I have now with the master products installed. Then start from scratch and attempt the other one and see how it goes and post and perhaps start a support thread. If all goes kaput I will use the backup copy. Mako, I started with 1.1.5 and added the attributes thing with "Rev 4" on the title. It went pretty smoothly except for the things I noted in an earlier post (I think its a page back). My question is though for the amazon setup it appears that it is one top and you just need different sizes in a drop down box. If that is the case then you could do this with just adding an attribute for sizes. Now if say you wanted to offer the top in multiple color choices then have a person pick a size (this is what I'm trying to do but with shoes) then this would work for you (be wary that I have not figured out the quanity control thing). See my earlier posts as the format was a bit wonky for my tastes. Perhaps if you could provide more detail on the tops/products and how they should appear then someone more knowledgable than this newbie can offer some pointers. Wanda
  10. Ooooh I think I'm drooling, lol. You are too good!!! Should I be worried about using javascript? I'm always being told that not everyone has it on their computer so it may cause problems. Is this true? Contemplating uninstalling master products....and playing with this one....
  11. LOL Steve....just got back from getting the kids and realized I never hit the submit on my last response.... The products attribute quanity mod was the one I originally installed to sort of do what I needed and it had an error and I installed the fixes which had more errors and asking for help did not generate much of a response other than offers for me to pay them to look at it. The mod in itself would give me the quantiy on the attributes but then I would still have to list every color as an individual product in order to have quanity control on the sizes. So you would end up scrolling through two pages of the same shoe to see just different colors. Every person that tested this when I had my store all setup (long story short I had to reinstall oscommerce and start over) commented that they got tired of seeing the same shoe and expected one of that shoe and then if you like it you pick it and then pick what color and size you wanted. So when I suggested I did away with quanity control and you may have the possibility of an email from me saying its out of stock they said they would not be happy with my store and probably not shop with me. They don't want to go through all sorts of trouble to find the shoe they want to be told after the fact sorry sold out. Does easy populate allow you to have quanity control on attributes? Being able to download and upload my products for changes would make life easier especially if I can update attribute quanities. I think my shoes are perfect for master slave relationships. One of the first examples given in this thread is the master is a costume and the slaves are black 2x, white 3x, white 1x or something like that. My shoes would be the same. The style is the master and the colors are the slaves. Now if I could get quanity control on attribute sizes and tweak how they present themselves I think I'd be all set.
  12. Steve I'm mulling over what you wrote...the scenario is possible but then it throws any type of quanity control out the window for me. A red size 5 might be sold out while the black, blue, orange, and green still have 1 to 20 left. So I would not be able to remove size 5 as the other colors have size 5 and I would not be able to remove red as the other sizes are still available. The other aspect is the fashion aspect and showing a sample of each color style. That would require multiple pics which I suppose on style that comes in 3 colors is fine. Put 3 pics. But some styles have around 8 to 10 colors.
  13. OK I've added MP Attributes Install Rev 4 In testing out how all this works I'm noticing some things. 1. Pain in the behind to add around 10 attributes (size 5, 6, 7, 8, etc) to each slave product. Is this where easy populate comes in? 2. When I look at the store to see how the products appear my master says out of stock "master out of stock page" how do I fix this? 3. When I see my red shoe as the first example the setup is very confusing. I got the image to show. Model number, name. But what is the options and select? Is the select the quantiy? I do not want quanity to be selected as 99.99% of my customers do not buy more than one of specific shoe. 4. Is there a way to have the drop down for the sizes be on the master page...down in the slaves section? Right now you have to click on the shoe to go to a page for the red shoe and pick a size (but it shows two drop down boxes for size "Red Shoe Product Page" ). I envisioned that the master product with a much better page layout (another problem for another day) would be the main focal point and then below it would be the various color choices and the customer would select what size on the color they wanted and hit a buy now button. No need to go to the individual slave item page to pick a size and quanity. Was I totally wrong? 5. Inventory control by each slaves product attribute could easy populate do this for me? Sorry to have so many questions. Perhaps I'm too new for all this but I thought that this should be my first install as it would dictate the flow of my site and help keep in control how many pages a potential customer would have to scroll through to see all my shoes which we all know they won't scroll through many. Any explanations and help is much appreciated.
  14. Sierrab could you explain what you mean by more attributes per shoe? Right now my dilemma is one style of shoe can have say 8 different colors and each of those colors can have a range of upto 12 sizes. Ideally I would like a customer to find a style they like then be able to pick which color and size they would like. The other possibility I have on my shoes is there can be a "type" of shoe that only comes in say one color (black) but many variations on that "type". THink they are all black and have the same heel but then the rest style one might have rhinestones, style 2 might have no rhinestones, stle 2 has a closed toe, etc. So I thought using master and slave products would be what I need. My worry is quanity control by the attributes. Is this possilbe? I can of course work with out the control but it will require a lot of me keeping a close eye on things and a potential of a lot of sorry we are out of stock on that size. Thank you for your help!!
  15. I'm very new to this and trying to figure it out...reading many many pages in this thread trying to figure out what I'm suppose to do. I'm trying to follow the steps in teh MP Attributes Install Rev 4 and I think I understood step 1 and 2 but number 3 I dont' know where to put the code as I don't see anything about slaves. Here is step 3: Step 3 ------ Add to catalog/includes/modules/master_listing.php in the switch statement for the slave details: case 'MASTER_LIST_OPTIONS': $lc_align = 'align="center"'; $lc_text = ''; ///////////////////////////////////////////// ////////////////////////////// // BOF: attribute options $opt_count=0; $products_options_name = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . $listing ['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . $languages_id . "'"); while ($products_options_name_values = tep_db_fetch_array($products_options_name)) { $opt_count++; $products_options_array = array (); $lc_text .= '<b>' . $products_options_name_values ['products_options_name'] . '</b><br />' . "\n"; $products_options = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$listing ['products_id'] . "' and pa.options_id = '" . (int)$products_options_name_values ['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'"); while ($products_options_values = tep_db_fetch_array($products_options)) { $products_options_array[] = array('id' => $products_options_values ['products_options_values_id'], 'text' => $products_options_values ['products_options_values_name'], 'style' => ''); if ($products_options_values ['options_values_price'] != '0') { $products_options_array [sizeof($products_options_array)-1]['text'] .= ' (' . $products_options_values ['price_prefix'] . $currencies- >display_price($products_options_values ['options_values_price'], tep_get_tax_rate ($product_info_values ['products_tax_class_id'])) .') '; } } $lc_text .= tep_draw_pull_down_menu('id_'.$listing ['products_id'].'[' . $products_options_name_values ['products_options_id'] . ']', $products_options_array); $lc_text .= '<br />'; } if($opt_count==0) { $lc_text = MASTER_TEXT_NONE; } // EOF: attribute options ///////////////////////////////////////////// ////////////////////////////// break; Here is my master listing file <?php /* $Id: master_listing.php osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Master Products MS2 - JOHNSON - 05/07/2003 [email protected] Copyright (c) 2003 Suomedia - Dynamic Content Management Released under the GNU General Public License */ $listing_split = new splitPageResults($master_sql, MAX_DISPLAY_SEARCH_RESULTS, 'products_master'); if ( ($listing_split->number_of_rows > 0) && ( (MASTER_PREV_NEXT_BAR_LOCATION == '1') || (MASTER_PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <?php } $list_box_contents = array(); for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { switch ($column_list[$col]) { case 'MASTER_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_align = ''; break; case 'MASTER_LIST_NAME': $lc_text = TABLE_HEADING_PRODUCTS; $lc_align = ''; break; case 'MASTER_LIST_DESCRIPTION': $lc_text = TABLE_HEADING_DESCRIPTION; $lc_align = 'center'; break; case 'MASTER_LIST_ATTRIBUTES': $lc_text = TABLE_HEADING_ATTRIBUTES; $lc_align = 'center'; break; case 'MASTER_LIST_MANUFACTURER': $lc_text = TABLE_HEADING_MANUFACTURER; $lc_align = ''; break; case 'MASTER_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'right'; break; case 'MASTER_LIST_QUANTITY': $lc_text = TABLE_HEADING_QUANTITY; $lc_align = 'right'; break; case 'MASTER_LIST_WEIGHT': $lc_text = TABLE_HEADING_WEIGHT; $lc_align = 'right'; break; case 'MASTER_LIST_IMAGE': $lc_text = TABLE_HEADING_IMAGE; $lc_align = 'center'; break; case 'MASTER_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'center'; break; } if ( ($column_list[$col] != 'MASTER_LIST_BUY_NOW') && ($column_list[$col] != 'MASTER_LIST_IMAGE' && ($column_list[$col] != 'MASTER_LIST_MULTIPLE' && ($column_list[$col] != 'MASTER_LIST_DESCRIPTION'))) ) { $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text); } $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); } if ($listing_split->number_of_rows > 0) { $rows = 0; $master_query = tep_db_query($listing_split->sql_query); while ($listing = tep_db_fetch_array($master_query)) { $rows++; if (($rows/2) == floor($rows/2)) { $list_box_contents[] = array('params' => 'class="productListing-even"'); } else { $list_box_contents[] = array('params' => 'class="productListing-odd"'); } $cur_row = sizeof($list_box_contents) - 1; for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { $lc_align = ''; $lc_params = ''; switch ($column_list[$col]) { case 'MASTER_LIST_MODEL': $lc_align = ''; $lc_text = ' ' . $listing['products_model'] . ' '; break; case 'MASTER_LIST_NAME': $lc_align = ''; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $lc_text = ' ' . $listing['products_name'] . '</a> '; } break; case 'MASTER_LIST_DESCRIPTION': $lc_align = ''; $lc_text = ' ' . osc_trunc_string(strip_tags($listing['products_description'], '<a><b><em><font><i><s><span><strong><sub><sup><u>'), MASTER_LIST_DESCRIPTION_LENGTH) . ' '; break; case 'MASTER_LIST_MANUFACTURER': $lc_align = ''; $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a> '; break; case 'MASTER_LIST_PRICE': $lc_align = 'right'; if (tep_not_null($listing['specials_new_products_price'])) { $lc_text = ' <s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> '; } else { $lc_text = ' ' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' '; } break; case 'MASTER_LIST_QUANTITY': $lc_align = 'center'; $lc_text = ' ' . $listing['products_quantity'] . ' '; break; case 'MASTER_LIST_WEIGHT': $lc_align = 'right'; $lc_text = ' ' . $listing['products_weight'] . ' '; break; case 'MASTER_LIST_IMAGE': $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } break; case 'MASTER_LIST_BUY_NOW': $lc_align = 'center'; $lc_valign = 'top'; if ((STOCK_CHECK == 'true')&&(tep_get_products_stock($listing['products_id']) < 1)) { $lc_text = TEXT_STOCK; } elseif ((STOCK_CHECK == 'false')&&(tep_get_products_stock($listing['products_id']) < 1)) { $qty_array = array(); for ($i=0; $ns = 20, $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); $lc_text = tep_draw_pull_down_menu('Qty_ProdId_' . $listing['products_id'], $qty_array); } } else { $quantity = tep_get_products_stock($listing['products_id']); $qty_array = array(); for ($i=0; $ns = (($quantity < 20) ? $quantity : 20), $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); $lc_text = tep_draw_pull_down_menu('Qty_ProdId_' . $listing['products_id'], $qty_array); } } break; } $list_box_contents[$cur_row][] = array('align' => $lc_align, 'valign' => $lc_valign, 'params' => 'class="productListing-data"', 'text' => $lc_text); } } new productListingBox($list_box_contents); } else { $list_box_contents = array(); $list_box_contents[0] = array('params' => 'class="productListing-odd"'); $list_box_contents[0][] = array('params' => 'class="productListing-data"', 'text' => TEXT_NO_PRODUCTS); new productListingBox($list_box_contents); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> </table> <?php if ( ($listing_split->number_of_rows > 0) && ((MASTER_PREV_NEXT_BAR_LOCATION == '2') || (MASTER_PREV_NEXT_BAR_LOCATION == '3')) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> As I sell shoes I hope to have a master product be the style then the colors be the slave. I would like each slave to have a drop down to selct the size and have quanity control on size. Am I on the right track?
×
×
  • Create New...