taimerlan
Forum Replies Created
-
Import/Export Keywords not worked for products (woocommerce)
Hello,
Doesn’t quite work for me, as I understand to enter these words Car, Cars, I need to use GAP Car{-5} ?Forum: Plugins
In reply to: [Export any WordPress data to XML/CSV] WP All Export Variation FilterHello @wpallimport
Of course, I turn on Only export product variations. But the fact is that the filter reacts only to the parent product, the modification is not affected at all. Even if you use variation ID filtering. Perhaps this is looks like a bug.Forum: Plugins
In reply to: [YML for Yandex Market] Несколько категорийСпасибо за наводку. Получилось)
Forum: Plugins
In reply to: [WP CDNjs Reborn] Is it replacing scripts or just adding themIt just place it. But work fine.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Category with attribute (like brand) in BreadcrumbHi John. Thanks for reply.
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } global $post; if ( ! empty( $breadcrumb ) ) { echo $wrap_before; foreach ( $breadcrumb as $key => $crumb ) { echo $before; if ( ! empty( $crumb[1] ) && sizeof( $breadcrumb ) !== $key + 1 ) { echo '<a href="' . esc_url( $crumb[1] ) . '">' . esc_html( $crumb[0] ) . '</a>'; } else { // check that we are on the product page if ( is_singular('product') ) { // get the attribute $post_brand = wc_get_product_terms( $post->ID, 'pa_brand', array( 'fields' => 'all' ) ); if ($post_brand) { // get the attribute object $post_brand = $post_brand[0]; // get the previous link in crumbs $bread_prev = array_slice($breadcrumb, -2, 1); // add name and link to the brand echo '<a href="' . esc_url( $bread_prev[0][1] ) . '/?pa_brand=' . $post_brand->slug .'">' . esc_html( $bread_prev[0][0] ) . ' ' . $post_brand->name . '</a>'; echo $delimiter; } } echo esc_html( $crumb[0] ); } echo $after; if ( sizeof( $breadcrumb ) !== $key + 1 ) { echo $delimiter; } } echo $wrap_after; }
That’s what I managed to get with standard woocommerce breadcrumbs.
Perhaps this will help you.
Best regards,
Artem- This reply was modified 7 years ago by taimerlan.
Forum: Plugins
In reply to: [Russian Post and EMS for WooCommerce] Ошибка gzinflateСпасибо!)
Прочел информацию по API,
Нужно строку поменять $Response=gzinflate(substr($Response,10,-8)); на $Response=gzinflate(substr($Response,10,-1));Не поделитесь пожалуйста обновленным вариантом?)