Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Google maps & Changing free Shipping wording

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 06-22-2016, 01:46 AM
 
Doherty Doherty is offline
 

Member
  
Join Date: Feb 2016
Location: UK
Posts: 22
 

Question Google maps & Changing free Shipping wording

Hello xCarters,

two separate questions -thought i'd keep the forum clean by only posting in one thread.


First;
I'm trying to add google maps to our "Contact us page" using this website http://embedgooglemaps.com/en/

When i enter webmaster mode and copy the code generated from that website into "default/en/layout/main.center.center.tpl" it completely breaks the website. I assume i'm adding it into the wrong place?

Second;
The "Free Shipping" logo that displays next to anything that has free shipping - We want to change the wording so it reads something like "Free Shipping per our T+Cs" i'll work on the exact wording but where can i edit the text to do that?

Thanks
__________________
X-Cart Version: 5

License products:
X-Cart Gold
Product Configurator
Feature Comparison
Refine Filters
Reply With Quote
  #2  
Old 06-24-2016, 11:54 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Google maps & Changing free Shipping wording

Quote:
Originally Posted by Doherty
First;
I'm trying to add google maps to our "Contact us page" using this website http://embedgooglemaps.com/en/

When i enter webmaster mode and copy the code generated from that website into "default/en/layout/main.center.center.tpl" it completely breaks the website. I assume i'm adding it into the wrong place?
Hello there.
After you generate the Google Maps code, you should add a white space before and after each curly bracket. This seems to be a Flexy bug, but it won't work otherwise.

Quote:
Second;
The "Free Shipping" logo that displays next to anything that has free shipping - We want to change the wording so it reads something like "Free Shipping per our T+Cs" i'll work on the exact wording but where can i edit the text to do that?

Thanks
You can change this text in the 'Store setup' > 'Translations' section in your back end. This is where every piece of text in X-Cart can be changed actually.
Try searching for 'Free shipping'.
For more information, please check this article
* http://kb.x-cart.com/display/XDD/Managing+texts+labels+in+your+store
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 06-27-2016, 06:05 AM
 
Doherty Doherty is offline
 

Member
  
Join Date: Feb 2016
Location: UK
Posts: 22
 

Question Re: Google maps & Changing free Shipping wording

Quote:
Originally Posted by razortw
Hello there.
After you generate the Google Maps code, you should add a white space before and after each curly bracket. This seems to be a Flexy bug, but it won't work otherwise.


You can change this text in the 'Store setup' > 'Translations' section in your back end. This is where every piece of text in X-Cart can be changed actually.
Try searching for 'Free shipping'.
For more information, please check this article
* http://kb.x-cart.com/display/XDD/Managing+texts+labels+in+your+store

Been trying to figure this out of morning heres the code i played with:

Code:
<script src='https://maps.googleapis.com/maps/api/js?v=3.exp'> </script> <div style='overflow:hidden;height:440px;width:700px;'> <div id='gmap_canvas' style='height:440px;width:700px;'> </div> <div><small><a href="http://embedgooglemaps.com"> embed google maps </a></small></div> <div><small> <a href="https://termsandcondiitionssample.com">terms and conditions sample</a></small> </div> <style>#gmap_canvas img {max-width:none!important;background:none!important} </style> </div><script type='text/javascript'>function init_map() {var myOptions = {zoom:10,center:new google.maps.LatLng(52.237596,-0.9249144999999999),mapTypeId: google.maps.MapTypeId.ROADMAP};map = new google.maps.Map(document.getElementById('gmap_canvas'), myOptions);marker = new google.maps.Marker( {map: map,position: new google.maps.LatLng(52.237596,-0.9249144999999999)} );infowindow = new google.maps.InfoWindow( {content:'<strong>Dynamic Office Solutions</strong><br>leo house, ross road, northampon<br>'} );google.maps.event.addListener(marker, 'click', function() {infowindow.open(map,marker);} );infowindow.open(map,marker);}google.maps.event.addDomListener(window, 'load', init_map); </script>

Still breaks the website...

however i did manage to find the translator and change the text, thanks for that!
__________________
X-Cart Version: 5

License products:
X-Cart Gold
Product Configurator
Feature Comparison
Refine Filters
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:58 AM.

   

 
X-Cart forums © 2001-2020