♥JcMagpie Posted March 9, 2020 Share Posted March 9, 2020 JcM Header Sales Coundown V1.0 - Phoenix This is a header add-on that lets you place an events banner on your website. It has a built in countdown timer to show how long the event has to run. It requires NO core changes so just copy over the files provided. Once it’s installed simply go to admin and install and turn on. You can change the styling in admin it uses stock BS Class’s. You can also select the placing of the text within the container it’s added to. You can set an events start and end date so banner is added and removed automaticity form site. You can select which pages it is shown on. Has been tested on Phoenix 1.0.5.3 only. That’s it Enjoy… Can be see working on this site valquiria23 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted March 11, 2020 Author Share Posted March 11, 2020 JcM Header Sales Coundown V1.1 - Phoenix Has been updated to use a animated flip counter. Mac2256 and valquiria23 1 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted March 12, 2020 Author Share Posted March 12, 2020 Has been updated to fix bug causing poor display on small screens. Very silly error a stray ( , ) causing styling to not apply. You can simply remove the comma from public_html/includes/modules/content/header/templates/tpl_cm_header_jcm_sales_countdown.php line 25 #sale2, { should be #sale2 { Thanks to @Mac2256 for pointing it out. valquiria23 1 Quote Link to comment Share on other sites More sharing options...
valquiria23 Posted March 12, 2020 Share Posted March 12, 2020 Nice new addon Zahid!!! Great contribution to the community. Thank you very much for sharing!! I tried the first version of this addon on my Phoenix 1.0.4.0 test site and it works awesome. excellent job !! I have 2 questions: 1. If the selected text is very long, in mobile view the text is lost. Attachment an example. How can i fix it? 2. Will this magnificent addon be compatible with Frozen? My new site is frozen and I know that this addon is BS4. Is it very difficult to convert it to BS3? Thank you in advance for your contributions to the community and excellent support. Have a nice day Valqui JcMagpie 1 Quote Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted March 12, 2020 Author Share Posted March 12, 2020 (edited) 2 hours ago, valquiria23 said: 1. If the selected text is very long, in mobile view the text is lost. Attachment an example. How can i fix it? Yes long text is always going to be a problem with Boostrap and mobile devices... I have not found a good solution to this. It is always going to be a compromise! If you wrap the text then you have a big block on a small screen? If you tuncate the long text you lose the mesage 😊, may be one of the experts has a solution. For me I built in a compromise which you can adjust as required. in the template file you will find @media screen and (max-width: 600px) { #sale2 { font-size: 1rem; } } </style> This works for normal short message which fits as shown on my site. If you need a longer message then you can adjust this as required. So if I make the test twice as long... this is what you have on large screen. To make it work on small screens just change to this... @media screen and (max-width: 600px) { #sale2 { font-size: 2vw; } } </style> and on mobile you get... As i said it's a compromise. For Frozen? I do not know I have not tested any Phoenix add-on on frozen. Most people will have Frozen BS3 so I do not think they will work not with out making changes. Edited March 12, 2020 by JcMagpie valquiria23 and Mac2256 2 Quote Link to comment Share on other sites More sharing options...
valquiria23 Posted March 12, 2020 Share Posted March 12, 2020 Thanks for your prompt response, tomorrow I will try it and let you know the results. Mac2256 1 Quote Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
valquiria23 Posted March 18, 2020 Share Posted March 18, 2020 Sorry Zahid, I couldn't test this addon yet. The corna virus appeared in my country and things are very crazy. I'll be back soon to support the community with whatever I can. Best regards Valqui Quote Community Oscommerce fan You'll find the latest osC community version here. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.