Hi, is there a way to display manufactures images (logos) in product page? Also, is there a way to change default download folder, default is: \phocacartdownload\
Thank you
Manufactures image / download folder (v3.5.4)
-
- Phoca Newbie
- Posts: 4
- Joined: 07 Dec 2020, 21:50
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Manufactures image / download folder (v3.5.4)
Hi, for now there is no option to display manufacturer logo in item view, so the only way for now is add it e.g. to description. And even there is no option to set specific path for download.
Jan
Jan
If you find Phoca extensions useful, please support the project
- voymacao
- Phoca Member
- Posts: 29
- Joined: 17 Sep 2019, 09:06
Re: Manufactures image / download folder (v3.5.4)
A workaround on this would be to use a customized Tag.
Its a temporary solution but you may use it if needed.
Create your tag and notice it takes a custom class according to the title you give it.
Then just apply some custom CSS styling like this:
.ph-corner-icon-elagris {
color: transparent;
width: 150px;
height: 50px;
background-color: #fff;
background-image: url('/images/graphics/elagris.png');
background-size: contain;
background-repeat: no-repeat;
}
Obviously you need to replace the image url with yours and play around with the dimensions or change the tag's position.
Its a temporary solution but you may use it if needed.
Create your tag and notice it takes a custom class according to the title you give it.
Then just apply some custom CSS styling like this:
.ph-corner-icon-elagris {
color: transparent;
width: 150px;
height: 50px;
background-color: #fff;
background-image: url('/images/graphics/elagris.png');
background-size: contain;
background-repeat: no-repeat;
}
Obviously you need to replace the image url with yours and play around with the dimensions or change the tag's position.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Manufactures image / download folder (v3.5.4)
Hi, great to hear it, yes, this can be the possible way to display the logo.
BTW, sorry for confusing with setting of download folder (I was mistaken when answered the question - answering questions at night takes its toll ). This is possible (mostly helpful when you want to paste your files behind the public_html folder). See options for following parameters
- Absolute Path (Download)
- Absolute Path (Upload)
Jan
BTW, sorry for confusing with setting of download folder (I was mistaken when answered the question - answering questions at night takes its toll ). This is possible (mostly helpful when you want to paste your files behind the public_html folder). See options for following parameters
- Absolute Path (Download)
- Absolute Path (Upload)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 07 Dec 2020, 21:50
Re: Manufactures image / download folder (v3.5.4)
Yes, that could be a solution, but with some PHP code would be possibile to customize the product page so it will read the db and show the manufacturer image, if present, and then make a template override, that could be an interesting feature for a future release
-
- Phoca Newbie
- Posts: 4
- Joined: 07 Dec 2020, 21:50
Re: Manufactures image / download folder (v3.5.4)
Yes, I tested it, but I can't see any link in the product page for the download, Am I missing something?Jan wrote: ↑15 Dec 2020, 16:15 Hi, great to hear it, yes, this can be the possible way to display the logo.
BTW, sorry for confusing with setting of download folder (I was mistaken when answered the question - answering questions at night takes its toll :-) ). This is possible (mostly helpful when you want to paste your files behind the public_html folder). See options for following parameters
- Absolute Path (Download)
- Absolute Path (Upload)
Jan
This Absolute path is referred to the 'download options' in product insert page, where you can see download token, etc.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Manufactures image / download folder (v3.5.4)
Hi, all this is about standard download (when user order a product and can download it). Public download files - files which can be downloaded from product page do not have any such parameter.
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 07 Dec 2020, 21:50
Re: Manufactures image / download folder (v3.5.4)
Yes, that's why I asked if there's some settings to change default download folder, I was referring about public download folder that is set to default: \phocacartdownload\ (eg. where you can link the pdf manual of a product for example)
btw I'm the "translator" :)
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Manufactures image / download folder (v3.5.4)
Hi, public folder is not assigned to phocacartdownload folder but to phocacartdownloadpublic folder and there is no option to change this location, so this needs to be customized (this is different to phocacartdownload folder as there you mostly need to add files behind the public_html, by public files it is assumed that such public files will be in folder which can even accept direct links).
Jan
Jan
If you find Phoca extensions useful, please support the project