Post by godly75 » Thu Mar 26, 2020 3:15 am

Hi guys,
I've got 2 questions;

- How can I link to a zip file for download?
That doesn't work, I get a standard opencart page to see

- How can I set this only be available after login/registration?
Can I do this with pages also, or menu items?

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by IP_CAM » Thu Mar 26, 2020 8:02 am

Links on product page
https://www.opencart.com/index.php?rout ... n_id=23824
---
Easy File Attacher
https://www.opencart.com/index.php?rout ... n_id=24561
---
Custom text on product pages (possibly also works with links)
https://www.opencart.com/index.php?rout ... n_id=27633
---
Custom Link in Products (OC Version 1.5.6.x !)
https://www.opencart.com/index.php?rout ... n_id=21139
---
Image

Attachments

ext_link_on_product_page.jpg

ext_link_on_product_page.jpg (47.45 KiB) Viewed 185 times


Contact: jti@jacob.ch
---
Demos:
OpenCart LIGHT 1.5.6.5: http://www.openshop.li/light/
OpenCart V-PRO 1.5.6.5: http://www.velomech.ch/shop/
V-PRO Multi Theme View: http://www.openshop.li/shop/
---
Downloads:
Free Github OC Downloads: https://github.com/IP-CAM
1'900+ FREE OC Extensions from the world's largest Github OC Archive.
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by godly75 » Fri Mar 27, 2020 12:35 am

So only possible via a mod?
There's no way to link to external files?
I'm on version 3.0 btw

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by IP_CAM » Fri Mar 27, 2020 6:28 am

Anything, not included by OC Default, is a Modification. :laugh:
But you could just add a hard-coded Link into the product.twig
File, but then, this Download Link will exist on all Product Pages.

In my 1.5.6.x VqMod used, the one I linked above for v.1.5.6.x,
it takes about 200 Lines of Code, to so be added into the Admin-
and Front- Sections, to be able to link either a Website or a
Download, and present it on a specific Product Page. The Link
could also be made hidden to Visitors who are no logged in. Just
to give you an idea ...
Good Luck! ;)
Ernie
---
Sample Product Page:
Image

Attachments

download+href_link.jpg

download+href_link.jpg (42.41 KiB) Viewed 119 times

Last edited by IP_CAM on Sat Mar 28, 2020 7:31 pm, edited 1 time in total.

Contact: jti@jacob.ch
---
Demos:
OpenCart LIGHT 1.5.6.5: http://www.openshop.li/light/
OpenCart V-PRO 1.5.6.5: http://www.velomech.ch/shop/
V-PRO Multi Theme View: http://www.openshop.li/shop/
---
Downloads:
Free Github OC Downloads: https://github.com/IP-CAM
1'900+ FREE OC Extensions from the world's largest Github OC Archive.
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by godly75 » Fri Mar 27, 2020 8:01 am

Thanks for your help, strange that a simple link in the text doesn't work.
Is it excluded from the htaccess ?

Your mod doesn't work for version 3?

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by IP_CAM » Fri Mar 27, 2020 9:56 am

It's NOT my Mod, but a regular free OC Extension Download. I
just adopted it to meet the v.2 type Theme I use. :D But it would
not work anyway, v.3-coding if different from 1.5.6.x ! :laugh:
I linked v.3.x Versions of it, one of them should serve your needs.
This one comes for free: Custom text on product pages
https://www.opencart.com/index.php?rout ... n_id=27633

Contact: jti@jacob.ch
---
Demos:
OpenCart LIGHT 1.5.6.5: http://www.openshop.li/light/
OpenCart V-PRO 1.5.6.5: http://www.velomech.ch/shop/
V-PRO Multi Theme View: http://www.openshop.li/shop/
---
Downloads:
Free Github OC Downloads: https://github.com/IP-CAM
1'900+ FREE OC Extensions from the world's largest Github OC Archive.
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: mantolis, moshair and 10 guests