Page 1 of 1

List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 15:03
by dmlwebal
Hi Jan

I have installed Phoca Filter Options System Plugin and Phoca Cart 3.5.5 All is working perfectly. New 3.5.5 features are very good

But

In the text area for columns, is there a list of allowed key values? Also, is the key the same as the header in the Export CSV?

I tried to add alias into the columns but was not allowed so may have typed in the wrong key format (I tried: alias=E)

https://ibb.co/GcwVZxT

1) What values and in what format/syntax are allowed in here?

I understand the comma separation between the entries is necessary, of course.

Regards
David

Re: List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 16:17
by Jan
Hi, I still didn't write documentation for this, so in short:

- alias is specific case and it is not listed manually but it can be managed by options (alias is a part of title):

Image

So just set title=E and set in option how alias will be managed.

So if you select "alias can be edited and can be overwritten by title" then when you change title, even its alias will be changed but you will have the form for alias so you can change it afterwards too.

The following columns are supported:
sku
image
title
published
categories
price
price_original
stock
access_level
language
association
hits
id

upc
ean
jan
isbn
mpn
serial_number
registration_key
external_id
external_key
external_link
external_text
external_link2
external_text2
min_quantity
min_multiple_quantity
unit_amount
unit_unit
length
width
height
weight
volume
points_needed
points_received
metatitle
description
description_long
features
video
type_feed
type_category_feed
metakey
metadesc
phoca_action


phoca_action means then in column, there will be link to edit the item (as if you can edit title directly, there is no link to edit)


Jan

Re: List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 16:32
by dmlwebal
Many thanks Jan,

It is a very good addition to Phoca Cart and I appreciate the fast response.

Regards
David

Re: List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 16:34
by Jan
OK

Re: List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 17:00
by dmlwebal
Yes, that all works perfectly,

End client is impressed with the ability sort by EAN (to see which products are missing barcodes) and edit them without opening the product edit page.

For any others reading this post, it is important to add phoca_action to column list, especially if you allow the Title to be edited (title=E)

Excellent work Jan :)

Re: List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 22:28
by Jan
BTW even if there is no phoca_action column, there is still the possibility to edit the item (select it and click on "Edit" button in toolbar)

Image

Re: List of Allowed Keys/Values in Columns (Number of Columns - Admin)

Posted: 02 Feb 2021, 22:55
by dmlwebal
Good catch!