Jump to content
Latest News: (loading..)

JcMagpie

♥Ambassador
  • Content count

    1,877
  • Joined

  • Last visited

  • Days Won

    112

Everything posted by JcMagpie

  1. JcMagpie

    A Question About Internal LInks?

    😊 Not a big issue, The new tab was the first recommendation and should work fine, but if you don't like iframes no matter try something else, all you need is some thing to pull the url into the modal. Try something like this, replace iframe with object or embed <object data="https://chilleddisplays.co.uk" width="100%" height="100%"></object> or <embed src="https://chilleddisplays.co.uk" width="100%" height="100%"> Works fine set the css to how you like. Take a look . https://chilleddisplays.co.uk/modal_test2.html
  2. Product Info page contact us This is the support thread for Product Info page contact us addon. Any issues post here. A simple product_info addon it gives your customer the ability to contact you directly from the product info page. You have 2 options by installing one of 2 files. tpl_cm_jcm_product_info_contact_us_modal.php tpl_cm_jcm_product_info_contact_us_modal.stock-contact form The first is a fully new contact us modal. However it has an issue when product attributes are turned on. It will work but it adds a comment to your error log. This has something to do with the way forms are used on product info page which I have not been able to pin down! It still works but it up to you to decide to use it. The second ( you will need to rename the file .php) Is still a modal but used the current stock contact us page by opening a new window. You still have all the other options. Both have a call now button option which uses my call button as default, if you have your own then just edit this line in tpl_cm_jcm_product_info_contact_us_modal.php around line 40. Just replace “MODULE_NAVBAR_JCPHONE_PUBLIC_TEXT” with your button. Oh and as the instructions say just remove the // to get button to be visible. This is also where you can change the text that appears in modal header. <!---------------------simply remove the // below if you need phone button, remember to change text------------------> <h4 class="modal-title">Contact us by eamil. Or you can call us now &nbsp &nbsp<?php //echo MODULE_NAVBAR_JCPHONE_PUBLIC_TEXT; ?></h4></div> Next open handler.php and edit line 24 $pp->sendEmailTo('info@tbyb.co.uk'); // ← Your email here ... and put your email in place of the test site. Next, A basic GDPR statement is provided as a boiler plate you can edit this to your requirements. Make sure to replace all red stuff **business name** with your own details. Just edit as required from line 120 in, tpl_cm_jcm_product_info_contact_us_modal.php <!-- Place your GDPR text below this--> At *Your business name* we understand that we have a responsibility to protect and respect your privacy and look after your personal data.<br> This Privacy Notice, inclusive of our General Terms of Service, explains what personal data we collect, how we use your personal data, reasons we may need to disclose your personal data to others and how we store your personal data securely.<br> GDPRData Protection law will take effect on 25 May 2018<br> This Privacy Notice sets out your rights under the new laws.<br> <br> Again totally standalone with no core code change. Once you have copied all the files over go into admin/Content /Modules and install “JcM Product Info Contact us Modal “ and turn it on. That’s it your done.
  3. That could be anything! is it Gold, Edge, Frozen BS3 or Edge BS4? Also without a link to look at? It's a old one but looks to be working fine still. https://tbyb.co.uk/product_info.php/the-matrix-p-6?osCsid=u9154113i5pksfp8ird216rsm7
  4. JcMagpie

    A Question About Internal LInks?

    😊 The honist answer is I'm not sure as I don't fully understand how you are doing your links? PM me a link and I can try and see waht is happening. But in general the code goes into which ever page you wish the link to appear! you can see it in this test page I made. https://chilleddisplays.co.uk/modal_test.html As you see its just a text link that drives the pop up modal. when you click you get full screen modal for the shop. Try it and see if it's what you need. If not just the first simple link to new tab will do. Depending on what you first site is using ( PHP, HTML , js) you may need to mod the code a bit.
  5. JcMagpie

    A Question About Internal LInks?

    So basic link in new tab/window, <a href="https://chilleddisplays.co.uk" target="_blank">The NorthWest Artist Shop</a> To open link in modal popup takes a little more code. The modal, <a data-toggle="modal" class="btn" href="https://chilleddisplays.co.uk/" data-target="#myModal">The NorthWest Artist Shop</a> <div class="modal hide fade modla-lg" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel">The NorthWest Artist Shop</h3> </div> <div class="modal-body"> </div> </div> The js script, <script> $('a.btn').on('click', function(e) { e.preventDefault(); var url = $(this).attr('href'); $(".modal-body").html('<iframe width="100%" height="100%" frameborder="0" scrolling="no" allowtransparency="true" src="'+url+'"></iframe>'); }); </script> Should just work, you can use css to style as you like.
  6. JcMagpie

    A Question About Internal LInks?

    2 simple solutions if I understand your requirment? 1) open in new window so original page is not affected. 2) open in modal again will not affect original page.
  7. JcMagpie

    Creating New Navbar above Existing Navbar

    try this file. cm_header_nbrmenu.php
  8. JcMagpie

    Creating New Navbar above Existing Navbar

    I will take a look , but you may also try using this? https://apps.oscommerce.com/lf9R4&amp;horizontal-megamenu-bootstrap
  9. JcMagpie

    Creating New Navbar above Existing Navbar

    zip your files and either post or pm and i'll have a look
  10. JcMagpie

    Creating New Navbar above Existing Navbar

    Yes just make a new module header or nav and then you can select which order it shows on the site. Just pick an existing one rename it and add your code.
  11. Then your going to have to pay a developer to make that for you. For anyone else interested in doing this with attributes you can make it a bit easer for the customer by adding a simple calculator so they know how much they need.
  12. You could just use the product attributes in osC to do this, just prce by volume and let them pick the volume they need. You can see this on this test product. https://chilleddisplays.co.uk/product_info.php/cPath/24/products_id/54
  13. I'm not aware of any free add-on that will do this but I may be wrong. I'm sure if you post in the commercial section one of the developers will be able to help. If you can do a little codeing the add-on shown above should have the most important part of the code you need ( the price update to cart) The only thing you need in addition is a simple input form for the customer to enter the 3 dimentions. If your using CE then thats a simple add-on if not then it requires editing existing files.
  14. 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
  15. This can be a powerfull tool if done right. This blog gives a good insite into the right way to go about doing it. https://neilpatel.com/blog/beginners-guide-email-marketing/ One of the main things to remember is to stay on the right side of the law! In the UK this is very clear. "Email marketing and text messages You’re only allowed to send marketing emails to individual customers if they’ve given you permission. Emails or text messages must clearly indicate: who you are that you’re selling something what the promotions are, and any conditions Check that you are not sending emails to anyone who’s asked not to receive them, using the Email Preference Service. If you buy or rent a mailing list, ask the supplier if you have the right to use it for email marketing. Every marketing email you send must give the person the ability to opt out of (or ‘unsubscribe from’) further emails. You must tell customers if you add them to a list of people who do not want to be emailed." Ok so you are happy your on the right side of the law! now what? Well you are spoilt for choice there are many solutions for mail marketing both paid and free. Pick the one that is best for your needs. This blog covers some of the main players in this area. https://blog.capterra.com/top-10-mailchimp-alternatives-small-business-email-marketing/ So what if your a small company with limited budget? Well your in luck, you will find a few good self hosted alternatives with open source softwere options. These are not for everyone but if you are happy with open source code and like to get into the code then you should look at these. 1) phpList This has been around for some time and is one of the best open source alternative to MailChimp. phpList is released under the Affero General Public License as a free software. You can download this software directly from its official site at phplist.org. The source code is also available on GitHub. 2) OpenEMM Also a good alternative to MailChimp that is released as an open source software, allowing you to build your own mailing list management system on your server without having to rely on third parties. OpenEMM is released under the OpenNMS License with the source code is available on GitHub. Before installing the software on your server you can also take advantage of the offered demo to see the admin dashboard. This gives you the option to host your own or use a paid service. 3) Mailtrain Self Hosted Newsletter App Built on Top of Nodemailer , this is relativly new compared to the others. Mailtrain is also released as a free software. The source code of Mailtrain is available on GitHub. This software is released under the GNU General Public License. https://mailtrain.org/ So as you can see you have many options available to you. I'm sure there are other good alternatives that I have missed. There are a number of good ones that have official osC add-on's such as MailBeez and Mailchimp. I have not coverd these as they have been around for some time. https://www.mailbeez.com/documentation/installation/oscommerce-2-3-x https://apps.oscommerce.com/TPj0M&amp;mailbeez-for-oscommerce-2-3-1 https://mailchimp.com/integrations/oscommerce--63/
  16. Have been updated to version 1.3 to make them multilingual.

  17. JcM Product info description_tabs Select Have been updated to version 1.3 to make them multilingual. I am not going to update any other version of this so if you need multilingual then turn off curent version and uninstall module and the deleat files. Then simply copy over new files , install in admin and setup. For those who are using these but have mofified the code! well it's up to you to compare the changes and update if needed.
  18. lso I think you are a bit confused! osC is not magic! it will not auto create language files 😊 Yes the tabs at the moment are single language only as I made them for my site but all stock data used is stock osC and it's up to you to add the alternative text. This is you english page showing Swedish stock text This is your Swedish page again showing Sweedish stock text. Ig noring the tabs ( thats all down to me ) I can only assume yo have not added english text in you products in admin? To use osC as muliligual you have to add text in admin for every language you use. Also every time you change a product info you must make that change to all languages. which is a real pain in the butt! Hence I recommend using the Google Translate add-on. https://apps.oscommerce.com/mYuUD&amp;info-box-with-google-translate-bs4
  19. Not posiable with current tabs. It's on a long list of thngs to do. You will have noticed I have been updating the ones people have asked for so this will join that list and when I have time it will be updated. Or you can do it your self, its not hard it's simple case of adding a language file and moving the defines from the class to the language file. This will mean that you then have to edit a language file in order make changes rather than simplely in the admin module edit. This should only be affecting new content such as tab names and such. All stock content is still mulitlingual! Or you can support the CE software and buy Burt's 28days as I belive it has tabs in it.
  20. I'm not sure i did? please post link. If you are using the Frozen version then some buttons are moduler so as you change the width the button will chnage acordingly. If the button is part of another module then you can change the class to suite your needs. btn-sm btn-lg btn-block It all depends on which version you are using. on CE Frozen BS4 width set to 4 gives Content Modules Buy Button width set to 12 gives, just an example you normaly have to adjust others to keep layout as you need.
  21. I have to thank @Gyakutsuki for all his help with this add-on and especially the multilingual code.

    let’s you add a cookie widget to your site. This will allow your customer to refuse cookies if they wish to and let you comply with legislation.

    1. Gyakutsuki

      Gyakutsuki

      Welcome. I hope you increase a little of your knowledge.

  22. Tart GDPR-cookie-widgets V1.0 I have to thank @Gyakutsuki for all his help with this add-on and especially the multilingual code. let’s you add a cookie widget to your site. This will allow your customer to refuse cookies if they wish to and let you comply with legislation. What you allow will depend on who you are and what legal requirements you need to comply with. It is imposable to make an add-on that will work out of the box for all shops. So this has 2 modules, one is a header_tag which installs the main script which loads the main js and makes language selection. The other is a footer_suffix which allows you to enter the custom scripts for your cookies. You have 10 input boxes in footer_suffix admin to enter custom scripts. You do not need to use all 10, these are just to make management easy for most shops who will need only a few so can enter one into each box. If you need more than ten then just add extras all into one box. Included in the files is a list of some of the main scripts needed. Simply copy from <script to </script> and paste into input box and save. <script type="text/javascript"> (tarteaucitron.job = tarteaucitron.job || []).push('adsense'); </script> That’s all that is required. If you need more scripts then go to this website and search for the one you need. https://opt-out.ferank.eu/en/install/ The script is multilingual but I have only added a few to the code. These are in the header_tag class so if you need more you can edit it and add them. $language_code == 'fr' || $language_code == 'en' || $language_code == 'nl' || $language_code == 'de' || $language_code == 'es' || $language_code == 'it' || $language_code == 'pt' || $language_code == 'pl' || $language_code == 'ru' ) { That’s it again as always copy everything over into correct directory's don't forget to copy the new js files to ext. Then go into admin and install and set up the 2 modules. You have to have both installed and set up. The rest is straightforward and should be self explanatory. Enjoy. Auto detect shop language.
×