Related Products Go Away When Adding To Cart Main Product

  • Posts: 298
  • Thank you received: 5
  • Hikashop Business
6 years 2 months ago #302439

Hi,
I have Hikashop Business. I want to be able to display related products that customers can add to the main product.

Question 1:
How can I make it so that when the customer adds the main product of interest, they can see the related products to add that as well if they choose. Currently if they add to cart the main then it goes to another page and the related are no longer seen. So they can't add easily both.

Question 2:
The related products are so far down on the page under the description box that it is not easily seen. can it be moved somewhere it can be seen easier?

Please Log in or Create an account to join the conversation.

  • Posts: 83512
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302444

Hi,

1. If you want to display "the products related to the products already in the cart" on the checkout, there is a plugin available on our marketplace for that:
www.hikashop.com/marketplace/product/142-checkout-related.html

2. You'll have to edit the files "show" and "show_default" of the "product" view via the menu Display>Views in order to change that.
The related products are displayed by the code:

<div class="hikashop_submodules" id="hikashop_submodules" style="clear:both">
<?php
	if(!empty ($this->modules) && is_array($this->modules)) {
		jimport('joomla.application.module.helper');
		foreach($this->modules as $module) {
			echo JModuleHelper::renderModule($module);
		}
	}
?>
	</div>
in the show view file. You can move that in the show_default view file based on where you want it.

Please Log in or Create an account to join the conversation.

  • Posts: 298
  • Thank you received: 5
  • Hikashop Business
6 years 2 months ago #302505

Thanks.
Is there a way when they add to cart the main product that it an stay on that same page so that they can choose related products just after choosing the first, then decide if they want to checkout?

Please Log in or Create an account to join the conversation.

  • Posts: 26215
  • Thank you received: 4032
  • MODERATOR
6 years 2 months ago #302513

Hello,

Yes, by not using the legacy "add to cart" system and publishing the "Hikashop Add to Cart notification Plugin" (with the popup mode in its configuration).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum