Search/filter by specification/custom fileds

Phoca Cart - complex e-commerce extension
houek
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Nov 2020, 11:10

Search/filter by specification/custom fileds

Post by houek »

Hello world! My first post here and I have few questions about Phoca Cart.

First of all, thank you for your great job.
  1. I'm trying to make a catalogue using PhocaCart. Catalogue will contain machines with some parameters like height or capacity and, also some specific features like engine type electric or diesel. Is this possible to make some search/filter basis on these parameters? In example use a slider filter to show only machines with height in a chosen range or electric/diesel as checkbox?
  2. I would like to present specific icons (badges?) i.e. diesel, electric, 4WD etc. - is it possible to use some features built-in Phoca Cart or some plugins to show those icons near product name or in description?
  3. Is it possible to put some variables like {spec} into product description? I mean if I fill specification fields where are some aliases i.e. "working height" with value 10. Now in description would to use some like {workingheight} and get value 10. Is it possible anyhow? Because there will be not much description for products and I would to make some template and generate description using specification.
  4. Is it possible to make some template for adding products with already selected fields to fill? Now I have to every time add the same fields again and again with every new product. I cannot rule out that I am doing something wrong and there is some other method. I was thinking about Import/Export by csv but not sure if that's a good solution.
I've read documentation but can't find these features described as well. If somewhere is more about it - just let me know.

PS I'm using Polish language machine translation and I found some not translated or wrong translated strings - are you using some translating platform where I can help with translation?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Search/filter by specification/custom fileds

Post by Jan »

Hi,

1) you can filter products by e.g. specifications or attributes or parameters, so if you add the parameters to specifications, attributes or parameters, then you can filter them, see example: https://www.phoca.cz/jtd/ - on left side there is a filter, where you can filter category, price, manufacturers, tags and parameters (extensions, frameworks, version).

So e.g. parameters like colors and size can be set as attributes, other like specifications. Specifications are made not only for filtering but even for comparing between products.

Image

2) You can paste icons to fields like description, etc. (like any other html). Attributes can be displayed like images:

Image

So, not for titles, but yes for descriptions.

3) In description fields you can use standard content plugins, so the way could be creating specific content plugin for this. Of course, another way could be making an override (template override) where you can have own logic.

4) hmmm, the only way for now is the CSV import or directly in SQL (e.g. when all products will be added, then some sql query will be run to make bulk changes to all products)

Translation: Phoca Cart can be found on transifex, but there is few people who used it. Mostly for users it is better to use text editor. 14 day ago I got a message that one polish user is working on the translation, but for now hard to say what the status of thw work is now. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply