This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 7 replies, has 3 voices.

Last updated by Cristina 1 year ago.

Assigned support staff: Cristina.

Author Posts
October 10, 2018 at 1:02 pm #2804351

brianK-8

I am trying to:
See featured products on all of the translated homepages.

Link to a page where the issue can be seen:
hidden link hidden link hidden link

I expected to see:
All of the featured product, for example: "MOST CHOSEN PRODUCTS".

Instead, I got:
The featured products are only viewed on the Dutch site.

October 11, 2018 at 8:13 am #2807122

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you further on this issue.

I can see that the featured products are showing properly, could you please confirm it? is the issue resolved?

Look forward to your reply.

Thanks

October 11, 2018 at 9:42 am #2807379

brianK-8

Hi,

It's not resolved. Now it's shown by using the product ID instead of the featured products shortcode. This is written with this:
[products ids="1373,1346,1498,839"]
[featured_products columns="4"]
So the first line is shown, but not the 2nd.

October 11, 2018 at 10:31 am #2807645

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

It seems like a theme/plugin conflict or a PHP error that is blocking some functionalities and creating such issues, so could you please perform the below steps and let me know if that helps?

Minimal Setup
If you disable all non-related WPML plugins, switch to one of default themes, the problem persists or not?
NOTE:
+ Make a backup (both files and database) for your site before updating/proceeding anything (Always a good practice!).

Debugging
1. Please follow the debugging information provided here: http://wpml.org/documentation/support/debugging-wpml/ .
2. Repeat the action of creating the problem.
3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see.

Look forward to your reply.

Thanks

October 12, 2018 at 11:30 am #2811742

brianK-8

Hi,

