Questions tagged [cross-sells]

Denotes questions about Magentos cross-sells feature.

Filter by
Sorted by
Tagged with
0 votes
1 answer
119 views

Related Products extend with Cross sell products - Magento 2.4

We use the following method to group related products based on their category: https://bitbucket.org/magstaging/groupedrelatedproduct/src/master/ Works perfect, thanks to Herve, but we want to extend ...
user avatar
  • 1,474
0 votes
2 answers
127 views

How to Remove related products for the particular product with sku or id?

I need to remove All the Related products for the particular product with Id. I referred and got the SQL query to do that. Can this achieve by Model & Resource Model? Any help is appreciated. ...
user avatar
  • 425
0 votes
1 answer
141 views

Magento 2 : How to change the cross sell text in product Edit page

i have overwritten the Related.php file but nothing happen app/code/Vendor/Module/etc/di.xml <preference for="Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Related" type="...
user avatar
2 votes
2 answers
368 views

Magento 2 : which tables is used for Related Products, Up-Sells, and Cross-Sells?

I'm trying to get which table saves the Related Products for items and order-items? Is there any way to know how many items sold by these property. I try to check this table sales_order_item but I don'...
user avatar
0 votes
1 answer
343 views

Move "Cross Selling" products inside the "Related Product" tab in Product Page

I modified the catalog_product_view.xml to created a "Related Product" tab, and show related product in the tab. Also, there is a cross sell section show under Every tab. How do I move the Cross-...
user avatar
0 votes
1 answer
19 views

Attributes not appearing in grids like "add crosssell products" - data migration caused issue

I have a magento site that was created by the official data migration, but recently I added 2 attributes post migration. Today I noticed that the "add related/crossell/upsell" grid displays these two ...
user avatar
  • 1,549
0 votes
1 answer
326 views

How to display only two products as Cross Sell products in cart page Magento 2.3.2?

How to show only 2 products as corss sells in the cart view page, irrespective of the product that gets added to cart. Thanks.
user avatar
0 votes
1 answer
186 views

Changing Title of Crossell's and Gaps Products Block

I implemented the extension development from Crosssell Products on Product Page with Magento 2 on Magento 2.2.0. It is currently running, but there are several modifications needed. The gap between ...
user avatar
1 vote
1 answer
161 views

How can I add a Static Block between Discount and CrossSell

i want to add a block between Apply Discount form and crossell Block on Cart page in magento 2 I have tried this Code but its not working <referenceContainer name="checkout.cart.items"> ...
user avatar
  • 2,029
0 votes
1 answer
37 views

Magento 1 check if any of cross sell items are in stock

How can I check if any of the cross sell items are in stock in our Magento 1 store? I want to load some php if rule, that only display a text line, if any of the cross sell items are in stock. My ...
user avatar
  • 1,474
1 vote
1 answer
84 views

Show random/default cross-sell items in onepage checkout

In Onepage Checkout screen, I want to show default/random cross-sell items if none of the cart items have defined cross-sell items. I mean Onepage checkout screen will always show cross-sell products. ...
user avatar
  • 159
1 vote
2 answers
771 views

Some added products in cross sells not visible in frontend Magento 2

I have added few products in cross-sells but some are visible and some are not visible in the UI(frontend). I referred to a Magento bug that only 2 items were visible in the backend https://github....
user avatar
  • 799
0 votes
2 answers
79 views

Cross-sell products are different in admin panel and UI

I have added cross-sells products for my product in the Admin panel of Magento 2. Still, on UI its shows different product. The helper function for getting cross-sell products is public function ...
user avatar
  • 799
1 vote
0 answers
68 views

Magento 2 - How To Display Cross Sell Products Against Each Line In Basket

I am looking to try and add Cross-Sell products against the specific product they are related to. I understand that currently, the cross-sell products are shown on the cart page in relation to every ...
user avatar
0 votes
0 answers
147 views

Can't import cross-sell when cross-sell sku contains space

In "System, Import/Export, Dataflow Advanced Profiles" I have a profile for importing Cross-sell. It works fine; however when the cross-sell SKU contains space it is not imported. The product itself ...
user avatar
  • 75
1 vote
1 answer
44 views

How to call catalog attributes to extension module's view file phtml

Magento 2.3 The extension sits in app/code/VendorName/ModuleName/ it has etc, view, Block, Controller, Model directories What is the best way to call short_description and selected size ...
user avatar
  • 111
