Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ckscs

Pioneers
  • Posts

    20
  • Joined

  • Last visited

Everything posted by ckscs

  1. Hello, Can anyone please tell me where i go to add stock to an attribute? I have the track stock box checked, but when i add an attribute it does not ask me for a quantity. Did i miss a code? Thanks.
  2. Just wanted to share how i fixed the style of the left/right box. In catalog\includes\modules\boxes\bm_products_filter.php Find: $oscTemplate->addBlock($box_text, $this->group); Replace with (you can comment out the above line and just add the below, above or below, the commented out line): //Begin Change Style of Left/Right Box// $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_PRODUCTS_FILTER_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents">' . $box_text . '</div>' . '</div>'; $oscTemplate->addBlock($data, $this->group); //End Change Style of Left/Right Box// Take care, Cliff
  3. Hey Jim, I just wanted to let you know that I was able to adjust some code to get the search working so it will find data in product specifications. I am a complete novice when it comes to this, but the below is what worked for me. in catalog/advanced_search_result.php find: $from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id"; change to: //************** BEGIN PRODUCT SPECIFICATIONS SEARCH CHANGE ******************// $from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id) left join " . TABLE_PRODUCTS_SPECIFICATIONS . " psv using(products_id) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id"; //************** END PRODUCT SPECIFICATIONS SEARCH CHANGE ******************// find: $where_str .= "(pd.products_name like '%" . tep_db_input($keyword) . "%' or p.products_model like '%" . tep_db_input($keyword) . "%' or m.manufacturers_name like '%" . tep_db_input($keyword) . "%'"; change to: //************** BEGIN PRODUCT SPECIFICATIONS SEARCH CHANGE ******************/ / $where_str .= "(((pd.products_name like '%" . tep_db_input($keyword) . "%' or p.products_model like '%" . tep_db_input($keyword) . "%' or m.manufacturers_name like '%" . tep_db_input($keyword) . "%' )) or ( specification like '%" . tep_db_input($keyword) . "%' )"; //************** END PRODUCT SPECIFICATIONS SEARCH CHANGE ******************// Take care, Cliff
  4. Thanks again Jim for all your help. I really appreciate it. Take care and keep up the great work :)
  5. Thanks Jim, but that code is what I am having trouble finding :) Would you happen to know where it is? The search I performed was just 3 digits. I set up an Item # text specification and i inputted 260 in that field for one of my items then did a search for 260 and the item did not come up. I went back just to be sure it was saved and I also found the item and looked and the item # specification is there. Any thoughts? Thanks, Cliff
  6. That is what I am having a hard time finding, which jQuery styles to change. When i inspect element using google chrome, it is showing that box as a css. It is the very old OSC grey style box. You are welcome to take a look, maybe i have a wrong file? http://www.ckscs.com/ckcomputer/catalog/products_filter.php?f5=0&f2=0&cPath=1_16&sort=products_name That is really not a big deal, it does not look bad with that set as plain. I have one more question for you, if you don't mind. Is there a way to be able to search the specifications? I have a specification set up that I do not have set as a filter, but when i search for it using the search box, it does not show the item. Thanks again and take care, Cliff
  7. No worries Jim. I appreciate all of your help. I have figured out how to get the filters in a styled box on the left or right columns. Now I just have to figure out how to change the filters box style that is set by the Filters Module Frame Style setting. Is that something you can help with quickly? If not no worries, I will work on it. Thanks again for all your help, Take care, Cliff
  8. Hey Jim, If you still have that improved filters box, i would like to try it if i may. Thanks, Cliff
  9. Ok, I think I got it, in catalog/includes/modules/product_filter.php i found $box_text .= '<b>' . $specs_array['specification_name'] . '</b><br>'; and commented it out (//). Now it looks good. See below.... I can not get the count to show or the comparisons to show, that is my only problems now that i can see. // print $filters_query_raw . "<br>\n"; $filters_query = tep_db_query ($filters_query_raw); $count_filters = tep_db_num_rows ($filters_query); $filters_select_array = array(); if ($count_filters >= SPECIFICATIONS_FILTER_MINIMUM) { $filters_array = array(); //$box_text .= '<b>' . $specs_array['specification_name'] . '</b><br>';
  10. Jim, I was able to fix my display problem by following this, but the display only looks correct using radio buttons, pulldowns and multiimages. So my display looks correct in the left box, but now the specification names are duplicated in the filter box under "Your Selected Products" (See below). Any thoughts? http://www.ckscs.com/ckcomputer/catalog/products_filter.php?f5=Desktop&cPath=1_16&sort=products_name Thanks, Cliff
  11. Good copy. Thought i had found the reason for my filters not displaying correctly. :( Still trying to figure this out. Thanks, Cliff
  12. I am going back through the files that require changes to be made to them and when i compare the OSC version of catalog/includes/modules/product_listing.php to the PS 1.1.11 version, winmerge is saying both files are identical. Could this be the problem? Thanks, Cliff
  13. Looks like i am going to have to wait for you to fix it, i can not seem to figure out why it is not working correctly. It just looks like something is not being pulled to the page properly, plus the comparisons are not being displayed. I have them turned off now thinking maybe they were conflicting, but that didn't change anything. Thanks again, i appreciate your time. Take care, Cliff
  14. Thank you, I have tried what you mentioned. Don't think that worked :-)
  15. Good copy. I appreciate your help. I will see what I can do or maybe there is someone else on here that might know. Take care, Cliff
  16. I replaced the file. If you need to take a look again you are more than welcome to. Thanks, Cliff
  17. Ok, actually i put it in both places because i wan't really sure which one I needed to replace. I put it in includes/modules/boxes first and nothing changed, so i put it in includes/languages/english/modules/boxes. I will replace the one in includes/languages/english/modules/boxes so you can take a look again if you need to. Thanks for your assistance, I really appreciate this.
  18. Thank you. I am now receiving this error. Fatal error: include() [<a href='function.include'>function.include</a>]: Cannot redeclare class bm_products_filter in /home/content/64/9542864/html/ckcomputer/catalog/includes/classes/osc_template.php on line 87
  19. Hello, I am new to this contrib and I think I am setting something up wrong. I have created a test site to try this on installing a fresh version of osc 2.3.1 and then uploading the latest version of this contrib 1.1.11. I was wondering if someone could take a look at http://www.ckscs.com/ckcomputer/catalog/index.php?cPath=1_16 and tell me what I am doing wrong? The box on the left is where i think i have something set incorrectly in the configuration. Any assistance would be greatly appreciated. Thank you, Cliff
×
×
  • Create New...