we encountered a few problems with the Food Store Theme. Specifically with the short and long description function on product pages. In one concrete case that I have linked above the full description appears completely in bold if the last word of the short description is bold, because the text is simply cut off without closing the <strong> tag. Here is the code to exemplify:
<div class="desciption_content"> Aveo 2-Weeks soft contact lenses are 2-weekly daily wear frequent replacement contact lenses designed to keep your eyes moist, comfortable and fresh from morning to end of the day while carrying out your daily activities.
<strong>Amount: </strong>6 lenses/box<strong>
</strong>
<strong>Materi...</div>
<div class="description_fullcontent"> <p>Aveo 2-Weeks soft contact lenses are 2-weekly daily wear frequent replacement contact lenses designed to keep your eyes moist, comfortable and fresh from morning to end of the day while carrying out your daily activities.</p>
<p><strong>Amount: </strong>6 lenses/box<strong><br />
</strong></p>
<p><strong>Material:</strong> Omafilcon A<br />
<strong>Replacement Schedule:</strong> 2 Weeks<br />
<strong>Water Content:</strong> 55%<br />
<strong>Base Curve:</strong> 8.6 mm<br />
<strong>Diameter:</strong> 14.2 mm<br />
Apart from the typo in the short content class, it's easy to see the tag never closes. On other occasions we had a phenomenon where the description would disappear completely once clicking the "read more" button. I am guessing it was due to a similar problem.
I actually do not like this feature very much that we always have to expand the description to get the full text but I did not find an option in the theme settings to just get the full description after the price without having to work with spoilers.
Could you provide us with a fix for this issue and / or instructions on how to not use the short discriptions on our product pages?
I edited the code in the shortcode so that it displays more correctly If you want to always display fill-content, leave me a message, I'll help you do that
yes please, we would very much like to always see the full content.
Also can you point out where you changed the shortcode? We will hand-over the project to the customer at one point and need to document any changes to the layouts or theme files.
I have left full-content for the desciption-tab section I changed the file hook.php (Appearance-> Editor-> inc / woo / hook.php) I have hidden the filter at the line 280, to remove the read-more function for this part http://prntscr.com/o3swcz
this did what we wanted. Thank you. We just realized that we do however now have a reduplication of the word "description". Once in the tab and once in the content. Could you check how that happened?
just realized I never thanked you for fixing that final small thing for us... sorry, and thanks!
Could you help me out one more time and tell me what change you made to get rid of the second text saying "Description"? We had to roll back to an old version and your changes got lost. Could reproduce the others, but not this one :/
currently your site is having trouble connecting to the server and having a 500 error I have not checked the site and detailing your problem, please check this issue
Hi,
we encountered a few problems with the Food Store Theme. Specifically with the short and long description function on product pages. In one concrete case that I have linked above the full description appears completely in bold if the last word of the short description is bold, because the text is simply cut off without closing the <strong> tag. Here is the code to exemplify:
Apart from the typo in the short content class, it's easy to see the tag never closes. On other occasions we had a phenomenon where the description would disappear completely once clicking the "read more" button. I am guessing it was due to a similar problem.
I actually do not like this feature very much that we always have to expand the description to get the full text but I did not find an option in the theme settings to just get the full description after the price without having to work with spoilers.
Could you provide us with a fix for this issue and / or instructions on how to not use the short discriptions on our product pages?
Thanks and best regards,
Moritz
Hi Enablecode !
Please leave your account wp-admin access, I will check the details and help you fix that problem.
thank you
Hi Enablecode !
I have adjusted and everything worked well again, you can check back on the site
thank you
Hi Kevin,
thanks! can you give some details on what you changed?
Also do you have an answer to my second question: Is it possible to always show the full discription?
Regards,
Moritz
Hi Enablecode !
I edited the code in the shortcode so that it displays more correctly
If you want to always display fill-content, leave me a message, I'll help you do that
thank you
Hi Kevin,
yes please, we would very much like to always see the full content.
Also can you point out where you changed the shortcode? We will hand-over the project to the customer at one point and need to document any changes to the layouts or theme files.
Thanks!
Moritz
Hi Enablecode !
I have left full-content for the desciption-tab section
I changed the file hook.php (Appearance-> Editor-> inc / woo / hook.php)
I have hidden the filter at the line
280, to remove the read-more function for this part
http://prntscr.com/o3swcz
thank you
Hi Kevin,
this did what we wanted. Thank you. We just realized that we do however now have a reduplication of the word "description". Once in the tab and once in the content. Could you check how that happened?
Hi Enablecode !
I have fixed that problem for you, please check back on the site
thank you
Hi Kevin,
just realized I never thanked you for fixing that final small thing for us... sorry, and thanks!
Could you help me out one more time and tell me what change you made to get rid of the second text saying "Description"? We had to roll back to an old version and your changes got lost. Could reproduce the others, but not this one :/
Thanks a lot and best regards,
Moritz
Hi
currently your site is having trouble connecting to the server and having a 500 error I have not checked the site and detailing your problem, please check this issue
thank you
Oh yes, I forgot to mention we moved the site.
Please check http://contactlensesvietnam.com/product/aveo-1-day-toric/ as a reference product...
All the best,
Moritz
Hi Enablecode !
Add this css attribute to the style.css file (Appearance-> Editor-> style.css) or Appearance-> Customize-> Additional Css
to hide repeat title tab
.woocommerce div.product .woocommerce-tabs .panel.wc-tab > h2 {
display: none;
}
thank you
Thanks Kevin, worked fine!
thank you, Glad to help you