0 votes
1 answer
86 views

How to show catalog attribute in cross-sell in shopping cart which overridden by an Extension module

Magento 2.3 I have an extension's file that overrides my theme's file, which in turn overrides Magento core file. the extension's file app/code/VendorName/ModuleName/view/frontend/templates/product/...
user avatar
  • 111
0 votes
1 answer
219 views

Why default cross sell layout doesn't show anything?

I'm trying to show cross sell on product page anfd I'm using default logic: <block class="Magento\Catalog\Block\Product\ProductList\Crosssell" name="catalog.product.crosssell" template="...
user avatar
0 votes
2 answers
351 views

How to show Cross sell products even if the main product isn't in cart?

I'm using Magento-2.2.6 I am showing cross sell product in product_detailed_info with success. The only problem is that cross sell product are shown only if the "main" product is in cart. How can I ...
user avatar
0 votes
2 answers
2k views

Get Cross sell items in cart page Programmatically in magento2

I am trying to get cross sell products in cart page programmatically. Below code i have used in layout/checkout_cart_index.xml <referenceContainer name="content"> <block class="...
user avatar
  • 1,719
0 votes
1 answer
64 views

Products having associated crossell products should be removed if the main product is removed in magento2.1.7

Products having associated crossell products should also be removed if i remove the main products in magento2.1.7 see my screenshot below.. Here the flower is the main product(ie,simple product) and ...
user avatar
  • 101
1 vote
0 answers
524 views

Fetching all the cross sell product using rest api

Is their any rest api available for fetching all the cross sell product ? By using the below mentioned api we can fetch only cross sell product against a particular sku. But I want all the the ...
user avatar
1 vote
1 answer
106 views

Crosssell Products on Product Pages displaying disabled products - Magento 1

I have a code snippet to display cross-sell products on the product page via catalog/product/view.phtml. It displays the product's cross-sell items, however it also displays disabled products. Can ...
user avatar
0 votes
1 answer
846 views

How to remove More Choices option block from checkout cart page?

Noted that sometimes More Choices block is displayed below update cart button. Also I debugged and found that these are cross sell products of some item which are in the cart. How to remove this cross ...
user avatar
0 votes
1 answer
1k views

Magento 2- How to Import cross sell products with CSV?

I have many products in my Magento2 store. I want to assign one product as cross sell product of all products. Is there any way to assign cross sell product with CSV product import ?
user avatar
1 vote
1 answer
2k views

How to display cross sale products on checkout page Magento 2?

Is it possible to add cross sell products on the checkout page? How can we do that? Any help will be appreciated. Thank you.
user avatar
0 votes
3 answers
508 views

How to modify an existing custom page with product-specific cross-sell products so that it shows generic cross-sell products instead?

Magento 1.9.1 Porto theme Up-selling is the name of the game now (would you like to super-size that?) and that is the goal here...This is by far the most important issue for us right now. I will ...
user avatar
  • 306
1 vote
0 answers
46 views

CROSS SELL PRODUCT LIST

I'm using magento 2.1.9 and trying update cross sell product list. So, where can I update the cross sell number of product on the list?
user avatar
  • 11
0 votes
1 answer
2k views

Magento 2 : Display cross sell products in products details page only for out of stock products:

How to display cross sell products on the products details page for the out of stock products only?
user avatar
  • 305
1 vote
1 answer
426 views

How to set discounts on upsell/crosssell products in magento 1.9

I want to set Discount on a Product which is Up-sell/cross-sell for other product. Example: I am selling the following in my Magento store Blazer $100, Shirt $60 and Pant $80 Blazer is a up-...
user avatar
0 votes
1 answer
2k views

upsell products not showing

<?php if($this->getItemCount()): ?> <div class="crosssell"> <h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></...
user avatar
0 votes
1 answer
176 views

Cross Sell discounts

We want to give discount at the Cross Sell pop-up when customer does an Add to Cart in the PDP page. The cross sell pop should show discount amount and should be applied to the cart. Rule would be: ...
user avatar
2 votes
2 answers
2k views

Increasing/decreasing Cross-sell products limit?

I'm trying to increase the cross-sell products on the cart page up to 5. In Magento-1, this is possible by overriding a checkout block (or changing a var in the core). I've been trying to use ...
user avatar
  • 43
0 votes
1 answer
108 views

How were the related products added to the site?

