Jump to content
Latest News: (loading..)

JcMagpie

♥Ambassador
  • Content count

    1,114
  • Joined

  • Last visited

  • Days Won

    70

Everything posted by JcMagpie

  1. Simple addon any issues post here. 4 cookie widgets tab by JcMagpie 24-5-2018 V1.0 GDPR Cookie Widgets V1.0 v2.3.4.1 CE 4 individual addon’s that can add a cookie widget to your site. These are all set for EU GDPR requirements so customer can refuse cookies. If you don't want this then don't use these. You can chose 4 positions. Top -Headder Bottom -Footer Left side Right side Only have one active at anyone time. Again totally standalone with no core code change. Once you have copied all the files over go into admin/Content /Modules and install the one you require It uses the stock privacy.php to display statement. You can change the words displayed and change what is shown on links and buttons. The link to ocS privacy has to be edited in the templates of each addon. The colors can also be changes in the same file. To add new text for each link simply edit one file in each addon . /includes/modules/content/footer/templates/tpl_cm_footer_jcmcookief_links.php /includes/modules/navbar_modules/templates/jcmnavcookie.php /includes/modules/boxes/templates/jcmcookieleft.php /includes/modules/boxes/templates/jcmcookieleft.php Simply find the following and replace the stock text between each marking. Only change the text marked **************** "content": { "message": "This website uses cookies to ensure you have the best experience on our website.", "dismiss": "Got it!", "deny": "Refuse Cookies", "link": "Learn More", "href": "https://www.tbyb.co.uk/privacy.php" Don't forget to put in your own website! This shows what it looks like, you can see the Nav bar working at the test site https://www.tbyb.co.uk/ Left and Right widgets.
  2. you can see the change on the test site. https://tbyb.co.uk/ Try this for the long display .cc_message { margin-top: 0.5em; font-size: 1.2em; font-style: italic; font-family: Verdana; } or this for the floating box display .cc-floating .cc-message { display: block; margin-bottom: 1em; font-size: 1.2em; font-style: italic; font-family: Verdana; }
  3. been a long time since I looked at this, but i'm sure a simple bit of css will do that for you.
  4. JcM jssor Carousel with thumbnails A simple add-on to place a jssor carousel on your index page. Is set up for 10 images and thumbnails. You can change the images in admin. Again totally standalone with no core code change. Simply copy all files into relevant sections and go to admin modules /content modules and install. Has been tested on osC CE BS3 and BS4 just use the right template file. That’s it Enjoy. can be see on test sites BS4 https://chilleddisplays.co.uk/ BS3 https://www.justfastfood.com/
  5. JcM Header Videos addon's CE Can bee seen on test site https://www.justfastfood.com/ Both have been updated V1.3 to allow text and files to be selected in admin. 1) A simple addon to let you place a video carousel header on your index page. It is still a no core change add-on. Install all the new files and turn on it’s as simple as that. It is set up as manual play video as google now penalises auto play videos with sound. Keep them short and relevant to your site. Can be file or stream from the usual sites. It has been tested on the v2.3.4.1 CE Only. Enjoy. 2)A simple addon to let you place a video header on your index page. It is still a no core change add-on. Install all the new files and turn on it’s as simple as that. It is set up as muted video as google now penalises auto play videos with sound. Keep it short and relevant to your site. Can be file or stream from the usual sites. It has been tested on the v2.3.4.1 CE Only. Enjoy.
  6. try this it works but is a hack, in includes/classes/order.php find around line 335 and edit to this, if (DISPLAY_PRICE_WITH_TAX == 'true') { $this->info['total'] = ($this->info['subtotal'] + $this->info['shipping_cost']) * 1.025; } else { $this->info['total'] = ($this->info['subtotal'] + $this->info['tax'] + $this->info['shipping_cost']) * 1.025; You probably need something more elegant than this to show the added amount to customer.😂
  7. JcMagpie

    Pet Supplies E-commerce

    ask this person he's smarter than you!
  8. JcMagpie

    Every 2nd image not showing

    The problem is not the second image, your prodthumb-carousel is broken, it shows same zoom image for all images! You sould uninstall this and try to reinstall again.
  9. JcMagpie

    Every 2nd image not showing

    That's not your only problem! the new template is a bit of a mess! I think you have more to worry about than a missing pic!
  10. JcMagpie

    Every 2nd image not showing

    You need to check with the template supplier as it's not using stock image module. It's clear that the thumbnails are missing for that image. prodthumb-carousel <a class="active thumbnail-image" data-image="images/imagenotavailable.png" data-thumb="0" data-zoom-image="images/imagenotavailable.png" href="javascript: return false;" onclick="showLargeImage('images/imagenotavailable.png')"> <img alt="Nikon AF-S Nikkor 35mm F1.4G Wide Angle Lens" src="images/imagenotavailable.png" title="Nikon AF-S Nikkor 35mm F1.4G Wide Angle Lens" width="54" height="54"></a>
  11. JcMagpie

    horizontal megamenu

    osC CE BS3 and BS4 both work fine with PHP7.2 all my test sites are running at 7.2 As you will see all have a stack load of add-on's running https://chilleddisplays.co.uk/ https://www.justfastfood.com/ https://tbyb.co.uk/
  12. glad you got it sorted. Strange how one edge site failed with the script and another without just shows how fickle it can be with different set-ups.
  13. JcM Product info description_tabs CE A simple add-on to let you automatically place a Product Information Tabs dynamically on your product info page. Again totally standalone with no core code change. Simply copy all files of the into relevant sections and go to admin modules /content and install. Has been tested on CE BS4 and CE BS3
  14. if it works after adding <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> then clearly you are missing this in your js files. This was origanaly in the first version but caused conflicts when used with osC edge whch had a later version installed hence was removed from later versions. oh and as I said you have to use the correct BS3 or 4 file with right version or you will have issues.
  15. <script type="text/javascript" src="https://cdn.jsdelivr.net/jsbarcode/3.3.20/JsBarcode.all.min.js"></script> is required to produce the bar codes!
  16. Thats not a fix! what your error shows is you do not have all the js files required on your local install
  17. can you post image of the browser console so I can see the details as shown, Also which version are you using?
  18. Then post errors from browser console and make sure you are using the correct js scripts. Orignal problem was purly js conflict.
  19. JcM-header-Promo-Marquee CE Updated to allow text to be added in admin. A simple add-on to place a moving promo text header on your site. Based on js script by Fabian Valle (https://github.com/conradfeyt/Simple-Marquee) This uses a little js to add an old school marquee on the header. It’s simple and easy to use, you can add as many or as few messages as you like. It’s been set up with six on a slow move to keep it low key. Text can be changed in admin. You can change the css to suite your site. I would not recommend playing with the js unless you know what you are doing. The speed can be sped up or slowed down changing this line in the ext/js/marquee.js file. Line 317 duration: 200000, It’s responsive but as you might imagine not going to be easy to read on small screens. It has therefore been disabled on small screens, If you need it to show then in template file remove or comment out the following code in the <style >section @media only screen and (max-width: 479px) { .simple-marquee-container{ display: none !important; } } Again totally standalone with no core code change. Simply copy all files into relevant sections and go to admin modules /content modules and install. can bee see on test site. works on CE BS3 or BS4 https://chilleddisplays.co.uk That’s it Enjoy.
  20. Yes you need modular product info or you will not be able to place it in order! You will find many product info add-ons work on non moduler page but get added at bottom of page. If you are using BS of any kind of edge (not gold have not tested) then you can simply add the new moduler product_info page and then add all the modules and it normaly just works.
  21. PayPal like many others base the fees on sales volume. So it's not allways a good thing to offer several payment systems as you will be diluting your volume per method and not be able to make use of the brakes in fees! Current PayPal fees in EU No monthly fee From 3.4% to 1.7% + 0.35 EUR per transaction based on total sales volume.
  22. JcMagpie

    Newsletter addon compatible with Frozen?

    Try this, https://apps.oscommerce.com/inQfu&amp;mailchimp-newsletter-everywhere
  23. .htaccess can be tricky so it's best to keep a list of useful redirects #301 Redirects for .htaccess #Redirect a single page: Redirect 301 /pagename.php http://www.domain.com/pagename.html #Redirect an entire site: Redirect 301 / http://www.domain.com/ #Redirect an entire site to a sub folder Redirect 301 / http://www.domain.com/subfolder/ #Redirect a sub folder to another site Redirect 301 /subfolder http://www.domain.com/ #This will redirect any file with the .html extension to use the same filename but use the .php extension instead. RedirectMatch 301 (.*)\.html$ http://www.domain.com$1.php ## #You can also perform 301 redirects using rewriting via .htaccess. ## #Redirect from old domain to new domain RewriteEngine on RewriteBase / RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] #Redirect to www location RewriteEngine on RewriteBase / rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] #Redirect to www location with subdirectory RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/directory/index.html [R=301,NC] #Redirect from old domain to new domain with full path and query string: Options +FollowSymLinks RewriteEngine On RewriteRule ^(.*) http://www.newdomain.com%{REQUEST_URI} [R=302,NC] #Redirect from old domain with subdirectory to new domain w/o subdirectory including full path and query string: Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_URI} ^/subdirname/(.*)$ RewriteRule ^(.*) http://www.katcode.com/%1 [R=302,NC] Rewrite and redirect URLs with query parameters (files placed in root directory) Original URL: http://www.example.com/index.php?id=1 Desired destination URL: http://www.example.com/path-to-new-location/ .htaccess syntax: RewriteEngine on RewriteCond %{QUERY_STRING} id=1 RewriteRule ^index\.php$ /path-to-new-location/? [L,R=301] Redirect URLs with query parameters (files placed in subdirectory) Original URL: http://www.example.com/sub-dir/index.php?id=1 Desired destination URL: http://www.example.com/path-to-new-location/ .htaccess syntax: RewriteEngine on RewriteCond %{QUERY_STRING} id=1 RewriteRule ^sub-dir/index\.php$ /path-to-new-location/? [L,R=301] Redirect one clean URL to a new clean URL Original URL: http://www.example.com/old-page/ Desired destination URL: http://www.example.com/new-page/ .htaccess syntax: RewriteEngine On RewriteRule ^old-page/?$ $1/new-page$2 [R=301,L] Rewrite and redirect URLs with query parameter to directory based structure, retaining query string in URL root level Original URL: http://www.example.com/index.php?id=100 Desired destination URL: http://www.example.com/100/ .htaccess syntax: RewriteEngine On RewriteRule ^([^/d]+)/?$ index.php?id=$1 [QSA] Rewrite URLs with query parameter to directory based structure, retaining query string parameter in URL subdirectory Original URL: http://www.example.com/index.php?category=fish Desired destination URL: http://www.example.com/category/fish/ .htaccess syntax: RewriteEngine On RewriteRule ^/?category/([^/d]+)/?$ index.php?category=$1 [L,QSA] Domain change – redirect all incoming request from old to new domain (retain path) RewriteEngine on RewriteCond %{HTTP_HOST} ^example-old\.com$ [NC] RewriteRule ^(.*)$ http://www.example-new.com/$1 [R=301,L] If you do not want to pass the path in the request to the new domain, change the last row to: RewriteRule ^(.*)$ http://www.example-new.com/ [R=301,L] #From blog.oldsite.com -> www.somewhere.com/blog/ retains path and query, and eliminates xtra blog path if domain is blog.oldsite.com/blog/ Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_URI}/ blog RewriteRule ^(.*) http://www.somewhere.com/%{REQUEST_URI} [R=302,NC] RewriteRule ^(.*) http://www.somewhere.com/blog/%{REQUEST_URI} [R=302,NC]
×