Questions tagged [cross-sells]

Denotes questions about Magentos cross-sells feature.

Filter by
Sorted by
Tagged with
0
votes
2answers
23 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. ...
0
votes
0answers
18 views

Magento 2 Cross Sell products layout are breaking in shopping cart page even in default Theme

We are facing a issue with the Cross Sell products layout in shopping cart page. The product items that are rendered are not loading in proper HTML structure and resulting the items layout to beak. ...
0
votes
0answers
14 views

How can I apply discount on cross sell products on cart page in Magento 2?

I have added cross sell products and these cross sell products are showing in cart page but I want to add discount some of these cross sell products as per configuration on the cart page. I created ...
0
votes
0answers
27 views

CSV Import | Related - Crossell partial imported

While importing 8000+ new items, we've stumbled on an issue with the related_skus and crosssell_skus fields that causes only 800 new database entries to be created in the catalog_product_link table. ...
0
votes
0answers
36 views

Cross-sell not working magento 2.4.0

I'm using magento 2.4.0 and trying to get information about products cross-sell by product id but I see some error in magento. getById causes my browser to crash, some very large object loading there $...
0
votes
1answer
45 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="...
1
vote
1answer
96 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'...
0
votes
1answer
170 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-...
0
votes
1answer
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 ...
0
votes
1answer
172 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.
0
votes
1answer
127 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 ...
1
vote
1answer
117 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"> ...
0
votes
1answer
35 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 ...
1
vote
1answer
71 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. ...
1
vote
2answers
494 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....
0
votes
2answers
50 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 ...
1
vote
0answers
66 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 ...
0
votes
0answers
110 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
61 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/...
0
votes
1answer
201 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="...
0
votes
2answers
281 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 ...
0
votes
2answers
1k 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="...
0
votes
1answer
57 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 ...
1
vote
0answers
408 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 ...
1
vote
1answer
100 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 ...
0
votes
1answer
763 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 ...
0
votes
1answer
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 ?
1
vote
1answer
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.
0
votes
3answers
359 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 ...
1
vote
0answers
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?
0
votes
1answer
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?
1
vote
1answer
395 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-...
0
votes
1answer
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:') ?></...
0
votes
1answer
135 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: ...
2
votes
2answers
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 ...
0
votes
1answer
98 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 ...
3
votes
3answers
1k 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: ...
0
votes
1answer
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?
0
votes
1answer
630 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 ...
1
vote
1answer
418 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?
1
vote
2answers
134 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 ...
1
vote
1answer
452 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 ...
0
votes
3answers
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,...
0
votes
1answer
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['...
0
votes
2answers
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 { ...
0
votes
1answer
382 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, ...
1
vote
2answers
120 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 ...
7
votes
2answers
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 ...
7
votes
4answers
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 ...