Questions tagged [cross-sells]

Denotes questions about Magentos cross-sells feature.

Filter by
Sorted by
Tagged with
1 vote
0 answers
50 views

Cross Sell Upsell Product Page extension

I have spent last 3 days looking for an extension which will allow me to show both cross sell and upsell on the product page - magento 2.4.3 I dont want automatic or AI based extension - just a simple ...
jt9489's user avatar
  • 155
0 votes
1 answer
563 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 ...
JGeer's user avatar
  • 1,421
0 votes
3 answers
620 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. ...
Sathya's user avatar
  • 508
0 votes
1 answer
319 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="...
Thilagavathy Rathinavelu's user avatar
3 votes
3 answers
2k 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'...
Abdulaziz Arjah's user avatar
0 votes
1 answer
692 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-...
Mage Explorer's user avatar
0 votes
1 answer
23 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 ...
iphigenie's user avatar
  • 1,679
0 votes
1 answer
629 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.
New Bee On Magento's user avatar
0 votes
1 answer
306 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 ...
Marbonka's user avatar
1 vote
1 answer
231 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"> ...
Waqar Ali's user avatar
  • 2,274
0 votes
1 answer
41 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 ...
JGeer's user avatar
  • 1,421
1 vote
1 answer
92 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. ...
yvzyldrm's user avatar
  • 309
1 vote
2 answers
1k 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....
summu's user avatar
  • 837
0 votes
2 answers
128 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 ...
summu's user avatar
  • 837
1 vote
0 answers
75 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 ...
Speedingorange's user avatar
0 votes
0 answers
185 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 ...
Espen's user avatar
  • 75
1 vote
1 answer
53 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 ...
wltprgm's user avatar
  • 111
0 votes
1 answer
134 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/...
wltprgm's user avatar
  • 111
0 votes
1 answer
234 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="...
ortoDev's user avatar
0 votes
2 answers
738 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 ...
ortoDev's user avatar
1 vote
2 answers
3k 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="...
Jafar Pinjar's user avatar
  • 1,929
0 votes
1 answer
70 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 ...
Amy's user avatar
  • 101
1 vote
0 answers
659 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 ...
Magento Learner's user avatar
1 vote
1 answer
122 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 ...
schwarzenhut's user avatar
0 votes
1 answer
988 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 ...
Kazim Noorani's user avatar
0 votes
1 answer
2k 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 ?
Dhaval Solanki's user avatar
2 votes
1 answer
3k 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.
Dhaval Solanki's user avatar
0 votes
3 answers
606 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 ...
Allysin's user avatar
  • 178
1 vote
0 answers
49 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?
ThiagoR's user avatar
  • 11
1 vote
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?
balu's user avatar
  • 315
1 vote
1 answer
478 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-...
Kiran Padma's 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:') ?></...
Kiran Padma's user avatar
0 votes
1 answer
197 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: ...
Nilesh Tighare's 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 ...
JasonSy's user avatar
  • 43
0 votes
1 answer
114 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 ...
Oboroten's user avatar
  • 239
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: ...
Jeroen Stas's user avatar
0 votes
1 answer
50 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?
JGeer's user avatar
  • 1,421
0 votes
1 answer
855 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 ...
Geat's user avatar
  • 834
1 vote
1 answer
470 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?
Vinod Kumar's user avatar
  • 2,045
1 vote
2 answers
185 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 ...
Allysin's user avatar
  • 178
1 vote
1 answer
496 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 ...
Allysin's user avatar
  • 178
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,...
Maarten Wolfsen's 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['...
Dhinakar's 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 { ...
Gem's user avatar
  • 669
0 votes
1 answer
394 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, ...
youngKOkid's user avatar
1 vote
2 answers
123 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 ...
xenon's user avatar
  • 875
7 votes
2 answers
2k 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 ...
Atish Goswami's user avatar
8 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 ...
Allysin's user avatar
  • 178
0 votes
1 answer
117 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?
Peter van Remmen's user avatar
0 votes
2 answers
406 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 ...
Ashley Swinehart's user avatar