Get related products based on product category and tags.
Хуков нет.
Возвращает
Массив.
Использование
wc_get_related_products( $product_id, $limit, $exclude_ids );
- $product_id(число) (обязательный)
- Product ID.
- $limit(число)
- Limit of results.
По умолчанию:5
- $exclude_ids(массив)
- Exclude IDs from the results.
По умолчанию:array()
Код wc_get_related_products: woocommerce/includes/wc-product-functions.php
VER 3.5.1
wp-kama.ru
This addon will help you configure related products. Related products could be useful when you have many products with similar characteristics so customer can easily find the most suitable ones. It also configures a product and its accessories. In other words this is #1 Cross selling tool for CS-Cart.
This also could be achieved using blocks. But the main difference is that the add-on creates bidirectional/cross links. So if you link product A to product B, product B will be linked to A automatically.
Compatible with ALL CS-Cart versions (v2.x.x, v3.0.x, v4.x.x)
See the Extended version of this add-on: Related Products Pro
FEATURES
- easy to use cross-selling tool for CS-Cart;
- two modes that allow linking analogue products: «Bi-directional» & «Cross-linked»;
- no need to connect related products to each other manually;
- ability to use «Grid», «List without options» & «Compact list» product list layouts.
HOW TO INSTALL
1. Copy the entire content of the archive to the directory with installed cs-cart store
2. In the admin area go to the add-ons list and click install «Related products» add-on
3. Configure the add-on, select a product list template to display analogues
4. On the product detailed page go to tab: «Related products», pick the related products and click «Save»
5. Now you will see the «Related» tab on the product detailed page in the storefront.
FAQ
«I can do this using blocks, why do I need this addon?»
— This addon sets bidirectional links between products. So if you set the product B to be related for product A, then product A will be set as related for product B automatically.
«What does «Select the product links type» option mean?»
— This option allows you to select between these two link types. First one is cross-linked so if you add product B, C, D to A as related then each of these products will have three others as related. The other one is bi-directional, so you will have only product A as related for B, C, D
«Why is the related tab not displayed in the customer area?»
— Try to clear cache. For more details please go to: http://forum.cs-cart.com/topic/9735-clear-template…
marketplace.cs-cart.com
How can I set specific related products?
Custom Related Products for WooCommerce is a free plugin available in the WordPress.org plugin repo. You can download this directly from your site and activate it with a few clicks. Once installed and active you should see a new Related Products field in your products Linked Products tab.
With the plugin activated you can now begin manually setting related products for your shop items. Once you type three letters the text field will provide a drop down to select the products you’d like to show up.
Using this text field select all the products you’d like to show up as related. Once you’ve selected the products you can save, or update, the product to commit the changes. It’s really that easy to manage once you have the plugin installed.
TAKEAWAY
Running your own eCommerce store can be a very fulfilling experience, setting up and customizing that store can be another story. Picking the right eCommerce solution and hosting platform is a big deal though. If you go with a less common solution you’re gonna have less knowledge resources when it comes to customizing your store.
When you choose WooCommerce, you’re choosing a store platform that powers 42% of all eCommerce stores. That’s kinda a big deal – it means that if you want to try something custom, someone else may have a solution already. With such a huge, and active, community there’s no doubt WooCommerce is a great choice. When paired with a great host choosing WooCommerce becomes a no-brainer.
www.liquidweb.com
Related Products, Up-sells, and Cross-sells are a powerful tool in Magento. Do you find yourself spending a lot of time managing Product Relationships for your business? You release a new product and now you need to go to multiple other products and add the new Product Relationship. Related Products Rules can save a lot of time and effort spent managing your businesses’ Related Products, Up-sells, and Cross-sells on your B2C or B2B eCommerce website. Want to cross-sell socks with shoes? You can create a Related Products Rule and viola you are done. No more Relating Products item by item – now that time can be spent growing your business!
Tutorial: Creating and Using Related Products Rules in Magento 2
Steps for Creating Related Products Rules in Magento 2
Create a simple “Related Product” Related Products Rule between Categories
- Open Magento Admin
- Navigate to Marketing -> Promotions -> Related Products Rules
- Select Add Rule
- Enter Rule Information: Rule Name, Priority, Status (Active), Apply To (Related Products), From, To, Result Limit (Max # to show on Product Detail Page), Customer Segments
- Enter Products to Match: Add Conditions for Products that will Use this Rule for Display on the Product Detail Page. In our tutorial, we selected the “Bag” Category
- Enter Products to Display: Add Conditions for Products that will be displayed on the Product Detail Page (for Products that Match). that will Use this Rule for Display on the Product Detail Page. In our tutorial, we selected the “Same as Matched Product Category”
- Select Save
- Navigate to your Website and refresh the Product Detail Page that matches your selected Related Products Rule
- Optional Step: Clear Cache
If you want to create rules for Cross-sells or Up-sells you would follow the same steps. You can create simple rules like we showed you or create more complex rules based on attribute combinations and priorities – it is really up to your business needs. You can also still apply Related Products, Up-sells, and Cross-sells directly to Magento Products but in our experience this capability is going to be very useful to many business owners.
Please reach out if you have any questions on Magento 2 Related Products Rules.
www.bluefishgroup.com
slovar-vocab.com
Привет ! Мы продолжаем разбирать самые интересные и самые полезные плагины для интернет-магазина Woocommerce ! Сегодня вы узнаете как настроить похожие товары. Вы сможете изменить количество похожих товаров. Вы сможете указать сколько колонок должно быть в блоке «Похожие товары». Вы сможете изменить сортировку похожих товаров. Вы сможете выбрать откуда будут браться похожие товары, категории, метки, атрибуты. Вы сможете скрыть похожие товары и т.д. Очень простой и полезный плагин !
Установить плагин Related Products Manager for WooCommerce вы сможете прямо из админ-панели WordPress. Перейдите на страницу: Плагины — Добавить новый, введите название плагина в форму поиска, нажмите Enter, установите и активируйте плагин.
Далее, после установки и активации плагина, перейдите на страницу: Woocommerce — Настройки — Related Products Manager. Здесь вы сможете настроить основные параметры плагина.
— Related Products Manager, здесь должна стоять галочка, чтобы включить плагин.
— Related Products Number, укажите сколько должно отображаться похожих товаров.
— Related Products Columns, укажите сколько должно быть колонок в блоке «Похожие товары».
— Order by, как сортировать похожие товары, по дате, по заголовку, по мета данным и т.д.
— Meta Key, здесь можно указать ключевые слова, по которым будут выводиться похожие товары. Данный параметр будет работать, если в предыдущем параметре указан вариант — Meta Value или Meta Value (Numeric).
— Order, как отображать похожие товары, по убыванию или по возрастанию.
— Relate by Category, выводить похожие товары по категориям.
— Relate by Tag, выводить похожие товары по меткам.
— Relate by Product Attribute, выводить похожие товары по атрибутам.
— Attribute Type, можно выбрать тип атрибута.
— Attribute Name, можно добавить в поле название своих атрибутов.
— Hide Related Products, вы можете скрыть похожие товары на всех страницах товаров.
— Reset Settings, вы можете сбросить настройки к значениям по умолчанию.
— Сохраните изменения.
Далее, после сохранения изменений, вверху страницы нажмите на кнопку — Clear all products transients, чтобы обновить все похожие товары.
Всё готово ! Теперь похожие товары будут отображаться по вашим настроенным параметрам.
wdfiles.ru
Привет ! Мы продолжаем разбирать самые интересные и самые полезные плагины для интернет-магазина Woocommerce ! Сегодня вы узнаете как настроить похожие товары. Вы сможете изменить количество похожих товаров. Вы сможете указать сколько колонок должно быть в блоке «Похожие товары». Вы сможете изменить сортировку похожих товаров. Вы сможете выбрать откуда будут браться похожие товары, категории, метки, атрибуты. Вы сможете скрыть похожие товары и т.д. Очень простой и полезный плагин !
Установить плагин Related Products Manager for WooCommerce вы сможете прямо из админ-панели WordPress. Перейдите на страницу: Плагины — Добавить новый, введите название плагина в форму поиска, нажмите Enter, установите и активируйте плагин.
Далее, после установки и активации плагина, перейдите на страницу: Woocommerce — Настройки — Related Products Manager. Здесь вы сможете настроить основные параметры плагина.
— Related Products Manager, здесь должна стоять галочка, чтобы включить плагин.
— Related Products Number, укажите сколько должно отображаться похожих товаров.
— Related Products Columns, укажите сколько должно быть колонок в блоке «Похожие товары».
— Order by, как сортировать похожие товары, по дате, по заголовку, по мета данным и т.д.
— Meta Key, здесь можно указать ключевые слова, по которым будут выводиться похожие товары. Данный параметр будет работать, если в предыдущем параметре указан вариант — Meta Value или Meta Value (Numeric).
— Order, как отображать похожие товары, по убыванию или по возрастанию.
— Relate by Category, выводить похожие товары по категориям.
— Relate by Tag, выводить похожие товары по меткам.
— Relate by Product Attribute, выводить похожие товары по атрибутам.
— Attribute Type, можно выбрать тип атрибута.
— Attribute Name, можно добавить в поле название своих атрибутов.
— Hide Related Products, вы можете скрыть похожие товары на всех страницах товаров.
— Reset Settings, вы можете сбросить настройки к значениям по умолчанию.
— Сохраните изменения.
Далее, после сохранения изменений, вверху страницы нажмите на кнопку — Clear all products transients, чтобы обновить все похожие товары.
Всё готово ! Теперь похожие товары будут отображаться по вашим настроенным параметрам.
Остались вопросы ? Напиши комментарий ! Удачи !

info-effect.ru