I am freelancer with a little knowledge of magento. The client gave me the task to determine how were the related products, up-sells and cross-sells added to the site. Can you help me with it? There ...
user avatar
  • 229
3 votes
3 answers
2k views

Magento2: Cross-sell not showing in cart, missing crosssell.phtml file

For some reason, my theme is missing the crosssell.phtml file that shows cross-sell products in the cart. I found out from my Magento2 system.log file; [2017-03-26 21:21:11] main.CRITICAL: ...
user avatar
0 votes
1 answer
47 views

Magento Crossell also include out of stock

I want to include out of stock products, to my cross sell list. Currently only products in stock are displayed. How can I change this, so that out of stock products are included?
user avatar
  • 1,474
0 votes
1 answer
718 views

Sorting Cross-Sell Products in Magento 2.1

If I retrieve the cross-sell products for a particular product: $_product->getCrossSellProductCollection(); How do I sort those products in the same order as the administrator has defined via the ...
user avatar
  • 804
1 vote
1 answer
439 views

How can we get automatic related, up-sell & cross-sell products in magento 1.9 without any extension?

I want to display related, up-sell & cross-sell products generated automatically without using any extension?
user avatar
  • 1,957
1 vote
2 answers
164 views

How to add 6 more cross-sell items to ALL (1000) products at the same time?

I am using Magento 1.9.1 version I have 1000 products in my store. Is there a script or something that I can run in order to add let's say 6 extra cross-sell products to ALL 1000 products? I don't ...
user avatar
  • 306
1 vote
1 answer
469 views

Simple way to to Increase the Number of Cross-sell Items in cart from 4 to 12?

I can't believe that Magento just decides for everyone that they should ONLY have 4 cross-sell items and that's it! I have 12 and I want all 12 of them to appear hopefully without the need to re-write ...
user avatar
  • 306
0 votes
3 answers
1k views

Show phtml file, only when button is clicked

I want to create a quickview option with my crosssells. When I click on the quickview button, I want a .phtml file to appear (custom/quickview.phtml), and display with product information such as name,...
user avatar
0 votes
1 answer
37 views

How to call one directory tempate file in to other template file in magento

how to call app\design\frontend\base\default\template\checkout\cart\crosssell.phtml to app\code\local\Cmsmart\AjaxCart\controllers\IndexController\ in popup window if(@$product) $json_encode['...
user avatar
0 votes
2 answers
2k views

How can i do cross sell products blocks on add to cart popup box

How can i display my cross sell products blocks under add to cart popup box, my add to cart block, <?php class Cmsmart_AjaxCart_IndexController extends Mage_Core_Controller_Front_Action { ...
user avatar
  • 679
0 votes
1 answer
389 views

Add cross-sell block to product page (complication)

I found Rajeev K Tomy's answer to this stackexchange question (Add Cross sell block on product page) very helpful to add a cross-sell block to my product page. After implementing the solution, ...
user avatar
1 vote
2 answers
121 views

Missing cross-selling and related products option in admin

I notice in several websites about Magento mentioning the "Related Products", "Up-Sells" and "Cross-Sells" options in the admin backend under the "Manage Products" section. However, when I log into ...
user avatar
  • 865
7 votes
2 answers
1k views

Magento2 Extending Magento\Catalog\Block\Product\AbstractProduct Class

I wanted to add some extra custom methods to the block classes: Related Upsell Cross-sell Each of these extends the Magento\Catalog\Block\Product\AbstractProduct But using di.xml preference I was ...
user avatar
7 votes
4 answers
2k views

How to add a custom page with cross-sell products

You wouldn't believe how much time I've spent researching/trying to make this happen. All I want is to have an extra page come up in the order process after the product page asking the customer which ...
user avatar
  • 306
0 votes
1 answer
91 views

Auto reverse cross-selling products

When I setup cross-sell for Product A with Product B, I want it to automatically cross-sell in reverse when saving the product. How can I set this up?
user avatar
0 votes
2 answers
327 views

How to overwrite crosssell template in custom module?

I am trying to display custom information for cross-sell items. I want to overwrite app/design/frontend/base/default/template/checkout/cart/crosssell.phtml and use a new template in my module. I've ...
user avatar
0 votes
1 answer
111 views

Advanced module for cross sell/accessoires

I am looking for a module that can display cross sell/accessoires on the productpage. But I am looking for a much more advanced solution than the default Magento method. I want to display some ...
user avatar
  • 1,474