More items from this seller module

  • Posts: 377
  • Thank you received: 7
10 years 9 months ago #144796

Hi,

I have hikamarket setup, and i would like a module to show more items from the seller underneath their products. I have created a module and set the 'Synchronize with currently
displayed item when possible ' i.e to sync with sellers other products, however other products are being shown. If it is not possible to show only from that seller is it possible to order them so that other sellers items are listed first?

Thanks

Alex

Attachments:

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #144990

Hi,

For your HikaMarket questions, please use the HikaMarket forum. It will be easier for me to be notified and answer it faster.

The option "synchronize" is used to synchronize with the current menu. If you are using a category menu, it will synchronize with the selected category and if you are using a vendor menu, it will synchronize with the selected vendor.
But if you are using a product menu, the module can't synchronize with the vendor.
At this moment we should add some new options in the module system in order to help the module to know with which information it should synchronize.
At this moment, we should improve the way that HikaShop manage the options of his modules or maybe create a new module into HikaMarket for this product listing. In both cases it should be analyzed and it can't be added in a short time.

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.

  • Posts: 377
  • Thank you received: 7
10 years 9 months ago #145004

Ok Jerome,

Is this something can we can have custom made at this time? Or would you recommend using another company as i know you guys are sometimes quite busy.

Thanks

Alex

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #145083

Hi,

HikaShop have a trigger

function onBeforeProductListingLoad(&$filters, &$order, &$view, &$select, &$select2, &$ON_a, &$ON_b, &$ON_c)
The parameter $view is the view object. But the $view can be a module.
You can check it with the code:
if($view->module) { /* ... */ }
HikaMarket uses this trigger to make the sync for the product listing modules on the vendor page.
You can find the code in the plugin "market" and the rest of the code in the class "product".
You can write a little plugin which will check the current "ctrl" (like in the hikamarket product class, function processListing) and apply a vendor filter thanks to the current viewing product.
It means that you will have to load the current product to get his vendor id and apply the filter.

The code in the hikamarket product class should help you, giving you an important part of the code. It just need some little customization and put it into a plugin (to keep your feature with HikaShop/HikaMarket updates).

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.

  • Posts: 377
  • Thank you received: 7
10 years 8 months ago #148268

I am not sure on this one, I am happy to pay for your time if you could do it for me?

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

  • Posts: 377
  • Thank you received: 7
10 years 8 months ago #148270

I am not sure why it is not showing any of the vendors other products let alone another sellers products...

www.warestreetmarket.com/newsite/Artist/...y-victoria-penn.html

Do you know how it decides what a similar product is because i think the similar products we have showing don't really have any relation to the current product...

Thanks

Alex

Attachments:

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 8 months ago #148289

Hi,

Your configuration does not display the products of the same vendor.
To do that, you have to implement the feature thanks to a plugin, using the trigger explained in my previous post.

Your current configuration just use a special sorting on the vendor_id and display all products in all sub categories.
It can't have link with the current product until you implement it with the trigger.

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.

  • Posts: 377
  • Thank you received: 7
10 years 8 months ago #148806

Hi Jerome,

I am not sure how we create this plugin, is that something you guys can do custom work on? And i pay for it to be done?

Thanks

Alex

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 8 months ago #148831

Hi,

Well yes, we can see to make an implementation of a little plugin which will override some product listing modules to link the listing with the vendor of the current seeing product.
We can imagine a flexible plugin which will have a little configuration for the module id filtering, so it will only override the product listing of the targeted modules.
For custom developments, the best is to contact us by email or using the "contact us" page.

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.073 seconds
Powered by Kunena Forum