Blog Post

Changes to data saving for GD Products Center

GD Products Center is under heavy development at the moment, and it will require a major change to the code that will save the data for products. This change will affect only some of the property types that can be used for products, to allow for fast data filtering and search.

Property types: Unit, Dimensions, Resolution and Boolean will be changed. Right now each one was saved in the single record in the postmeta table. But, because of that, search and filtering by these property types is impossible. To change this, saving of these fields will recalculate values to base values for the unit (unit and dimensions) and save them into 2 or more fields. So, dimensions will go into 3 fields, resolution into 2 fields, boolean into 1 or 2 fields, and unit into one field.

To make things even easier to filter or search, some of the property types will be indexed into separate tables in the database. This will be done for resolution, dimensions, units and text fields that are marked for filtering. Index can be rebuilt any time and will allow for very precise filtering of posts.

All these changes, with new advanced filtering templates are going to be the part of 0.9 Beta release that will be released next Monday at the latest.

Please wait...

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

Subscribe to Dev4Press Newsletter

Get the latest announcements, release digests, promotions and exclusive discounts, and general Dev4Press-related news straight into your mailbox.


This form collects your email (optionally your name) for the purpose of sending you newsletters. Check out our Privacy Policy for more information on how we store and manage your data. We will not send you any spam. Newsletters are sent 2 to 4 times every month.

Latest From The Blog

license management

License Code Validation and Management

Dev4Press License validation system updates will soon be deployed, including license code management via the Dev4Press Account Dashboard. All updates will be deployed on April 14, 2024.
panel options

In Development: SweepPress Pro 5.0 and Lite 3.0

In about two weeks, brand new, significant updates to SweepPress Pro and Lite plugins will be released, bringing several game-changing features to WordPress cleanup and maintenance tools already included.

GD Press Tools Pro 6.3

The new major release for GD Press Tools Pro, version 6.2 is here, and it brings some major changes. First of all, the plugin has two addons less, one addon is added and one more addon has been deprecated (but still included for now).

SiteGround - Managed WordPress Hosting
Grammarly - Number 1 Writing App
0
0
0
0
0
0