Comments 1gvamvolis started the conversationApril 3, 2018 at 8:44pmHow can i make the sku vissible to products?[deleted] repliedApril 5, 2018 at 1:07amDear Gvamvolis,Please tell me where do you want show product sku? My developer will has support for you.Thanks. 1gvamvolis repliedApril 5, 2018 at 7:42amsingle products page, shop page and category page[deleted] repliedApril 5, 2018 at 10:11amDear,where do you want show sku? (below product thumb or below product category, or below product stock ....).Thanks. 1gvamvolis repliedApril 9, 2018 at 6:27pmbelow product category[deleted] repliedApril 10, 2018 at 3:30amDear,Ok My developer will add sku for you. But he need your site ftp info to add sku. Please give me it.Best Regards,ArrowHiTech. 1gvamvolis repliedApril 10, 2018 at 9:48amPlease send the files and i will add them[deleted] repliedApril 11, 2018 at 1:14amDear,1. Openning file themes\automatic\inc\functions woocommerce.php and goto line 1372. change function automatic_product_termby code function automatic_product_term($product) { $terms = get_the_terms( $product -> get_id(), 'product_cat' ); if(is_array($terms)){ echo '<ul class="terms-product">'; foreach ($terms as $term) { $term_link = get_term_link( $term ); echo '<li><a href="' . esc_url( $term_link ) .'">'.esc_attr( $term->name ).'</a></li>'; } echo '</ul>'; } echo '<ul class="terms-product"><li>'. esc_attr( $_product->get_sku() ) .'</li></ul>';} 1gvamvolis repliedApril 16, 2018 at 8:10pmThe code is notworking and the page does not respond[deleted] repliedApril 17, 2018 at 3:07amDear,Please give me ftp info. My developer will check it.Thanks. gvamvolis replied privately gvamvolis replied privately[deleted] repliedApril 18, 2018 at 2:18amDear,All done. Please check and feedback.Thanks. 1gvamvolis repliedApril 19, 2018 at 10:05ameverything working properly... Best regards[deleted] repliedApril 20, 2018 at 12:55amDear,Don't hesitate to contact us when you need help. By the way, could you rate theme 5stars in Themeforest?Thanks. Sign in to reply ...
How can i make the sku vissible to products?
Dear Gvamvolis,
Please tell me where do you want show product sku? My developer will has support for you.
Thanks.
single products page, shop page and category page
Dear,
where do you want show sku? (below product thumb or below product category, or below product stock ....).
Thanks.
below product category
Dear,
Ok My developer will add sku for you. But he need your site ftp info to add sku. Please give me it.
Best Regards,
ArrowHiTech.
Please send the files and i will add them
Dear,
1. Openning file themes\automatic\inc\functions woocommerce.php and goto line 137
2. change function automatic_product_term
by code
function automatic_product_term($product) {
$terms = get_the_terms( $product -> get_id(), 'product_cat' );
if(is_array($terms)){
echo '<ul class="terms-product">';
foreach ($terms as $term) {
$term_link = get_term_link( $term );
echo '<li><a href="' . esc_url( $term_link ) .'">'.esc_attr( $term->name ).'</a></li>';
}
echo '</ul>';
}
echo '<ul class="terms-product"><li>'. esc_attr( $_product->get_sku() ) .'</li></ul>';
}
The code is notworking and the page does not respond
Dear,
Please give me ftp info. My developer will check it.
Thanks.
Dear,
All done. Please check and feedback.
Thanks.
everything working properly... Best regards
Dear,
Don't hesitate to contact us when you need help.
By the way, could you rate theme 5stars in Themeforest?
Thanks.