Insert product in article: no button

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #154107

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.4.9 on IIS7
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello,
I've enabled the required plugins for this function but the button doesn't appears at the bottom of the article editor.
Trying to solve by myself I've discover that the button seems to be loaded by the system but there should be something missing,
here is the code of the node:

<a class=" modal-button" title="Product" href="http://mysite/administrator/index.php?option=com_hikashop&amp;ctrl=plugins&amp;task=trigger&amp;function=productDisplay&amp;tmpl=component&amp;cid=10060&amp;cf4b9cab6047626b145094047f674d5e=1" onclick="IeCursorFix(); return false;" rel="{handler: 'iframe', size: {x: 800, y: 450}}">
		<i class="icon-hikashopproduct"></i>Product
</a>

I've already added the MIME TYPE application/font-woff, supposing a web-font problem, but nothing changes ...
What else ? Could it be an IIS issue ?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #154116

Hi,

Can you check thanks to your browser console if there is no "display:none;" css properties, or something like that ?
Do you have any javascript errors returned ?

Which browser are you using ? Can you try with another one ?

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #154271

Hello, there is no "display:none;" css property enabled,
but I've check back the code posted here comparing with others buttons and it seems that the <a> element leaks of the "btn" class.
By manually adding this class the buttons appears (the icon still doesn't appears).

I've tested with Chrome, Firefox and IE, no errors are reported
(I've already updated Joomla to 3.3)

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #154290

Hello,
Can you give me a temporary access to your back-end through a private message so that I can directly test it ?

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #154510

Sent a private message,
thank you for any suggestion !

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #154572

Hello,
Can you save the modifications that you've done through the Hikashop product tag insertion plugin, and then Install try it with that version :

File Attachment:

File Name: h50b435f.zip
File Size:6 KB


It will also allow me to directly test the plugin through your website.

Attachments:
The following user(s) said Thank You: gulp

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #154636

I've installed the plugin and the button magically appeared :-)
If I have to reinstall hikashop on another system do I have to keep this plugin and install it separately ?
How it will allow you to directly test on my website ?

Thank you for your help !

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #154746

If you want to reinstall Hikashop on another system you'll just have to install the last Hikashop version and it should work (that plugin version is on the last Hikashop version).

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #155393

Hello,
I've got still some questions about product TAG button:
- how to customize the default fields that the button writes to the editor ?
Actually it is something like

{product}2|name|description|pricedis3|pricetax1{/product}
I would like that it by default writes something like:
{product}2|link|name|description|picture{/product}
is it possible to override it ?

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #155400

Hi,
You'll have to directly edit the file : "plugins\editors-xtd\hikashopproduct\hikashopproduct.php" and make sure that name/description/... are pre-checked.

The following user(s) said Thank You: gulp

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #155596

Ok, I've edit this form:
if will be possible in next version I suggest to introduce a back-end customizable form (checked fields and pre-ordering fields),
the "Insert product tag" option is very useful but at this time requires some skills for users to select the correct option and also reorder in the the fields in preferred way, losing times having to repeat this action everytime.

Thank you !!!!

Last edit: 10 years 6 months ago by gulp.

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #155597

Another question please:
how to make the link to behave the right way, adding the correct menu item ?
without this option all the modules loaded in the product page will never be loaded ... and also the menu will not behave correcly !

Last edit: 10 years 6 months ago by gulp.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #155677

Hello,

how to make the link to behave the right way, adding the correct menu item ?
without this option all the modules loaded in the product page will never be loaded ... and also the menu will not behave correcly !

The solution will be use the "Menu ID " option through the product insert popup.

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

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #155740

Could you please explain how to obtain it or show me a link to the help ? In the form I've previously edited I didn't see any part of the code that talks about "menu id".
Does this works also with multilanguage sites ?

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #155746

Hi,
I was talking about that option :



You'll just have to add your menu ID in it.

Attachments:

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

  • Posts: 99
  • Thank you received: 2
10 years 6 months ago #155754

I don't have this option in my form (also the original, not updated version),
is it for an higher version of hikashop ?

Will it be available with something like html-select-field instead of a html-text-field ?
A non-smart user will never insert a menu-id in the form to fill it completely

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #155757

This option is available through the last "HikaShop Product TAG insertion" version, so you should probably download the last Hikashop version through our website, install it and test it again.

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

  • Posts: 3
  • Thank you received: 0
10 years 6 months ago #155813

I've updated hikashop but I'm going to lost my changes on the product TAG form,
do you know how to override the plugin ("plugins\editors-xtd\hikashopproduct") ?

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

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #155896

The only solution will be to move the changes that you've done through the old "HikaShop Product TAG insertion" to the new one.

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

Time to create page: 0.118 seconds
Powered by Kunena Forum