Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

V1.2 full package by JcMagpie 14-3-2019

GDPR & info Modal tabs popup v2.3.4.1 CE V1.2

 

Updated to clean code , make multilingual and add BS4.

 

A much simpler footer information block addon. It gives you the information links and as modal popup with tabs so all GDPR , T&C and Shipping & Returns are all shown in one popup with tabs. The contact us is still separate link. Reduces the information footer block to just 2 nav pils.

 

Why? Well gives a cleaner look to the footer and makes reading information much better for the customer. On large sites it can take time to find what your looking for. With stock osC if having found it you press a info link your taken away from the page you were looking at. With the Tabbed popup the page stays behind the popup and when you close the popup you carry on with what you were looking at.

 

Again totally stand-alone with no core code change. Once you have copied all the files over go into admin/Content /Modules and install “JCM GDPR Information Links Block”. Turn it on and turn off the stock info block or another you may have uninstall it.

 

This version will not change the contact us link. That remains as new window.

The other stock links are not replaced. We make new ones for the modal tabs so you can revert back anytime you like.

To add new text for each modal tab simply edit language file, keep it plain text.

 

That’s it Enjoy.

image.png.d67a54ef8f458f2e51d2631f52ad1ef7.png

image.png.77ea3fe7356da77d7448322e65b7de09.png

 

 

Link to comment
Share on other sites

Nice but you forgot something very important. The customer must approve or not approve script like google analytics, facebook, twitter  ...... !
You must include a modular approach by hooks to allow the coder to develop their own module. 
 


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

7 minutes ago, Gyakutsuki said:

The customer must approve or not approve script like google analytics, facebook, twitter 

Yes, but that is one for the profesional coders not me. I just give the user the option to use if they wish. For cookies they can use this.

https://apps.oscommerce.com/fcCku&gdpr-cookie-widgets-v1-2-ce

Even with this they need to add own custom script depending on what cookies they are forcing. Or beter still get a developer to do it properly.

 

 

Link to comment
Share on other sites

I love this module Zahid @JcMagpie !!

One question: in addition to the Contact Us link, can I place another link under "Contact Us" as "site map"?

@Gyakutsuki

It would be great if you can provide the missing code to approve or not approve the script,  to improve this addon :) 

Thanks Valqui
Valqui

:heart: Community Oscommerce fan :heart: You'll find the latest osC community version here.

 

Link to comment
Share on other sites

@valquiria23

I don't look a code. It's just a critic to improve the modules.
Mappy proposes to make a specific cookie because every shop owner has their needs. It can be an orientation also.
There is no one way :)


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

2 minutes ago, Gyakutsuki said:

@valquiria23

I don't look a code. It's just a critic to improve the modules.
Mappy proposes to make a specific cookie because every shop owner has their needs. It can be an orientation also.
There is no one way :)

I like the constructive criticism :) thanks for contributing!

:heart: Community Oscommerce fan :heart: You'll find the latest osC community version here.

 

Link to comment
Share on other sites

First open  public_html/includes/languages/english/modules/content/footer/cm_footer_jcmgdprinfo_links.php

and add to end of file,

define('MODULE_CONTENT_FOOTER_JCMGDPRINFO_SITEMAP', 'Site Map');

Then open /public_html/includes/modules/content/footer/templates/tpl_cm_footer_jcmgdprinfo_links.php

and at around line 112 add,

<li><a href="<?php echo tep_href_link('links.php'); ?>"><?php echo MODULE_CONTENT_FOOTER_JCMGDPRINFO_SITEMAP; ?></a></li>

and if you have done it right and you have a sitemap.php file you will see the new link as below, any problems just PM me.

image.png.a771db77019f1c27dc4f6f2072b40797.png

 

Link to comment
Share on other sites

@valquiria23

I have a conversation by email about that with JC. This is this contribution and I let him to decide what it wants to propose or not.
If JC wants help because it has a problem, it can ask. I will be there. ('same with my little time !!)


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

9 hours ago, Gyakutsuki said:

 

I have a conversation by email about that with JC. This is this contribution and I let him to decide what it wants to propose or not.

Thanks for the pointers Loic, i will look at making a new header tag add-on with the script you recomended. It's not as simple as it first looks so will take my time and see if i can get it to work on my test site. If i fail will ask for help 😊.

 

Link to comment
Share on other sites

Thank you @Gyakutsuki with your help got it working. It works fine, but as you said It's not posiabe to make a add-on that will just work with any shop. I've made it so the user can add 10 scripts using admin with no db changes. Added footer add-on to embed the custom scripts into <body> tag as required. It still need more work to add your language code. Anyone intrested can see it on the test site.

https://chilleddisplays.co.uk/index.php

Thanks for all your help.

 

image.png.db7931ff856cad31da1376268b2973b8.png

image.png.df0991e6882cdcb4df22a51dc6b59f7d.png

All futher pages can show small tab.

image.png.e773cff9172f2404a159e5977bd418e0.png

This lets user make changes as required on any page.

image.png.2d1405e2380ac5a07a0f265675d2c909.png

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...