Creating individual RSS/Atom feeds

  • Posts: 75
  • Thank you received: 1
11 years 11 months ago #81928

Here is my problem

I have set up two 'brands' Baron and Giema each has a category of the same name and in each I have set the 'brand' of two products to be either Baron or Giema. So I have two products in the category Baron flagged as a the brand Baron and the same with Giema.

When I link to either feed the give identical information. Which just shows the most recently modified products.

spots.tv/live/ces-b/index.php/machinery/...ype-atom?format=feed
spots.tv/live/ces-b/index.php/machinery/...ype-atom?format=feed


How can I make each feed only show products from that brand?


Using;
Joomla 2.5.8
HikaShoprt 2.0
PHP 2.5.7

Viewing feeds in Mac Firefox and Mac Chrome.

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

  • Posts: 171
  • Thank you received: 4
11 years 11 months ago #82061

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

  • Posts: 75
  • Thank you received: 1
11 years 11 months ago #82063

Thanks Jesper but that doesn't work I'm afraid


Both feeds still show the identical products

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #82172

Hi,

Could you provide a screenshot of the hikashop options of your category listing menu (id 344) ?

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

  • Posts: 75
  • Thank you received: 1
11 years 10 months ago #82341

Here we are: Category screen shot

Attachments:

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #82579

Hi,

Could you provide a screenshot of the category listing menu (id 334).
In "Display > Content menu".

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: 75
  • Thank you received: 1
11 years 10 months ago #82640

Sorry about that - don't have an id 334, try this (id 344)

Attachments:
Last edit: 11 years 10 months ago by spotstv.

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 10 months ago #82865

Yes, in the mean time, it seems that you changed your menus. It's now the menu with the id 360 that we would like to see.

I dug a bit in the code and might have an idea as to why it doesn't work properly, but it might actually not change anything. So you can try to add the code

if(empty($cid)){
			$params = new stdClass();
			$module = hikashop_get('helper.module');
			$module->initialize($params);
			$cid = $params->params->get('selectparentlisting');
		}
after the code
$cid = hikashop_getCID('category_id');
in the file components/com_hikashop/views/category/view.feed.php and that might solve the problem. But it could be something else and thus not change anything for you.
Knowing how you setup your menu would help.

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

  • Posts: 75
  • Thank you received: 1
11 years 10 months ago #83109

Hi Nicolas

Tried the codes changes but not sure quite where the codes snippets need to go so not sure they made any difference.


Image of menu 360 included.

Attachments:

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

Time to create page: 0.079 seconds
Powered by Kunena Forum