Shopify themes, liquid, logos, and UX
How can I change the name of both products but only change the name on the product page.
1. case (Hygia™ Case)
2. hygiene pod (Hygia™ Hygiene Pod)
url: hygiadental.com
pw: angel
Thank you in advanced guys
Solved! Go to the solution
This is an accepted solution.
Hey @jeffreym
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if product.handle == 'hygia-case' %}
<style>
.product__title h1 {
visibility: hidden;
}
.product__title h1:after {
visibility: visible !important;
content: "case (Hygia™ Case)";
display: block !important;
margin-top: -55px;
padding-bottom: 20px;
}
</style>
{% endif %}
{% if product.handle == 'dental-pod' %}
<style>
.product__title h1 {
visibility: hidden;
}
.product__title h1:after {
visibility: visible !important;
content: "hygiene pod (Hygia™ Hygiene Pod)";
display: block !important;
margin-top: -55px;
padding-bottom: 20px;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @jeffreym
Can you tell me the names of both in which you wanna change them into for both products?
Best Regards,
Moeed
1. case (Hygia™ Case)
2. hygiene pod (Hygia™ Hygiene Pod)
This is an accepted solution.
Hey @jeffreym
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if product.handle == 'hygia-case' %}
<style>
.product__title h1 {
visibility: hidden;
}
.product__title h1:after {
visibility: visible !important;
content: "case (Hygia™ Case)";
display: block !important;
margin-top: -55px;
padding-bottom: 20px;
}
</style>
{% endif %}
{% if product.handle == 'dental-pod' %}
<style>
.product__title h1 {
visibility: hidden;
}
.product__title h1:after {
visibility: visible !important;
content: "hygiene pod (Hygia™ Hygiene Pod)";
display: block !important;
margin-top: -55px;
padding-bottom: 20px;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024