Questions tagged [cross-sells]

Denotes questions about Magentos cross-sells feature.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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
37 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. ...
0
votes
0answers
19 views

Import custom related products through CSV

I have created a custom tab for Alternative Products and have to import SKU's through CSV like _links_related_sku in CSV. I am unable to import my products in custom alternative products tab in ...
1
vote
2answers
76 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
0answers
17 views

Whats the difference between getCrossSellProductCollection and getCrossSellProducts

I am trying to understand difference between getCrossSellProductCollection and getCrossSellProducts in layout module for cross sells. As in my admin panel HTML vendor/magento/module-catalog/Block/...
0
votes
2answers
22 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
56 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
39 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
23 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
23 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
0answers
16 views

M2 - Get all categories from cross sell products

I have a specific thing that I want to make because I can't find a extension that comes close to what i need. On this page: https://www.bhphotovideo.com/c/product/1318277-REG/canon_eos_rebel_t7i_dslr....
0
votes
0answers
49 views

Magento 2 Crosssell - Increase product quantity

I'm trying to increase the Cross Sell quantity on the /checkout/cart/ page from 4 to 9. I've followed different examples and none are proving to work. The selected correct answer on the following ...
0
votes
0answers
28 views

How to override product details view price section magento 2?

Actually in my case i need to display logged in customer group price for upsell or cross sell products section but for product view page price section i am displaying all group price using ...
0
votes
0answers
38 views

How to show cross sell in product page? [duplicate]

I'm using magento-2.2.6 and I'm trying to show cross sell products into product page. I did it, but I don't know how to show cross sell products even if the "main" product isn't in shopping cart (...
0
votes
1answer
72 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
119 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
1answer
491 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
40 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
142 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
55 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
496 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
691 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 ?
0
votes
1answer
1k 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
218 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
42 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
1k 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
313 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
768 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
66 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
1answer
1k 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
84 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 ...
2
votes
2answers
770 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
458 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
365 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
101 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
358 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
829 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
936 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
379 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
116 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
761 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
1k 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 ...
0
votes
1answer
54 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?
0
votes
2answers
123 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 ...
0
votes
1answer
89 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 ...
1
vote
1answer
166 views

Custom Cart Cross-Sell Item

I am trying to add a cross-sell product to a custom cart page. The regular process for adding cross-sell products to products in the admin panel does now show up in our cart. Is there a file/ line of ...
0
votes
1answer
484 views

Automate cross-sell, up-sell and related products

I have a designed theme that i like and i have to manually set cross sells and up-sell and related products. If i install an extension from third party, the design will not be the same. I would like ...
2
votes
0answers
82 views

How to include configurable swatches in Best sellers / Cart cross sell / any custom listing

How to include configurable swatches on other listing like cross sell , bestseller or in a custom module product listing ?