As you all know that squarespace doesn't give option to check the box whether terms and conditions have been read before proceeding the checkout. I injected a code that showed a line," By continuing to checkout, you have read and agreed to our terms and condiotions" both on pc screen and phone. This was working perfectly fine until few days ago I applied a code on my home page for fetching the customer reviews from google- https://www.frillup.ch/. Now this terms and conditions line has disappeared from the shopping cart page. What can I do?
The code that I applied was as follows:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('.CartFooter-checkout-28MW2').append('<div class="tuan"> By continuing to checkout, you have<br/>read and agreed to our <strong><a style="color: #7a6e65;" href="https://frillup.ch/terms-and-conditions" target="_blank" rel="noopener">Terms and Conditions</a></strong></div>');
});
</script>
<style>
.tuan {
display: block;
height: auto;
text-align: left;
color: #FFFFFF;
background-color: transparent;
font-size: 1.1rem;
line-height: 1.5em;
margin-top: -82px;
margin-bottom: 300px;
}
</style>
Question
Aashini
Site URL: https://www.frillup.ch/cart
As you all know that squarespace doesn't give option to check the box whether terms and conditions have been read before proceeding the checkout. I injected a code that showed a line," By continuing to checkout, you have read and agreed to our terms and condiotions" both on pc screen and phone. This was working perfectly fine until few days ago I applied a code on my home page for fetching the customer reviews from google- https://www.frillup.ch/. Now this terms and conditions line has disappeared from the shopping cart page. What can I do?
The code that I applied was as follows:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('.CartFooter-checkout-28MW2').append('<div class="tuan"> By continuing to checkout, you have<br/>read and agreed to our <strong><a style="color: #7a6e65;" href="https://frillup.ch/terms-and-conditions" target="_blank" rel="noopener">Terms and Conditions</a></strong></div>');
});
</script>
<style>
.tuan {
display: block;
height: auto;
text-align: left;
color: #FFFFFF;
background-color: transparent;
font-size: 1.1rem;
line-height: 1.5em;
margin-top: -82px;
margin-bottom: 300px;
}
</style>
Link to comment
Top Posters For This Question
2
4
5
Popular Days
Apr 19
4
Apr 20
4
Nov 10
2
Nov 11
1
Top Posters For This Question
RobPegurri 2 posts
Aashini 4 posts
Spark_plugin 5 posts
Popular Days
Apr 19 2021
4 posts
Apr 20 2021
4 posts
Nov 10 2021
2 posts
Nov 11 2021
1 post
Popular Posts
Spark_plugin
Great, glad I could help!😃
Spark_plugin
@Aashini oh my bad, forgot to add something. Try this: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(functi
Spark_plugin
@RobPegurri Sure, use this updated code: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() {
Posted Images
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment