Jump to content

JcMagpie

♥Ambassador
  • Content count

    3,372
  • Joined

  • Last visited

  • Days Won

    197

Posts posted by JcMagpie


  1. New add-on available...

    Has been made in to a header module as it’s easier to keep it on the top of the display on small screens. Other than that the rest is the same as the box version.

    You can also set the sub-cats display depth in admin. Other than that the rest is the same as the box version.

    That’s it enjoy.

    Has been tested on Phoenix V1.0.5.4 only.

    Can be see working on this site

     


  2. @Wal The subcats will require you to make a change to the code. In

    public_html/includes/modules/boxes/bm_jcm_popout_categories.php

    around line 39 find

    $OSCOM_CategoryTree->setMaximumLevel(1);

    and change the number to the level you need like

    $OSCOM_CategoryTree->setMaximumLevel(3);

    This will then when you click on a cat once when you go back to the menu a second time will show the sub cats

    So this

    image.png.68617664bda43204b1f5585c52143ed6.png

    will become this... see the 2 subcats now shown?

    image.png.fe8b6ca270ca56d648eeb9d069c59fb8.png

    At some point I will get round to adding the level set into the admin so users can change it without needing to edit code. However I think that will have to wait untill things get better around here!!


  3. On 3/24/2020 at 8:56 PM, ralgiere said:

    above my category section box  and below the New product box

    Any index page addon will let you do this. You have lots to pick from... All depends on what your using? old BS, Frozen or some hybrid Edge....

    https://apps.oscommerce.com/c=features

    Not happy with what's available? pay a developer to make you one, or talke an existing module like New Products, copy it and rename it and change code to display some this else?

    The options are endless...

    image.png.cfaa25659db6186e59dc0045e6b19bb2.png


  4. It all depends on your store... It's for specials so you must have specials set up for it to move ie more than 4 specials as it show 4 on a large screen.

    they can scroll or fade depending on your setting in admin.

    image.png.b0091978b4b3d460b96bd6de4a0787e9.png

    It's just a first stab at making a pure boostrap and css multi item carousel and will more than likely need improving further... but hey it's a start 😊


  5. A simple add-on to let you display a Specials Bootstrap Carousel on the index section of your website.

    Again totally stand-alone with no core code change. Simply copy all files into relevant sections and go to admin and install.

    Has been tested on Phoenix 1.0.5.4 only.

    That's it, stay safe and Enjoy...

    As allways can be seen on this site

    image.thumb.png.1f64ff5320b119399e3a01dcf97ab00b.png


  6. This is an Index add-on that lets you place a carousel banner on the index page of your site which can be animated if required.

    It will show up to 8 banners. It allow start and finish dates to be set for the banners. This can only be done for the last 7 as the first must always be active for carousel to run. Banner will only show when start date is reached and will turn off on end date. The date must be entered in correct format.

    Simply copy over all files install and turn on like any other add-on.

    The overlay text for each banner and images can be set in the language file.

    You can also select which pages it is to be shown on.

    The animation is set by the header tags add-on which must be installed once only. It’s a bit complicated to explain but if you play with it you will figure it out. Each banner can have its own animation as can the 2 text groups on each banner. You can also use the animated class’s on any other add-on if you wish by simply adding the required class.

    That’s it enjoy.

    It has only been tested on Phoenix 1.0.5.4 only.

    Can be seen working on this custom test site

    image.thumb.png.2880f0c6df450936ed4894055597f0ca.png


  7. 5 hours ago, soca said:

    Is this possible with osCommerce?

    The answer is yes... but will require you to use add-ons/ core changes as it's not part of the core. Has been done on ealier versions so no reason why it can not be done on later versions.

    Either roll sleeves up and get stuck in to the code and make the required changed or pay a developer to make them for you.

    Most of what you need can be seen in add-on's made for osC2.2 or other versions.

    https://apps.oscommerce.com/ZwG4h

    It all depends on what your after and what your expectations are...

     


  8. 5 hours ago, nedragdnuos said:

    Any suggestions would be great!

    If your current site is working and your happy with it, what's the rush to update?

    Ask your self what key functionnality am I missing in Frozen that is available in Phoenix and is the time and risk in upgrading worth the benifit of that functionality.

    If it is then :thumbsup: go for it.

    If your unable to point to any then just get on with running your buissness and let things settle down. Jumping into using software that is changing so fequently allways comes with risks. Cosidering all the other challange most buissnes face at the moment do you realy need to add to that list.

    Who knows in a few months you may have more options to pick from that just Phoenix.


  9. @Tiff13  Just installed on Phoenix 1.0.5.2 test site and unable to reproduce your warnings. Test site is running on higher PHP version than yours.

    image.png.9f72b6ce4ae7727fcc3ca21fef6ad9c8.png

    MODULE_BOXES_JCM_CUSTOM_INFORMATION_DESCRIPTION  is defined in the language file so check that you have got it in it. Also make sure your using the latest version of the add-on.

    If nothing else works the you can simply change MODULE_BOXES_JCM_CUSTOM_INFORMATION_DESCRIPTION  to 'MODULE_BOXES_JCM_CUSTOM_INFORMATION_DESCRIPTION'

    and the warning should stop.

    Can be seen in action on this Phoenix 1.0.5.2 site


  10. That is cused by a bad install or poorly configuerd config.php (which can result from a bad install) 😂 it's the old chicken and egg problem.

    go to,

    public_html/admin8262/includes/configure.php

    and check these lines in your config file.

    define('HTTP_CATALOG_SERVER', 'https://yourdomain.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://yourdomain.co.uk');

    If you have SSL cert installed the you need to be using https://


  11. The answer is simple...

    1) set the number to be display in admin

    image.png.478244ba8f53a1fd5c2a65c52631cd71.png

     

    2) In order to change what is displayed you need to change the sql query used in the class.

    at the moment you will have it sorting by product id in decending.

     if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {
            $card_products_query = tep_db_query("select p.*, pd.*, 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 from products p left join specials s on p.products_id = s.products_id, products_description pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_id desc limit " . (int)MODULE_CONTENT_CARD_PRODUCTS_MAX_DISPLAY);
          } else {
            $card_products_query = tep_db_query("select distinct p.*, pd.*, 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 from products p left join specials s on p.products_id = s.products_id, products_description pd, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_id desc limit " . (int)MODULE_CONTENT_CARD_PRODUCTS_MAX_DISPLAY);
          }

    You just need to change "p.products_id desc" to "RAND()" as below. As always backup before making any changes.

     if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {
            $card_products_query = tep_db_query("select p.*, pd.*, 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 from products p left join specials s on p.products_id = s.products_id, products_description pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by RAND() limit " . (int)MODULE_CONTENT_CARD_PRODUCTS_MAX_DISPLAY);
          } else {
            $card_products_query = tep_db_query("select distinct p.*, pd.*, 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 from products p left join specials s on p.products_id = s.products_id, products_description pd, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by RAND() limit " . (int)MODULE_CONTENT_CARD_PRODUCTS_MAX_DISPLAY);
          }

     


  12. Yeah, it's not so bad... plenty of people still using and posting in the free and open forum.. Good news is another partner is working on and will be making available an alternative free community version and will hopfully keep his club open to all.

    So looking forwared things look fine and people will have options to select from.

×