Jump to content
Latest News: (loading..)

spidometrs

Members
  • Content count

    101
  • Joined

  • Last visited

  • Days Won

    1

spidometrs last won the day on October 30 2016

spidometrs had the most liked content!

2 Followers

Profile Information

  1. spidometrs

    [Contribution] Linked Products

    Yes, I have an old store. PHP4 quickly runs on Windows Server 2012. Other PHP5 + have significant problems for Windows. If I install a new store, it's definitely not Oscommerce. Oscommerce. has already died 7-8 years ago. And it's sad ...
  2. spidometrs

    [Contribution] Linked Products

    The module also uses functions that are not in osCommerce. get_type_options get_linked_listing get_current_listing get_type_id I think that this module could never function on OSC 2.2 .. // BOF - Zappo - Linked Products - Product Types - ONE LINE - Get all Products Type Options $TypeOptions = get_type_options($product_info['type_id']); // BOF - Zappo - Linked Products - Show/Hide Options - Show Linked Product's Options (when viewing 2nd Product Listing) // - Zappo - Replace products_id with selected Linked Product's product_id (for searching Attributes) $LinkOpt_ProdID = $HTTP_GET_VARS['products_id']; $LinkOpt_ID = ''; if ($TypeOptions['type_linked_options'] == 'Linked' && isset($HTTP_GET_VARS['LpID']) && tep_has_product_attributes($HTTP_GET_VARS['LpID'])) { $LinkOpt_ProdID = $HTTP_GET_VARS['LpID']; $LinkOpt_ID = '_' . $HTTP_GET_VARS['LpID']; // Use this to find the correct Options for this product in application_top } // BOF - Zappo - Linked Products - Find current category (And if it's showing products) $TreeArr = get_linked_listing($product_info['products_id']); if (!empty($HTTP_GET_VARS['LcPath'])) { $LcPathArr = (explode('_',$HTTP_GET_VARS['LcPath'])) ? explode('_',$HTTP_GET_VARS['LcPath']) : array($HTTP_GET_VARS['LcPath']); $CurrCatid = $LcPathArr[count($LcPathArr)-1]; } else { if (count($TreeArr) > 1) { // If CatTreeArray has multiple categories (or products) - Set as Current $CurrCatid = 'top'; $LcPathArr[0] = 'top'; } else { foreach ($TreeArr as $CatParent => $Cat) { $LcPathArr[] = $CatParent; $cC = 0; while(is_array($Cat[$cC]) && count($Cat[$cC]) == 1) { // - Zappo - While the current Category has no multiple items... foreach ($Cat[$cC] as $CatParent[$cC+1] => $Cat[$cC+1]) { if (!is_array($Cat[$cC+1]) && count($CatParent[$cC] == 1)) { // Only one item found? $LcPathArr[] = $CatParent[$cC]; $CatParent = $CatParent[$cC]; } else { $LcPathArr[] = $CatParent[$cC+1]; $CatParent = $CatParent[$cC+1]; } $cC++; } } } // Checked the Array --> We've found multiple items and set the parentCats to the $LcPathArr $CurrCatid = $CatParent; // Set found category as Current } } $CurrentArray = get_current_listing($TreeArr,$LcPathArr, $CurrCatid); if (is_array($CurrentArray)) { // Check if $CurrentArray was gathered correctly --> Else drop the whole thing... foreach ($CurrentArray as $ItemID => $ItemVal) { $cat_depth = (!is_array($ItemVal) || $cat_depth == 'products') ? 'products' : 'categories'; } } // EOF - Zappo - Linked Products - Find current category (And if it's showing products) // - Zappo - Added Check for Options, and to hide them if They are currently not needed (Linked Listing and stuff) $HideOptions = (empty($LinkOpt_ID) && $CurrentArray && $cat_depth == 'categories') ? 'Yep' : (($cat_depth == 'products' || !empty($LinkOpt_ID)) ? 'Nope' : 'Yep'); $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$LinkOpt_ProdID . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); $products_attributes = tep_db_fetch_array($products_attributes_query);
  3. spidometrs

    [Contribution] Linked Products

    Hi guys! I have osCommerce OM v2.2, PHP4, MSQL4. I started installing the Linked Products v1.1.0 module and also got errors. See the screenshot. Line 484 has an error in the admin / product_types.php file. See screenshot 2. Line 484 has eval ($ RowVal ['input']); How can this be remedied? Thank you in advance!
  4. spidometrs

    2.4 Series

    v2.4 has duplicates of pages: product_reviews.php. Today, no one makes a review separately from product. I propose to transfer the review - in the product page, the review writing through ajax. product_reviews.php, product_reviews_write.php - removed from the kernel.
  5. spidometrs

    2.4 Series

    @@Harald Ponce de Leon You create App Marketplace as a module for osCommerce? Of course, it must be multi-vendor. If so, I need a mudul for my site. This is an interesting module. I would buy this module.
  6. spidometrs

    2.4 Series

    I did not find the "Delete Image" in the product category. This button does not v.2.3.4, this button has no v.2.4. As a user can delete the image category? Can not.
  7. spidometrs

    2.4 Series

    After 10-12 days, I'm going to have a server with Nginx, and then I can test the OSC v2.4.
  8. spidometrs

    2.4 Series

    OSC v2.4 supports Nginx + HHVM?
  9. spidometrs

    2.4 Series

    I do not have a database from another merchant.
  10. spidometrs

    2.4 Series

    If v2.4 has import/export products, then the user can easily move from a different store or brand. It is also easy to start selling, if you import products from the the wholesale supplier. This is one of the main criteria by which the user selects the store script. Now no one wants to make 100 hand products. And 300 products? .. But decide for yourself.
  11. spidometrs

    2.4 Series

    v2.4 will have a built-in import/export products? At least one format? CSV or XML?
  12. spidometrs

    2.4 Series

    At least so. We need to try to make a completely separate from PHP. Then designers can create templates.
  13. spidometrs

    2.4 Series

    We can hope to obtain a template system in 2.4? Please.
  14. How to to explain it to the customer? There are general rules on the Internet: if the field is empty - everything has to be removed. This is not true? I do not insist. I'm just saying my opinion.
  15. It is impossible to create a module. This built-in capabilities. This is better than the Module.
×