Home Page › Forums › Porto | Multi-Purpose & WooCommerce Theme › Feature Request › Reply To: Feature Request
Hello,
Would you consider adding “Cross Sells” as an option for the “Linked Products” Elementor element?
You already have “related” and “upsells”, “cros sells” would be a good addition to allow for a facility to show “You may also be interested in…” products.
Within porto-functionality/builders/elements/products/elementor/linked.php, adding the below at line 164 will provide the option within Elementor:
‘crossell’ => esc_html__( ‘Cross Sell Products’, ‘porto-functionality’ ),
Within porto-functionality/shortcodes/templates/porto_posts_grid.php, adding the below at line 321 will complete the rendering:
} elseif ( ‘crossell’ == $linked_product ) { // Cros sell products
$product_ids = $product->get_cross_sell_ids();
Thank you!