API: Finder

Padloper finder API allows you to use a shorter syntax to retrieve Padloper pages. For instance, instead of this:

$products = $pages->find(
    "template=padloper-product, padloper_product_stock.quantity>5, check_access=0,limit=50"
);
1
2
3

You would type this:

$products = $padloper->find(
    "template=product, stock.quantity>5, limit=50"
);
1
2
3

Both work but the short syntax is easier to remember and also saves you a few keystrokes.

WARNING

Nested sub-selectors are not yet supported. Use ProcessWire $pages selectors instead.

Templates & Fields Short Syntax

Templates Short Syntax

Supported templates for use with Padloper short syntax.

Short SyntaxFull Syntax
attributepadloper-attribute
optionpadloper-attribute-option
brandpadloper-brand
categorypadloper-category
countrypadloper-country
territorypadloper-country-territory
propertypadloper-property
dimensionpadloper-dimension
downloadpadloper-download
legal-pagepadloper-legal-page
orderpadloper-order
line-itempadloper-order-line-item
payment-providerpadloper-payment-provider
productpadloper-product
variantpadloper-product-variant
shipping-ratepadloper-shipping-rate
shipping-zonepadloper-shipping-zone
tagpadloper-tag
typepadloper-type

Fields Short Syntax

Supported fields for use with Padloper short syntax.

Short SyntaxFull SyntaxTemplate(s)
brandpadloper_brandpadloper-product
categoriespadloper_categoriespadloper-product
descriptionpadloper_descriptionpadloper-category, padloper-download, padloper-legal-page, padloper-product, padloper-shipping-rate,padloper-shipping-zone
downloadspadloper_downloadspadloper-product, padloper-product-variant
download_settingspadloper_download_settingspadloper-download
file padloper_file padloper-download
imagespadloper_imagespadloper-brand, padloper-product, padloper-product-variant
notespadloper_notespadloper-order
orderpadloper_orderpadloper-order
order_customerpadloper_order_customerpadloper-order
line_itempadloper_order_line_itempadloper-order-line-item
attributespadloper_product_attributespadloper-product
optionspadloper_product_attributes_optionspadloper-product-variant
propertiespadloper_product_propertiespadloper-product
settingspadloper_product_settingspadloper-product
stockpadloper_product_stockpadloper-product, padloper-product-variant
shipping_fee_settingspadloper_shipping_fee_settingspadloper-shipping-zone
shipping_ratepadloper_shipping_ratepadloper-shipping-rate
shipping_zone_countriespadloper_shipping_zone_countriespadloper-shipping-zone
tagspadloper_tagspadloper-product
tax_overridespadloper_tax_overridespadloper-country
tax_ratespadloper_tax_ratespadloper-country, padloper-country-territory
typepadloper_typepadloper-product

Please see the sections below for specific Padloper features API and example use of the short syntax.

Products

Padloper Products finder API.

Orders

Padloper Orders finder API.

Downloads

Padloper Downloads finder API.

Shipping

Padloper Shipping finder API.

Country Taxes & Overrides

Padloper Taxes and overrides finder API.