I've made a backup and moved the current site to to a subdomain at .
Disabling plugins or using a default theme didn't work either. After trying every step in your advide to use Debugging, I can't locate the debug.log file, but here is the content of the Debug information of the WMPL > Support page in my WP admin:

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/lacros.website-id.nl","HomeURL":"http:\/\/lacros.website-id.nl","Version":"4.9.8","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, product, product_variation, shop_order, shop_order_refund, avada_portfolio, avada_faq, themefusion_elastic, avada_page_options, slide, fusion_template, fusion_element","PostStatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"7.0.30","MySQLVersion":"5.6.41","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"1024M","WP Memory Limit":"256M","UploadMax":"50M","PostMax":"50M","TimeLimit":"600","MaxInputVars":"5000","MBString":true,"libxml":true}},"plugins":{"active_plugins":{"sitepress-multilingual-cms\/sitepress.php":{"Plugin Slug":"sitepress-multilingual-cms","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPML Multilingual CMS","PluginURI":"https:\/\/wpml.org\/","Version":"4.0.7","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"sitepress-multilingual-cms","DomainPath":"","Network":false,"Title":"WPML Multilingual CMS","AuthorName":"OnTheGoSystems"},"fusion-builder\/fusion-builder.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Fusion Builder","PluginURI":"http:\/\/www.theme-fusion.com","Version":"1.7","Author":"ThemeFusion","AuthorURI":"http:\/\/www.theme-fusion.com","TextDomain":"fusion-builder","DomainPath":"","Network":false,"Title":"Fusion Builder","AuthorName":"ThemeFusion"},"fusion-core\/fusion-core.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"Fusion Core","PluginURI":"http:\/\/theme-fusion.com","Version":"3.7","Author":"ThemeFusion","AuthorURI":"http:\/\/theme-fusion.com","TextDomain":"fusion-core","DomainPath":"","Network":false,"Title":"Fusion Core","AuthorName":"ThemeFusion"},"woocommerce-multilingual\/wpml-woocommerce.php":{"Plugin Slug":"","WC requires at least":"2.1.0","WC tested up to":"3.4.5","Woo":"","Name":"WooCommerce Multilingual","PluginURI":"http:\/\/wpml.org\/documentation\/related-projects\/woocommerce-multilingual\/","Version":"4.3.6","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"woocommerce-multilingual","DomainPath":"","Network":false,"Title":"WooCommerce Multilingual","AuthorName":"OnTheGoSystems"},"woocommerce\/woocommerce.php":{"Plugin Slug":"","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WooCommerce","PluginURI":"https:\/\/woocommerce.com\/","Version":"3.4.6","Author":"Automattic","AuthorURI":"https:\/\/woocommerce.com","TextDomain":"woocommerce","DomainPath":"\/i18n\/languages\/","Network":false,"Title":"WooCommerce","AuthorName":"Automattic"},"wpml-string-translation\/plugin.php":{"Plugin Slug":"wpml-string-translation","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPML String Translation","PluginURI":"https:\/\/wpml.org\/","Version":"2.8.7","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-string-translation","DomainPath":"","Network":false,"Title":"WPML String Translation","AuthorName":"OnTheGoSystems"},"wpml-translation-management\/plugin.php":{"Plugin Slug":"wpml-translation-management","WC requires at least":"","WC tested up to":"","Woo":"","Name":"WPML Translation Management","PluginURI":"https:\/\/wpml.org\/","Version":"2.6.7","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-translation-management","DomainPath":"","Network":false,"Title":"WPML Translation Management","AuthorName":"OnTheGoSystems"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Avada Child","ThemeURI":false,"Author":"ThemeFusion","AuthorURI":"https:\/\/theme-fusion.com","Template":"Avada","Version":"1.0.0","TextDomain":"Avada","DomainPath":"","ParentName":"Avada"},"extra-debug":{"WMPL":{"hide_upgrade_notice":"3.9.4","icl_capabilities_verified":true,"interview_translators":1,"existing_content_language_verified":1,"language_negotiation_type":"1","theme_localization_type":3,"icl_lso_link_empty":0,"sync_page_ordering":1,"sync_page_parent":1,"sync_page_template":1,"sync_ping_status":1,"sync_comment_status":1,"sync_sticky_flag":1,"sync_password":1,"sync_private_flag":1,"sync_post_format":1,"sync_delete":1,"sync_delete_tax":1,"sync_post_taxonomies":1,"sync_post_date":0,"sync_taxonomy_parents":0,"translation_pickup_method":0,"notify_complete":1,"translated_document_status":1,"remote_management":0,"auto_adjust_ids":1,"alert_delay":0,"promote_wpml":0,"automatic_redirect":0,"remember_language":24,"icl_lang_sel_copy_parameters":"","translated_document_page_url":"auto-generate","sync_comments_on_duplicates ":0,"seo":{"head_langs":1,"canonicalization_duplicates":1,"head_langs_priority":1},"posts_slug_translation":{"on":1,"string_name_migrated":true,"types":{"product":1}},"urls":{"directory_for_default_language":0,"show_on_root":"","root_html_file_path":"","root_page":0,"hide_language_switchers":1},"xdomain_data":"1","custom_posts_sync_option":{"post":1,"page":1,"themefusion_elastic":1,"slide":1,"layerslider":1,"revslider":1,"avada_faq":1,"avada_portfolio":1,"product":2,"product_variation":1,"shop_coupon":0,"shop_order":0,"attachment":1,"fusion_element":1},"taxonomies_sync_option":{"category":"2","post_tag":"1","portfolio_category":1,"faq_category":1,"portfolio_skills":1,"portfolio_tags":1,"themefusion_es_groups":1,"slide-page":1,"product_cat":"2","product_tag":1,"product_type":0,"shop_order_status":0,"product_visibility":0,"product_shipping_class":1,"pa_accu-cappaciteit":"1","pa_roestwerende-ketting":"1","pa_slot-insteekketting":"1","pa_tassen":"1","pa_verende-zadelpen":"1","pa_toptas-kleur":"1","translation_priority":1,"element_category":"0","template_category":"0","pa_middenmotor":1,"pa_spaken":1,"pa_wielgrootte":1,"pa_instap":1,"pa_motor":1,"pa_prijs":1,"pa_kleuren":1,"pa_geschikt-voor-type-fiets":1},"active_languages":["en","de","nl"],"admin_default_language":"_default_","taxonomy_names_checked":true,"setup_complete":1,"ajx_health_checked":true,"default_categories":{"nl":"1","de":28,"en":29},"default_language":"nl","setup_wizard_step":4,"translation-management":{"custom_fields_translation":{"title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":0,"_wp_attached_file":0,"_wp_attachment_image_alt":2,"_product_addons":2,"_product_addons_exclude_global":1,"avada_post_views_count":3,"pyre_address":3,"pyre_caption_1":3,"pyre_caption_2":3,"pyre_copy_url":2,"pyre_copy_url_text":2,"pyre_displayed_menu":3,"pyre_display_copyright":3,"pyre_display_footer":3,"pyre_display_header":3,"pyre_elasticslider":3,"pyre_email":3,"pyre_fallback":3,"pyre_fimg_height":3,"pyre_fimg_width":3,"pyre_flexslider":3,"pyre_full_width":3,"pyre_gmap":3,"pyre_header_bg":3,"pyre_header_bg_color":3,"pyre_header_bg_full":3,"pyre_header_bg_repeat":3,"pyre_hundredp_padding":3,"pyre_image_rollover_icons":3,"pyre_link_icon_target":3,"pyre_link_icon_url":2,"pyre_main_bottom_padding":3,"pyre_main_top_padding":3,"pyre_overall_score":3,"pyre_page_bg":3,"pyre_page_bg_color":3,"pyre_page_bg_full":3,"pyre_page_bg_layout":3,"pyre_page_bg_repeat":3,"pyre_page_title":3,"pyre_page_title_bar_bg":3,"pyre_page_title_bar_bg_color":3,"pyre_page_title_bar_bg_full":3,"pyre_page_title_bar_bg_retina":3,"pyre_page_title_bg_parallax":3,"pyre_page_title_custom_subheader":3,"pyre_page_title_custom_text":2,"page_title_text_size":3,"page_title_text_alignment":3,"page_title_custom_subheader_text_size":3,"page_title_breadcrumbs_search_bar":3,"pyre_page_title_text":3,"pyre_phone":3,"pyre_portfolio_category":3,"pyre_portfolio_excerpt":3,"pyre_portfolio_filters":3,"pyre_portfolio_full_width":3,"pyre_portfolio_sidebar_position":3,"pyre_portfolio_width_100":3,"pyre_project_desc_title":3,"pyre_project_details":3,"pyre_project_url":3,"pyre_project_url_text":2,"pyre_related_posts":3,"pyre_revslider":3,"pyre_show_first_featured_image":3,"pyre_sidebar":3,"pyre_sidebar_position":3,"pyre_slider":3,"pyre_slider_position":3,"pyre_slider_type":3,"pyre_transparent_header":3,"pyre_video":2,"pyre_video_url":2,"pyre_wide_page_bg":3,"pyre_wide_page_bg_color":3,"pyre_wide_page_bg_full":3,"pyre_wide_page_bg_repeat":3,"pyre_width":3,"pyre_wooslider":3,"sbg_selected_sidebar":3,"sbg_selected_sidebar_replacement":3,"sbg_selected_sidebar_2":3,"sbg_selected_sidebar_2_replacement":3,"slide_template":3,"pyre_avada_rev_styles":3,"pyre_footer_100_width":3,"pyre_header_100_width":3,"pyre_page_title_100_width":3,"pyre_page_title_breadcrumbs_search_bar":3,"pyre_page_title_text_alignment":3,"pyre_heading":2,"pyre_caption":2,"pyre_type":3,"pyre_content_alignment":3,"pyre_webm":3,"pyre_mp4":3,"pyre_ogv":3,"pyre_preview_image":3,"pyre_video_bg_color":3,"pyre_mute_video":3,"pyre_autoplay_video":3,"pyre_loop_video":3,"pyre_hide_video_controls":3,"pyre_youtube_id":2,"pyre_aspect_ratio":3,"pyre_video_display":3,"pyre_vimeo_id":2,"pyre_heading_font_size":3,"pyre_heading_color":3,"pyre_heading_bg":3,"pyre_heading_bg_color":3,"pyre_caption_font_size":3,"pyre_caption_color":3,"pyre_caption_bg":3,"pyre_caption_bg_color":3,"pyre_link_type":3,"pyre_button_1":2,"pyre_button_2":2,"pyre_slide_link":3,"pyre_slide_target":3,"_backorders":1,"_crosssell_ids":2,"_default_attributes":0,"_download_limit":1,"_download_expiry":1,"_download_type":1,"_downloadable":1,"_file_paths":2,"_downloadable_files":2,"_featured":1,"_manage_stock":1,"_sku":1,"_stock":1,"_stock_status":1,"_sold_individually":1,"_subscription_length":1,"_subscription_period":1,"_subscription_period_interval":1,"_subscription_price":1,"_subscription_sign_up_fee":1,"_subscription_trial_length":1,"_subscription_trial_period":1,"_tax_class":1,"_tax_status":1,"_upsell_ids":2,"_virtual":1,"_visibility":1,"_weight":1,"_width":1,"_height":1,"_length":1,"_woocommerce_exclude_image":1,"total_sales":1,"_product_url":2,"_button_text":2,"_purchase_note":2,"_wcml_custom_prices_status":0,"_min_price_variation_id":0,"_min_regular_price_variation_id":0,"_min_sale_price_variation_id":0,"_max_price_variation_id":0,"_max_regular_price_variation_id":0,"_max_sale_price_variation_id":0,"attr_label_translations":0,"_per_product_pricing_active":1,"_pricing_rules":1,"_regular_price":1,"_sale_price":1,"_price":1,"_min_variation_regular_price":1,"_min_variation_sale_price":1,"_min_variation_price":1,"_max_variation_regular_price":1,"_max_variation_sale_price":1,"_max_variation_price":1,"_sale_price_dates_from":1,"_sale_price_dates_to":1,"_wcml_schedule":1,"_variation_description":2,"wcml_sync_hash":0,"wpml_language":0,"_product_attributes":0,"_children":2,"_wpml_media_duplicate":1,"_wpml_media_featured":1,"_regular_price_EUR":0,"_sale_price_EUR":0,"_price_EUR":0,"_min_variation_regular_price_EUR":0,"_min_variation_sale_price_EUR":0,"_min_variation_price_EUR":0,"_max_variation_regular_price_EUR":0,"_max_variation_sale_price_EUR":0,"_max_variation_price_EUR":0,"_sale_price_dates_from_EUR":0,"_sale_price_dates_to_EUR":0,"_wcml_schedule_EUR":0,"_subscription_limit":1,"pyre_post_links_target":3,"pyre_share_box":3,"pyre_post_pagination":3,"pyre_author_info":3,"pyre_post_meta":3,"pyre_header_bg_opacity":3,"pyre_sidebar_sticky":3,"pyre_sidebar_bg_color":3,"pyre_page_title_text_size":3,"pyre_page_title_line_height":3,"pyre_page_title_custom_subheader_text_size":3,"pyre_page_title_font_color":3,"pyre_page_title_height":3,"pyre_page_title_mobile_height":3,"pyre_page_title_bar_borders_color":3,"kd_featured-image-2_post_id":3,"kd_featured-image-3_post_id":3,"kd_featured-image-4_post_id":3,"kd_featured-image-5_post_id":3,"_yoast_wpseo_title":2,"_yoast_wpseo_bctitle":2,"_yoast_wpseo_metadesc":2,"_yoast_wpseo_metakeywords":2,"_yoast_wpseo_focuskw":2,"_yoast_wpseo_meta-robots-noindex":1,"_yoast_wpseo_meta-robots-nofollow":1,"_yoast_wpseo_meta-robots-adv":1,"_yoast_wpseo_canonical":0,"_yoast_wpseo_redirect":0,"_yoast_wpseo_opengraph-description":2,"_yoast_wpseo_google-plus-description":2,"_yoast_wpseo_twitter-title":2,"_yoast_wpseo_twitter-description":2,"_yoast_wpseo_opengraph-title":2,"_yoast_wpseo_opengraph-image":3,"_yoast_wpseo_twitter-image":3},"custom_fields_readonly_config":{"0":"title","1":"description","2":"keywords","3":"_edit_last","4":"_edit_lock","5":"_wp_page_template","6":"_wp_attachment_metadata","7":"original_post_id","8":"_wpml_original_post_id","9":"_wp_old_slug","10":"_icl_translator_note","11":"_alp_processed","12":"_pingme","13":"_encloseme","14":"_icl_lang_duplicate_of","15":"_thumbnail_id","16":"_wp_attached_file","17":"_wp_attachment_image_alt","18":"_backorders","19":"_crosssell_ids","20":"_default_attributes","21":"_download_limit","22":"_download_expiry","23":"_download_type","24":"_downloadable","25":"_file_paths","26":"_downloadable_files","27":"_featured","28":"_manage_stock","29":"_sku","30":"_stock","31":"_stock_status","32":"_sold_individually","33":"_subscription_length","34":"_subscription_period","35":"_subscription_period_interval","36":"_subscription_price","37":"_subscription_sign_up_fee","38":"_subscription_trial_length","39":"_subscription_trial_period","40":"_tax_class","41":"_tax_status","42":"_upsell_ids","43":"_virtual","44":"_visibility","45":"_weight","46":"_width","47":"_height","48":"_length","49":"_woocommerce_exclude_image","50":"total_sales","51":"_product_url","52":"_button_text","53":"_purchase_note","54":"_wcml_custom_prices_status","55":"_min_price_variation_id","56":"_min_regular_price_variation_id","57":"_min_sale_price_variation_id","58":"_max_price_variation_id","59":"_max_regular_price_variation_id","60":"_max_sale_price_variation_id","61":"attr_label_translations","62":"_per_product_pricing_active","63":"_pricing_rules","64":"_regular_price","65":"_sale_price","66":"_price","67":"_min_variation_regular_price","68":"_min_variation_sale_price","69":"_min_variation_price","70":"_max_variation_regular_price","71":"_max_variation_sale_price","72":"_max_variation_price","73":"_sale_price_dates_from","74":"_sale_price_dates_to","75":"_wcml_schedule","76":"_variation_description","77":"wcml_sync_hash","78":"wpml_language","79":"_product_attributes","80":"_children","81":"_subscription_limit","82":"avada_post_views_count","83":"pyre_address","84":"pyre_caption_1","85":"pyre_caption_2","86":"pyre_copy_url","87":"pyre_copy_url_text","88":"pyre_displayed_menu","89":"pyre_display_copyright","90":"pyre_display_footer","91":"pyre_display_header","92":"pyre_elasticslider","93":"pyre_email","94":"pyre_fallback","95":"pyre_fimg_height","96":"pyre_fimg_width","97":"pyre_flexslider","98":"pyre_full_width","99":"pyre_gmap","100":"pyre_header_bg","101":"pyre_header_bg_color","102":"pyre_header_bg_full","103":"pyre_header_bg_repeat","104":"pyre_hundredp_padding","105":"pyre_image_rollover_icons","106":"pyre_link_icon_target","107":"pyre_link_icon_url","108":"pyre_main_bottom_padding","109":"pyre_main_top_padding","110":"pyre_overall_score","111":"pyre_page_bg","112":"pyre_page_bg_color","113":"pyre_page_bg_full","114":"pyre_page_bg_layout","115":"pyre_page_bg_repeat","116":"pyre_page_title","117":"pyre_page_title_bar_bg","118":"pyre_page_title_bar_bg_color","119":"pyre_page_title_bar_bg_full","120":"pyre_page_title_bar_bg_retina","121":"pyre_page_title_bg_parallax","122":"pyre_page_title_custom_subheader","123":"pyre_page_title_custom_text","124":"page_title_text_size","125":"page_title_text_alignment","126":"page_title_custom_subheader_text_size","127":"page_title_breadcrumbs_search_bar","128":"pyre_page_title_text","129":"pyre_phone","130":"pyre_portfolio_category","131":"pyre_portfolio_excerpt","132":"pyre_portfolio_filters","133":"pyre_portfolio_full_width","134":"pyre_portfolio_sidebar_position","135":"pyre_portfolio_width_100","136":"pyre_project_desc_title","137":"pyre_project_details","138":"pyre_project_url","139":"pyre_project_url_text","140":"pyre_related_posts","141":"pyre_revslider","142":"pyre_show_first_featured_image","143":"pyre_sidebar","144":"pyre_sidebar_position","145":"pyre_slider","146":"pyre_slider_position","147":"pyre_slider_type","148":"pyre_transparent_header","149":"pyre_video","150":"pyre_video_url","151":"pyre_wide_page_bg","152":"pyre_wide_page_bg_color","153":"pyre_wide_page_bg_full","154":"pyre_wide_page_bg_repeat","155":"pyre_width","156":"pyre_wooslider","157":"sbg_selected_sidebar","158":"sbg_selected_sidebar_replacement","159":"sbg_selected_sidebar_2","160":"sbg_selected_sidebar_2_replacement","161":"slide_template","162":"pyre_avada_rev_styles","163":"pyre_footer_100_width","164":"pyre_header_100_width","165":"pyre_page_title_100_width","166":"pyre_page_title_breadcrumbs_search_bar","167":"pyre_page_title_text_alignment","169":"pyre_heading","170":"pyre_caption","171":"pyre_type","172":"pyre_content_alignment","173":"pyre_webm","174":"pyre_mp4","175":"pyre_ogv","176":"pyre_preview_image","177":"pyre_video_bg_color","178":"pyre_mute_video","179":"pyre_autoplay_video","180":"pyre_loop_video","181":"pyre_hide_video_controls","182":"pyre_youtube_id","183":"pyre_aspect_ratio","184":"pyre_video_display","185":"pyre_vimeo_id","186":"pyre_heading_font_size","187":"pyre_heading_color","188":"pyre_heading_bg","189":"pyre_heading_bg_color","190":"pyre_caption_font_size","191":"pyre_caption_color","192":"pyre_caption_bg","193":"pyre_caption_bg_color","194":"pyre_link_type","195":"pyre_button_1","196":"pyre_button_2","197":"pyre_slide_link","198":"pyre_slide_target","199":"pyre_post_links_target","200":"pyre_share_box","201":"pyre_post_pagination","202":"pyre_author_info","203":"pyre_post_meta","204":"pyre_header_bg_opacity","205":"pyre_sidebar_sticky","206":"pyre_sidebar_bg_color","207":"pyre_page_title_text_size","208":"pyre_page_title_line_height","209":"pyre_page_title_custom_subheader_text_size","210":"pyre_page_title_font_color","211":"pyre_page_title_height","212":"pyre_page_title_mobile_height","213":"pyre_page_title_bar_borders_color","214":"kd_featured-image-2_post_id","215":"kd_featured-image-3_post_id","216":"kd_featured-image-4_post_id","217":"kd_featured-image-5_post_id"},"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":1,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":["title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_backorders","_crosssell_ids","_default_attributes","_download_limit","_download_expiry","_download_type","_downloadable","_file_paths","_downloadable_files","_featured","_manage_stock","_sku","_stock","_stock_status","_sold_individually","_subscription_length","_subscription_period","_subscription_period_interval","_subscription_price","_subscription_sign_up_fee","_subscription_trial_length","_subscription_trial_period","_tax_class","_tax_status","_upsell_ids","_virtual","_visibility","_weight","_width","_height","_length","_woocommerce_exclude_image","total_sales","_product_url","_button_text","_purchase_note","_wcml_custom_prices_status","_min_price_variation_id","_min_regular_price_variation_id","_min_sale_price_variation_id","_max_price_variation_id","_max_regular_price_variation_id","_max_sale_price_variation_id","attr_label_translations","_per_product_pricing_active","_pricing_rules","_regular_price","_sale_price","_price","_min_variation_regular_price","_min_variation_sale_price","_min_variation_price","_max_variation_regular_price","_max_variation_sale_price","_max_variation_price","_sale_price_dates_from","_sale_price_dates_to","_wcml_schedule","_variation_description","wcml_sync_hash","wpml_language","_product_attributes","_children","_subscription_limit"],"__custom_term_fields_readonly_config_prev":[],"custom_term_fields_readonly_config":[],"taxonomies_readonly_config":{"translation_priority":1,"product_tag":1,"product_type":0,"shop_order_status":0,"product_visibility":0,"product_shipping_class":1,"portfolio_category":1,"faq_category":1,"portfolio_skills":1,"portfolio_tags":1,"themefusion_es_groups":1,"slide-page":1},"custom-types_readonly_config":{"attachment":1,"product_variation":1,"shop_coupon":0,"shop_order":0,"themefusion_elastic":1,"slide":1,"layerslider":1,"revslider":1,"avada_faq":1,"avada_portfolio":1,"fusion_element":1},"notification":{"new-job":1,"include_xliff":0,"completed_frequency":3,"completed":1,"resigned":1,"overdue":2,"overdue_offset":7,"dashboard":true,"purge-old":7}},"custom-types_sync_option":{"themefusion_elastic":1,"slide":1,"layerslider":1,"revslider":1,"avada_faq":1,"avada_portfolio":1,"product":1,"product_variation":1,"shop_coupon":0,"shop_order":0,"attachment":1,"fusion_element":1},"language_selector_initialized":1,"languages_order":["nl","en","de"],"dont_show_help_admin_notice":true,"site_does_not_use_icl":true,"st":{"WPML_ST_Upgrade_Migrate_Originals_has_run":true,"WPML_ST_Upgrade_Db_Cache_Command_2.4.2_1_has_run":true,"WPML_ST_Upgrade_Display_Strings_Scan_Notices_has_run":true,"WPML_ST_Upgrade_MO_Scanning_3_has_run":true,"WPML_ST_Upgrade_DB_String_Name_Index_2_has_run":true,"WPML_ST_Upgrade_DB_Longtext_String_Value_has_run":true,"strings_per_page":"100","icl_st_auto_reg":"disable","strings_language":"en","translated-users":[],"db_ok_for_gettext_context":true,"sw":[],"plugin_localization_domains":{"woocommerce\/woocommerce.php":{"woocommerce":5580,"WordPress":3},"sitepress-multilingual-cms\/sitepress.php":{"sitepress":1230,"installer":1218},"wpml-string-translation\/plugin.php":{"wpml-string-translation":430},"wpml-media-translation\/plugin.php":{"wpml-media":168},"wpml-translation-management\/plugin.php":{"wpml-translation-management":908},"woocommerce-multilingual\/wpml-woocommerce.php":{"woocommerce-multilingual":814,"installer":1217},"contact-form-7\/wp-contact-form-7.php":{"contact-form-7":344},"mollie-payments-for-woocommerce\/mollie-payments-for-woocommerce.php":{"mollie-payments-for-woocommerce":203},"woocommerce-pdf-invoices-packing-slips\/woocommerce-pdf-invoices-packingslips.php":{"woocommerce-pdf-invoices-packing-slips":193},"wp-fastest-cache\/wpFastestCache.php":{"wp-fastest-cache":25},"velvet-blues-update-urls\/velvet-blues-update-urls.php":{"velvet-blues-update-urls":50},"popups\/popups.php":{"popups":253},"webwinkelkeur\/webwinkelkeur.php":{"webwinkelkeur":25},"wp-smushit\/wp-smush.php":{"wp-smushit":227},"wp-mail-logging\/wp-mail-logging.php":{"redux-framework":188},"email-log\/email-log.php":{"email-log":74},"duplicator\/duplicator.php":{"duplicator":463},"widget-logic\/widget_logic.php":{"widget-logic":34},"wordpress-seo\/wp-seo.php":{"wordpress-seo":1231}},"WPML_ST_Upgrade_DB_String_Packages_Word_Count_has_run":true,"WPML_ST_Upgrade_DB_Strings_Add_Translation_Priority_Field_has_run":true,"lang_of_domain":{"woocommerce":"en"},"theme_localization_domains":{"twentyseventeen":{"twentyseventeen":75}}},"admin_text_3_2_migration_complete_40cd750bba9870f18aada2478b24840a":true,"admin_text_3_2_migration_complete_c158da691d85a491f39d2b315dfe1cd6":true,"admin_text_3_2_migration_complete_21016c193164db5f804825833283c96b":true,"xliff_newlines":1,"tm_xliff_version":"12","custom_posts_unlocked_option":{"product":1},"taxonomies_unlocked_option":{"product_cat":"1","category":"0","post_tag":"0","product_type":"0","product_visibility":"0","product_tag":"0","product_shipping_class":"0","pa_toptas-kleur":"0","translation_priority":"0","portfolio_category":"0","portfolio_skills":"0","portfolio_tags":"0","faq_category":"0","themefusion_es_groups":"0","slide-page":"0","element_category":"0","template_category":"0"},"show_translations_flag":1,"language_per_domain_sso_enabled":false,"store_frontend_cookie":"1","admin_text_3_2_migration_complete_3551547f2cb80db929ade56dd973137c":true,"tm_block_retranslating_terms":1,"display_featured_image_as_translated":true,"just_reactivated":0,"admin_text_3_2_migration_complete_5e4e66b4867c82c3618c336fe165acb0":true,"doc_translation_method":1,"WPML_Translate_Link_Target_Global_State":true,"admin_text_3_2_migration_complete_0430e010fae792749ff15df5b71def1c":true,"sync_comments_on_duplicates":0,"admin_text_3_2_migration_complete_a335c8f2b4e85f09d65592657539a19e":true}}}

