Jump to content

betterbannerprinting@yahoo.com

Members
  • Content count

    16
  • Joined

  • Last visited

Profile Information

  • Real Name
    Justin

Recent Profile Visitors

788 profile views
  1. betterbannerprinting@yahoo.com

    Option Type Feature v1.6 (for osc 2.2 MS2)

    What about getting the original author to update the instructions? I just can't seem to figure it out and I tried to send him/her a personal message and this system would not let me.
  2. betterbannerprinting@yahoo.com

    Option Type Feature v1.6 (for osc 2.2 MS2)

    What does that mean, that this module will not work? I'm still editing the files right now to try and get it to install; for now I made note of the two instructions with extra code found in my shopping cart file and just deleted even the extra code I found inbetween and replaced with the code found in the instructions. Maybe this isn't a good idea (and it's a good thing I did a backup before I started all this). Man, I would LOVE to get this thing working ASAP...
  3. betterbannerprinting@yahoo.com

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Oh wait here it is.. and it has more extra code! More of that attributes pass check true stuff.! ____________________________________ if (is_numeric($products_id) && isset($this->contents[$products_id_string]) && is_numeric($quantity) && ($attributes_pass_check == true)) { $this->contents[$products_id_string] = array('qty' => $quantity);
  4. betterbannerprinting@yahoo.com

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Also, in the same file, I cannot find this line of code: ________________________________________________________________ FIND: (around line 126) if (is_numeric($products_id) && isset($this->contents[$products_id_string]) && is_numeric($quantity)) { $this->contents[$products_id_string] = array('qty' => $quantity); REPLACE with $this->contents[$products_id] = array('qty' => $quantity);
  5. betterbannerprinting@yahoo.com

    Option Type Feature v1.6 (for osc 2.2 MS2)

    I have a question about the instructions for your Product Attributes - Option Type Feature. It is for the instructions for the file: /catalog/includes/classes/shopping_cart.php These are the instructions I'm confused about: ______________________________________________________________ FIND: (around line 88) $products_id_string = tep_get_uprid($products_id, $attributes); $products_id = tep_get_prid($products_id_string); if (is_numeric($products_id) && is_numeric($qty)) { $check_product_query = tep_db_query("select products_status from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $check_product = tep_db_fetch_array($check_product_query); if (($check_product !== false) && ($check_product['products_status'] == '1')) { REPLACE with $products_id = tep_get_uprid($products_id, $attributes); ______________________________________________________________ Because in my file it has some extra code which I pasted below (extra code in bold): ______________________________________________________________ $products_id_string = tep_get_uprid($products_id, $attributes); $products_id = tep_get_prid($products_id_string); $attributes_pass_check = true; if (is_array($attributes)) { reset($attributes); while (list($option, $value) = each($attributes)) { if (!is_numeric($option) || !is_numeric($value)) { $attributes_pass_check = false; break; } } } if (is_numeric($products_id) && is_numeric($qty) && ($attributes_pass_check == true)) { $check_product_query = tep_db_query("select products_status from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $check_product = tep_db_fetch_array($check_product_query); if (($check_product !== false) && ($check_product['products_status'] == '1')) { ______________________________________________________________ Any idea what to do here? I'm not sure why my file has extra code, as I have not installed any other modules yet. Thanks so much and I'm really excited about getting this module up and running!
×