No product showing in article?

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #83748

I would like on my shop front do an article with a few products shown.

In addition, I have previously successfully used me to put products into tags, so will I in this game.
But it does not work, I only get the two previous products up on the screen and when I inform the ID so nothing happens.

The two images show my article in jce editor and how the page looks.

I also have links to the two sides, as I mentioned:
bestoil.dk/index.php/webshop-forside
bestoil.dk/index.php/produkter/biofuel-fyringsolie

In the picture from the front, I have marked something in blue. is there any idea why there is so much space after the last)? This text is not centered




I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)
Attachments:
Last edit: 11 years 10 months ago by holm76.

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #83825

I have a bonus info .. I have one more product in the category, where the Biofuel is. And after i have first enabled and then disabled it, the product where showed and not showed. Så its look like the the popup is showing only from one category group.

Or not, I have tried to put the prduct with id 2 in the category, but it where not showing.


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)
Last edit: 11 years 10 months ago by holm76.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83874

Hi,

Your Products TAG plugin seems to be working fine when you are using the good product ID.

1. The product price part is actually centered.

2. Regarding the spaces I think that you should check you translation file through "Hikashop->System->Configuration->Language->'Your translation file'", and see how you have set the "PER_UNIT" translation word.

Last edit: 11 years 10 months ago by Mohamed Thelji.

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #83942

Yes it seems to work fine, but do not do it..

There is only 2 products listed in the popup screen. I have tested on another site we have to test, and there it's working perfectly.
What I think is that the product field only is using one category, but where to check this?

I'll check the translation


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)
Last edit: 11 years 10 months ago by holm76.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83952

It's not a matter of product's category but of product ID, the TAG will just display the product which have the same product ID no matter his category.
What are the products IDs that you want to display, and what TAG are you for that ?

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #83956

As you can see in my first thread its ID 2, but the system will only show 2217,2218 & 3654

I add a screenshot - it's what I see when I insert a product, there have to be more than 20 pages..



I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)
Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83979

Ok so can you give me an acces to your back-end through PM ? It would help me to know where the problem is coming from

The following user(s) said Thank You: holm76

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #84311

Did you get my PM?


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #84517

Hi,

Yes we have received the backend logs.
Are you sure that you products are not restricted to certain group ? Are they are published ?

Could you give us a ftp access, or try to edit the plugin "hikashopproductinsert" the file "hikashopproductinsert.php" and try to edit the query:

			$product_query = 'SELECT * FROM ' . hikashop_table('product') . ' WHERE product_id IN (' . implode(',', $ids) . ') AND product_access=\'all\' AND product_published=1 AND product_type=\'main\'';

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #84521

I have sent a PM with FTP..


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #84583

I just checked your products and the problem come from that the products are restricted to some customer groups, so it's not in the list of products to add in an article.
You have to edit the previous given code and remove the part "AND product_access=\'all\' "

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #84838

I suppose you know better than I do.
Therefore I have tried to give admin user one of the User Group ID. It did not change that I can still only see three products.
It did not help to remove "AND product_access=\'all\'" the code in the plugin .. but tried after this to edit one product, and it have been showed in the list. So now I think you got right.. What then to do, is it to edit the code to all my usergroups ?, and then remember to do it if we create a new one?


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)
Last edit: 11 years 10 months ago by holm76.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #85043

Problem solved ;)

The modification to do was in the file "/plugins/editors-xtd/hikashopproduct/hikashopproduct.php", I just removed the part "AND product_access=\'all\'".

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #85060

THx Xavier

You are my new best friend ;)

But I don't understand it, yesterday I have done the same without the same result..


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #85078

After added products there is a fail in the url..

Its right now: /component/hikashop/product/2217-biofuel-ptc
But must be: /webshop/product/2217-biofuel-ptc

I now in modules etc. it's possible to assign it to a menu. But where am I doing it here?


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 10 months ago #85213

That's indeed the menu option of your module that you need to set to solve that URL issue.
You need to select there a hikashop categories listing menu item and make sure that this menu is activated, published and working.

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

  • Posts: 152
  • Thank you received: 11
11 years 10 months ago #85396

Is there a module attached to the button that inserts one product? And where can it be localized / found?


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 9 months ago #85598

Hi,

No, you can't add a module at this place.
But you can made some view overrides.

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: 152
  • Thank you received: 11
11 years 9 months ago #85619

And now the big question.. Where to do that??


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 9 months ago #85642

Hi,

And the big answer, the F.A.Q.
www.hikashop.com/en/support/documentation/faq.html#pagination

HikaShop > Display > Views
www.hikashop.com/en/support/documentatio...ashop-view-form.html

View : Your template | front-end | product | quantity

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