Personalized checkout and custom promotions with Shopify Scripts
Any one Know How?
Here is the Solution.
<div id="main" role="main">
<script src="//maps.googleapis.com/maps/api/js?key=YOUR API KEY&libraries=places&callback=PlaceAutocompleteSearch" async="" defer=""></script>
<script>
function PlaceAutocompleteSearch() {
var input = document.getElementById('search-address');
var autocomplete = new google.maps.places.Autocomplete(input);
}
</script>
<div class="rte">
<h2>Place Autocomplete Search</h2>
<input type="text" id="search-address" value="" class="pac-target-input" placeholder="Enter a location" autocomplete="off">
</div>
<style>
#search-address{
width:100%;
height: 30px;
}
</style>
</div>
<div id="main" role="main">
<script src="//maps.googleapis.com/maps/api/js?key=YOUR API KEY&libraries=places&callback=PlaceAutocompleteSearch" async="" defer=""></script>
<script>
function PlaceAutocompleteSearch() {
var input = document.getElementById('search-address');
var autocomplete = new google.maps.places.Autocomplete(input);
}
</script>
<div class="rte">
<h2>Place Autocomplete Search</h2>
<input type="text" id="search-address" value="" class="pac-target-input" placeholder="Enter a location" autocomplete="off">
</div>
</div>
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024