Loading all cross-sell products of a product (Magento 1)

Use this code to load all cross-sell products associated with a product:

Running MageSetup in Magento 2

If you have installed MageSetup for Magento 2, you still need to apply it so that tax rules and other configuration data are created. Run the following command in the Linux shell to generate the MageSetup configuration:

You can…