Jump to content

LeeFoster

Members
  • Content count

    808
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by LeeFoster

  1. This is done in the language files though there is an addon to do this from admin.
  2. I'm not meaning you add them into the code I'm thinking have people add the scripts on this post so that others can find them.
  3. Make the move to Phoenix instead. Will be a lot easier to update and keep up to date with.
  4. Would it be worth adding other scripts as people find/use them? I'm not sure what an osCommerce site should use in terms of cookies, I imagine others may be the same.
  5. It will still work you just wont get any support for it.
  6. LeeFoster

    shop by price

    Sorry, I would have done but my daughters school phoned me to go pick her up after I made my last post. Yep this worked.
  7. LeeFoster

    shop by price

    It seems to be this that is causing the issue - for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { switch ($column_list[$i]) { case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model, '; break; case 'PRODUCT_LIST_MANUFACTURER': $select_column_list .= 'm.manufacturers_name, '; break; case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; case 'PRODUCT_LIST_IMAGE': $select_column_list .= 'p.products_image, '; break; case 'PRODUCT_LIST_WEIGHT': $select_column_list .= 'p.products_weight, '; break; } } $select_str = "select distinct " . $select_column_list . " p.products_id, pd.products_name, pd.products_description, p.manufacturers_id, p.products_date_added, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, p.products_quantity as in_stock, if(s.status, 1, 0) as is_special "; If I change it to this it works - for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { switch ($column_list[$i]) { case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model, '; break; case 'PRODUCT_LIST_MANUFACTURER': $select_column_list .= 'm.manufacturers_name, '; break; case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; case 'PRODUCT_LIST_IMAGE': $select_column_list .= 'p.products_image, '; break; case 'PRODUCT_LIST_WEIGHT': $select_column_list .= 'p.products_weight, '; break; } } $select_str = "select distinct " . $select_column_list . " p.products_image, p.products_id, pd.products_name, pd.products_description, p.manufacturers_id, p.products_date_added, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, p.products_quantity as in_stock, if(s.status, 1, 0) as is_special ";
  8. LeeFoster

    shop by price

    If I right click on the image I just get images/ as the link to the image. I just installed a completely fresh Phoenix 1.0.4.0 install to be sure it wasn't me and still the same issue.
  9. LeeFoster

    shop by price

    Clean install, doesn't seem to be picking up the image name. I'm getting a 403 error on the images folder when I inspect the page as well as an uncaught reference error: $ is not defined.
  10. LeeFoster

    shop by price

    Sorry was in a rush posting it, it's Phoenix 1.0.4.0.
  11. LeeFoster

    shop by price

    I've just installed this and when I click on a price range it takes me to the shop_by_price.php page but no images show.
  12. LeeFoster

    Bundled Products

    Fingers crossed he releases it then.
  13. LeeFoster

    Bundled Products

    Is there anyone working on bringing this up to date for Phoenix?
  14. I changed this - class hook_shop_siteWide_Upcart { var $version = '1.3'; var $afterfooter = null; function listen_injectAfterFooter() { $this->afterfooter .= '<!-- jquery hooked -->' . PHP_EOL; //$this->afterfooter .= '<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>' . PHP_EOL; $this->afterfooter .= '<script type="text/javascript"> $(window).on("load", function(){ $("#upCart").modal("show"); });</script>' . PHP_EOL; return $this->afterfooter; } } to this - class hook_shop_siteWide_Upcart { var $version = '1.3'; var $afterfooter = null; function listen_injectAfterFooter() { $this->afterfooter .= '<!-- jquery hooked -->' . PHP_EOL; $this->afterfooter .= '<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>' . PHP_EOL; $this->afterfooter .= '<script type="text/javascript"> $(window).on("load", function(){ $("#upCart").modal("show"); });</script>' . PHP_EOL; return $this->afterfooter; } } and it now works.
  15. I have that set. I think it might be something to do with where the hook is called, I might be wrong, but I edited the Upcart file to being the jquery back in and it works.
  16. I've just installed this and I'm not getting the modal popping up. I'm pretty sure I'm doing something wrong as I have it working on another site.
  17. LeeFoster

    Idea to use Slugs to produce SEF [ VIDEO ]

    In my opinion the format for a URL should be - www.randomstorename.com/categoryname/productname Or if in a subcategory www.randomstorename.com/categoryname/categoryname/productname
  18. LeeFoster

    AJAX Attribute Manager support

    I found the cause of the issue Line 8 in the attributeManager.css file #attributeManager td,div { font-family:'Trebuchet MS' Arial; font-size:12px; }
  19. LeeFoster

    AJAX Attribute Manager support

    Just installed this and it's causing the font size etc on product screen to drop. Product Screen Any other The page is not zoomed in or anything. I have installed other addons but the product page was right until I installed this one. Store uses Phoenix 1.0.4.0
  20. LeeFoster

    Article Manager v1.0

    I just need to get it to actually show the articles when you go to the page. If you go to a specific article then it works.
  21. LeeFoster

    Article Manager v1.0

    I don't have any blog articles setup, but I got to that screen by clicking the All Articles link in boxes and get the same error even if I change the article I have to a Blog Article. Maybe drop topics and replace it with tags or keywords?
  22. LeeFoster

    Article Manager v1.0

    Ok made massive progress and have this mostly working as I want it in Phoenix. Only issue I'm seeing now is that when I click all articles in the Articles Box I get the below. What I'd like to see is something like this - But more importantly I'd just like it to show something. I've only created one article and no topics but I don't plan on using topics.
  23. LeeFoster

    Article Manager v1.0

    Yes I do have a Phoenix shop, should have clarified that. As long as they're deliberate that's fine I'll just remove the code since as you said they're at the bottom too.
  24. LeeFoster

    Article Manager v1.0

    OK I made progress, the issue was being caused by a header_tags issue, that's been fixed and I can now see the boxes to create the article. My new issue is the random floating insert and cancel buttons.
  25. LeeFoster

    Article Manager v1.0

    I'm getting this in my apache logs. Use of undefined constant USE_CACHE
×