Forum Archive - Product Pages working in English but not in other Languages

Product Pages working in English but not in other Languages
Feb 25, 2017 3:32 pm by GlennB
Put products on sale recently. Pages are working fine in English-Partially working in all other languages-A few items working correctly the rest of the page is a mess-pictures missing etc.. Below is an example: http://it.medeqipexp.com/prodotto-categ ... mmer-viti/ Thanks, Glenn Berry
Re: Product Pages working in English but not in other Langua
Feb 26, 2017 2:22 am by Edvard
Hi, I have checked your page and it seems that you have HTML errors which causes issues in the translated version. Here is your original HTML code for product which causes issue: <div class="col-xs-12 col-sm-6 col-md-3"> <a href="http://medeqipexp.com/product/arthrex-bio-tenodesis-screw-6-25-x-15-mm-plla-bioabsorbable-material/" class="woocommerce-LoopProduct-link"> <div class="product"><a href="http://medeqipexp.com/product/arthrex-bio-tenodesis-screw-6-25-x-15-mm-plla-bioabsorbable-material/"> <img src="http://medeqipexp.com/wp-content/images/2014/08/p-1014-AR-1562B.jpg" class="attachment-medium size-medium wp-post-image img-responsive" alt="Arthrex Bio-Tenodesis Screw 6.25 x 15mm"/> <h3>Arthrex Bio-Tenodesis Screw 6.25 x 15mm PLLA Bioabsorbable Material</h3> <span class="price"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>39.95</span></span> </a> </a><a rel="nofollow" href="/product-category/orthopedic-implants/zimmer-screws/?add-to-cart=1014" data-quantity="1" data-product_id="1014" data-product_sku="Bio-Tenodesis Screw 6.25 x 15 mm" class="button product_type_simple add_to_cart_button ajax_add_to_cart">Add to cart</a><div id="offers-for-woocommerce-make-offer-wrapper-id-1014" class="offers-for-woocommerce-make-offer-wrapper"><a href="http://medeqipexp.com/product/arthrex-bio-tenodesis-screw-6-25-x-15-mm-plla-bioabsorbable-material/?aewcobtn=1" id="offers-for-woocommerce-make-offer-button-id-1014" class="offers-for-woocommerce-make-offer-button-catalog button alt" style="">Make Offer</a></div> </div> </div> Which is the same as: <div> <a href="..."> <div class="product"> <a href="..."> <img src="..."/> <h3>...</h3> <span><span><span>...</span></span></span> </a> </a><!-- note this closing a which is wrong, it closes parent a without product div being closed --> <a href="...">Add to cart</a> <div> <a href="...">Make Offer</a> </div> </div><!-- note this which is closing probably product --> </div> If you fix it in your product template, it will fix the issue in the translated page. Thanks!
Re: Product Pages working in English but not in other Langua
Feb 26, 2017 5:45 pm by GlennB
Unfortunately I am not following you. I think the problem started with the latest Woo Commerce Update. Following is what is in the Editing woocommerce/templates/content-product.php Folder @see https://docs.woocommerce.com/document/t ... structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.6.1 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $product; // Ensure visibility if ( empty( $product ) || ! $product->is_visible() ) { return; } ?> <li <?php post_class(); ?>> <?php /** * woocommerce_before_shop_loop_item hook. * * @hooked woocommerce_template_loop_product_link_open - 10 */ do_action( 'woocommerce_before_shop_loop_item' ); /** * woocommerce_before_shop_loop_item_title hook. * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); /** * woocommerce_shop_loop_item_title hook. * * @hooked woocommerce_template_loop_product_title - 10 */ do_action( 'woocommerce_shop_loop_item_title' ); /** * woocommerce_after_shop_loop_item_title hook. * * @hooked woocommerce_template_loop_rating - 5 * @hooked woocommerce_template_loop_price - 10 */ do_action( 'woocommerce_after_shop_loop_item_title' ); /** * woocommerce_after_shop_loop_item hook. * * @hooked woocommerce_template_loop_product_link_close - 5 * @hooked woocommerce_template_loop_add_to_cart - 10 */ do_action( 'woocommerce_after_shop_loop_item' ); ?> </li> Am I in the right folder & what needs to be changed to correct the problem. Thank you. Glenn Berry
Re: Product Pages working in English but not in other Langua
Feb 27, 2017 12:31 am by Edvard
Hi, No, it is not the correct template file. If you are not sure, you may try to contact your template developers and ask for help. If they cannot help you, we will try to fix it for you. Thanks!
Re: Product Pages working in English but not in other Langua
Mar 2, 2017 5:14 pm by GlennB
Thanks I was able to get the problem resolved by using the Chat feature & opening up a ticket. Thank you for resolving the issue I appreciate the help. Glenn Berry
Re: Product Pages working in English but not in other Langua
Mar 2, 2017 5:23 pm by Edvard
You are welcome. Thanks!

SIMILAR TOPICS

How do I add Indian languages in Drupal GTranslate?Sep 18, 2011 6:10 amReplies: 26Post by: rag_gupta
Combining manually translated French pages with GTranslateOct 16, 2018 2:24 pmReplies: 3Post by: oxygensmith
Drop down is not working???Sep 30, 2018 11:05 amReplies: 1Post by: vijayparmar
Cart stopped workingSep 1, 2018 12:10 pmReplies: 3Post by: willsonjayram
Plugin Not WorkingMar 10, 2018 6:49 pmReplies: 11Post by: wsjiii

Try GTranslate with a free 15 day trial