October 12, 2018 at 11:31 am #2811745

brianK-8

Forgot to add this:

Subdomain is at hidden link

October 15, 2018 at 6:45 pm #2818536

Cristina

Hello Brian,

as Shekhar was not available today, I have taken this thread on his behalf.

Thanks for the debug information, I see that the theme is Avada, that is fully compatible with WPML and WooCommerce.

I just checked on an Avada Test install, and the featured products are shown on all homepages when the associated products have been marked as "featured" products.

I am not sure if the taxonomy or term "featured" has to be translated or should keep the same literal, as in some themes the filter looks for the term "featured".

So I am setting up locally an Avada test install to look this up and see how it has to be, so I can share the how-to with you and check for possible expections here.

Kind regards,
Cristina

October 16, 2018 at 3:22 pm #2821532

Cristina

Hello Brian,

I checked this on Avada with WooCommerce and WPML, and this is the usual way to set this up:

There is a WooCommerce Shortcode to show the featured products on any Avada Page like this, where you can define how to order the featured products and how many you want to show or in how many columns they should appear:

[featured_products per_page=”12″ columns=”3″ orderby=”date” order=”desc”]
[featured_products per_page=”4″ columns=”4″ orderby=”date” order=”desc”]
[featured_products per_page=”3″ columns=”3″ orderby=”date” order=”desc”]

