News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom Fields management issues.

Started by MarioP, January 05, 2016, 07:58:34 AM

Previous topic - Next topic

MarioP

Hi there

I see 2 problems with custom fields at the moment.
1. Drag and drop option for ordering within the particular group doesn't work. After saving the order there's nothing happen. We can only force the right order of the fields assigning them appropriate numbers.
2. While we are able to add the whole group of custom field to the product at once, we can't do the opposite thing - remove the whole group of custom fields at once. We add the whole group just by clicking on the its name, but when we try to delete the whole group similarly clicking on X next to the name of the group - no results. Only the name is being remove :o. So in order the remove the whole group we need to remove single components of it...

arevamp

Hallo
Issue 3:
The Integer type for Custom Fields is no more available in the back-end configuration. However in the database in the table virtuemart_customs the field_type has still the comment: "S:STRING,I:INT,P:PARENT, B:BOOL,D:DATE,T:TIME,H:HIDDEN".
When I manually set the field_type to "I" in the database, I get the error message in the virtuemart backend: "vmError: The field with id .. and title ... is not longer valid, please delete it from the list" and an individual product with this custom field shows the type: "deprecated".

If "Integer" is not available any more, the comment in the table virtuemart_customs should be changed also.

However why has the possibility to use integer custom fields has been removed? In my opinion this is a big step back, because if you have products that exist in different numerical sizes (for example hard-drives) in your shop, till now you could have a integer custom field for the size of the product. Like this customers could filter any range of hard-drives they wanted to be shown in the front-end for example hard-drive size between 200 and 500 GB or hard-drive larger than 300 GB etc.
Are there any plans to re-add the integer field type in the standard edition of virtuemart?

GJC Web Design

Issue 3: yes .. 'I' has been removed.. but what is the difference between that functionally and S (String) ?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

arevamp

Hallo GJC Web Design,

Thanks for your reply.
As I already explained in my last post: with integer values you are able to search numerically, i.e. you can when doing a search use arithmetic operators like "<" (smaller than), ">" (larger than) or both of them.

This means with the example of the disk drives I pointed out in my last post:

I can search for hard drives larger then 200GB, or I can search for hard drives larger then 60GB and at the same time smaller than 160 GB, etc.
If there are many hundreds of hard drives in a shop, it's very important to be able to do such kinds of searches.

If you only can use string values, you only can search for identical values, but "larger" or "smaller" doesn't make any sense with a string.
So to get al the results of the second example, I would have to do three separate searches for 80GB, 100GB, 120GB respectively.
In the case of the first example, I would have to search for any size of harddisk, that is larger then 200GB, i.e. 250GB, 300GB, 320GB, 400GB, 500GB, 750GB and so on..., and if I don't now, which sizes are available, I don't have any change to find all the drives I'm looking for.

So would be great, if integer values would come back!

Best wishes

Andreas

MarioP

Quote from: GJC Web Design on January 09, 2016, 00:14:26 AM
Issue 3: yes ..
You mean the  1 and 2 don't exist? Or you haven't checked them? I'd appreciate you giving some feedback. I'd like to know if this is a common or just mine issue.