Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizable Product data and support for attributes #173

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
df97af0
add attributes logic
SublimeProphets Feb 20, 2023
2253432
align whitespacing with source
SublimeProphets Feb 20, 2023
46b7444
Merge pull request #1 from SublimeProphets/feature/attributes
SublimeProphets Feb 20, 2023
ba5cefc
remove unneeded tax label
SublimeProphets Feb 20, 2023
bee4b2d
renaming for more selfexplaning code
SublimeProphets Feb 20, 2023
be026f3
Merge pull request #2 from SublimeProphets/feature/attributes
SublimeProphets Feb 20, 2023
1d12475
add support for numeric range attributes
SublimeProphets Feb 20, 2023
3e7c36c
Merge pull request #3 from SublimeProphets/feature/numeric-range
SublimeProphets Feb 20, 2023
a22cdec
add stock data
SublimeProphets Feb 20, 2023
f78608e
Merge pull request #4 from SublimeProphets/feature/availability
SublimeProphets Feb 20, 2023
b4d429b
add tags, categories and permalink
SublimeProphets Feb 20, 2023
725cbb4
add checkboxes for fields
SublimeProphets Feb 20, 2023
8a19e39
fix error Trying to access array offset on value of type null + check…
SublimeProphets Feb 20, 2023
641f069
fix non functional verify_settings_nonce
SublimeProphets Feb 20, 2023
9cdc2fc
refactor send products to respect settings of fields
SublimeProphets Feb 20, 2023
5381105
attributes fields
SublimeProphets Feb 20, 2023
c26fc7a
add attributes settings
SublimeProphets Feb 20, 2023
aeff4d9
fix not updating checkboxes
SublimeProphets Feb 20, 2023
7369db8
add visibility, variation and whitelisting for attributes export
SublimeProphets Feb 20, 2023
a054bc7
add numeric interpolation
SublimeProphets Feb 21, 2023
277e5a7
add long description and excerpt
SublimeProphets Feb 21, 2023
022e4b0
slight improvements in code, readme
SublimeProphets Feb 21, 2023
44f9366
some code simplifications
SublimeProphets Feb 21, 2023
4587c8b
improved some of the code quality issue
SublimeProphets Feb 21, 2023
b5d3365
refactor attributes code to reduce code duplication
SublimeProphets Feb 21, 2023
0b9af8d
refactor sanitize to array in update method
SublimeProphets Feb 21, 2023
37c16d9
refactor get_product_attributes to reduce complexity
SublimeProphets Feb 21, 2023
d3ad294
Merge pull request #5 from SublimeProphets/feature/customizeable-dataset
SublimeProphets Feb 21, 2023
d153207
add custom fields support
SublimeProphets Feb 21, 2023
6daddb1
Merge pull request #6 from SublimeProphets/feature/custom_fields
SublimeProphets Feb 21, 2023
96f3a3a
add custmizeable taxonomy terms
SublimeProphets Feb 21, 2023
ca930ec
remove unneeded log
SublimeProphets Feb 21, 2023
5ff8b72
split all attributes stuff in a own class
SublimeProphets Feb 21, 2023
6d79fdc
refactoring to reduce cyclomatic complexity
SublimeProphets Feb 21, 2023
04b2630
try reduce complexity by evaluation visibility and variation validity…
SublimeProphets Feb 21, 2023
8f2d308
remove attributes variation option for simplyfication
SublimeProphets Mar 1, 2023
9320109
Merge pull request #7 from SublimeProphets/chore/split-attributes-int…
SublimeProphets Mar 1, 2023
88ce1f4
remove unneeded $args
SublimeProphets Mar 3, 2023
b4b186d
remove variation option from settings renderer
SublimeProphets Mar 13, 2023
a0d9f59
Merge branch 'master' of https://github.com/w3bdesign/algolia-woo-ind…
SublimeProphets Mar 13, 2023
8d0b657
user replaceAllObject for complete reindex
SublimeProphets Jun 24, 2023
15c491b
add cronjob for stock status
SublimeProphets Oct 4, 2023
7946f5d
numeric interpolation: ignore "leer" entries
SublimeProphets Mar 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Note that this plugin is designed for developers developing headless Ecommerce s
## Basic Features

- Manually or automatically submit WooCommerce products to Algolia
- Choose from a broad variation of common fields to index
- Indexing of attributes with settings for visibility and varation behavios as well as whitelisting.
- Default options are added upon plugin activation
- Options are deleted from database upon plugin uninstallation (not on deactivation)

Expand Down
7 changes: 6 additions & 1 deletion algolia-woo-indexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author: Daniel Fjeldstad
* Requires at least: 6.0
* Tested up to: 6.1.1
* Requires PHP: 8.1
* Requires PHP: 8.0
* WC requires at least: 7.0.0
* WC tested up to: 7.4.0
* Version: 1.0.5
Expand Down Expand Up @@ -37,6 +37,11 @@
*/
require_once plugin_dir_path( __FILE__ ) . '/classes/class-verify-nonces.php';

/**
* Class for attributes
*/
require_once plugin_dir_path( __FILE__ ) . '/classes/class-attributes.php';

/**
* Class for sending products
*/
Expand Down
310 changes: 243 additions & 67 deletions classes/class-algolia-woo-indexer.php

Large diffs are not rendered by default.

Loading