Once you have defined a product as featured product, if you use WooCommerce Multilingual to translate the products with the Translation Editor, the value to be "featured" is copied to the translation by default.

Even if you set a product in original language as featured product using the WooCoommerce Checkbox in the Quick Edit for this, the translation will become a featured product too by default.

The custom field that controls this is the taxonomy term "product_visibility" and it is by default not translatable-

It is important that this term "featured" is not translated, as the featured products are called by using the term and for that it has to be the same for all languages.

You can look this up in WPML > Settings > Taxonomy Translation. The field "product_visibility" has to be defined as "not translated".

If you update the products and translations for featured products with this settings, the status "featured" will be assigned again to the translated products, which will make them appear in all languages.

If for any reason this is changed that featured state will not be recognised. If you have translated this term you should delete that term from your translations and update the products.

You may also get a warning about this in the admin area indicating the the field "product_type" is not synced correctly in some translations.

In that case follow the link of the warning, which will lead to you the troubleshooting page in WooCommerce Multilingual and then click on the button to fix the product_type taxonomies. This will fix the featured products' status.

You can also use the troubleshooting options in WPML > Support >Troubleshooting to synchronize again the taxonomies for products, posts and pages and clear the WPML cache.

You can look up the status of the translated products also manually by going to WooCommerce > Products and looking at products list, then change the language with the flag in the top admin bar and check if the star that marks a featured product is activated. You can correct this also here if there are too many products.

You will find some documentation about this here:
hidden link
hidden link

Kind regards,
Cristina

The topic ‘[Closed] [featured_products] shortcode doesn't work with other languages’ is closed to new replies.