- Posts: 15
- Thank you received: 1
Icon Datasheet Product Link to Google Drive
- cesarsupport
-
Topic Author
- Offline
Less
More
7 years 3 months ago #309200
by cesarsupport
Icon Datasheet Product Link to Google Drive was created by cesarsupport
-- HikaShop version -- : 4.2.0
-- Joomla version -- : 3.9.10
-- PHP version -- : 7.1.30
-- Browser(s) name and version -- : Firefox 68
-- Error-message(debug-mod must be tuned on) -- : None
Good day
I would have products with datasheet linked to Google Drive, I would like an icon to appear next to the text. Is this possible to do?
I hope can you help me.
Kind regards.
-- Joomla version -- : 3.9.10
-- PHP version -- : 7.1.30
-- Browser(s) name and version -- : Firefox 68
-- Error-message(debug-mod must be tuned on) -- : None
Good day
I would have products with datasheet linked to Google Drive, I would like an icon to appear next to the text. Is this possible to do?
I hope can you help me.
Kind regards.
Please Log in or Create an account to join the conversation.
7 years 3 months ago #309201
by nicolas
Replied by nicolas on topic Icon Datasheet Product Link to Google Drive
Hi,
If you want to have a file from Google drive, you first need to share it:
support.google.com/drive/answer/2494822?...form%3DDesktop&hl=en
Once you have its share link, you can just add it where you want.
So for example, you could create a custom field of the table "product" and of the type "WYSIWYG" via the menu Display>Custom fields, and in it, you can add your HTML for the share link. For example:
where XXX is the share link for that product.
If you want to have a file from Google drive, you first need to share it:
support.google.com/drive/answer/2494822?...form%3DDesktop&hl=en
Once you have its share link, you can just add it where you want.
So for example, you could create a custom field of the table "product" and of the type "WYSIWYG" via the menu Display>Custom fields, and in it, you can add your HTML for the share link. For example:
Code:
<a href="XXX"><i class="fa fa-upload"></i></a>
Please Log in or Create an account to join the conversation.
- cesarsupport
-
Topic Author
- Offline
Less
More
- Posts: 15
- Thank you received: 1
7 years 3 months ago #309240
by cesarsupport
Replied by cesarsupport on topic Icon Datasheet Product Link to Google Drive
Finally, in the View :products
File: show_block_product_files
Add the code: <i class="fa fa-file-pdf"></i>
File: show_block_product_files
Add the code: <i class="fa fa-file-pdf"></i>
Please Log in or Create an account to join the conversation.
- cesarsupport
-
Topic Author
- Offline
Less
More
- Posts: 15
- Thank you received: 1
7 years 3 months ago #309241
by cesarsupport
Replied by cesarsupport on topic Icon Datasheet Product Link to Google Drive
Now custom.
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds