Trusted Shops Easy Integration for WooCommerce
Het bekende keurmerk, de kopersbescherming en de authentieke beoordelingen van Trusted Shops staan al meer dan 20 jaar voor vertrouwen. Meer dan 30.000 webshops in heel Europa gebruiken onze vertrouwensoplossingen voor meer traffic, hogere verkoopcijfers en een betere conversie.
De Trusted Shops Easy Integration is de eenvoudigste en snelste manier om bezoekers te overtuigen van de betrouwbaarheid van jouw webshop. De eenvoudige installatie garandeert dat je het product binnen 5 minuten kunt gebruiken. Je hebt er meestal weinig of geen technische kennis voor nodig. Met onze toolkit ben je technisch altijd up-to-date en er is geen extra onderhoud nodig.
Jouw voordeel: met slechts een paar klikken zien bezoekers op jouw webshop betrouwbare elementen zoals de Trustbadge of andere widgets. Ze profiteren van de Trusted Shops Kopersbescherming en worden automatisch om feedback gevraagd nadat ze een bestelling hebben geplaatst.
All features at a glance:
- Show Trustbadge, integrate Buyer Protection & collect shop reviews
- Present your collected reviews in an appealing and sales-boosting way
- Collect and display Product Reviews
- Configure multiple shops within the same plugin
Please note: To use the extension Trusted Shops Easy Integration, you need an existing Trusted Shops membership. You can find out more about the products and benefits of Trusted Shops on our website or by calling: +44 23364 5906
Overriding templates
Templates may be overridden in a (child-) theme. Overriding the templates/widgets/product-widget.php
template in your theme
by placing the original file in the following directory: my-child-theme/woocommerce/widgets/product-widget.php
.
Product attributes
Brand
WooCommerce does by default not provide a global brand attribute/setting for products. The Package::get_product_brand()
method determines
the brand for a certain product. By default, the logic searches for an attribute stored within the product data matching the keyword Brand
(or a translated version of it).
One might easily adjust the brand attribute name by using the filter ts_easy_integration_product_brand_attribute_name
. E.g.:
`php
add_filter( ’ts_easy_integration_product_brand_attribute_name’, function( $attribute_name, $product ) { // Maybe adjust the $attribute_name based on the WC_Product $product return $attribute_name; }, 10, 2 ); `
Additionally the filter ts_easy_integration_product_brand
is provided which allows filtering the actual brand per product.
`php
add_filter( ’ts_easy_integration_product_brand’, function( $brand, $product ) { // Maybe adjust the $brand based on the WC_Product $product return $brand; }, 10, 2 ); `
GTIN, MPN, SKU
The plugin uses product identifiers, which might not be provided by the Woo core (e.g. GTIN, MPN) for widgets, order exports and the Trustcard.
GTIN and MPN fields are provided through the WooCommerce edit product panel and stored as meta data, using the meta_key
_ts_gtin
and _ts_mpn
.
Similar to the brand attribute, Package::get_product_gtin()
, Package::get_product_mpn()
and Package::get_product_sku()
are used to retrieve the data.
Filters exist to adjust the attributes:
ts_easy_integration_product_gtin
ts_easy_integration_product_mpn
ts_easy_integration_product_sku
Example filter-usage to adjust the GTIN:
`php
add_filter( ’ts_easy_integration_product_gtin’, function( $gtin, $product ) { // Maybe adjust the $gtin based on the WC_Product $product return $gtin; }, 10, 2 ); `
Technical Insights
More technical insights in the Github Repository readme.md
Minimal Requirements
- WordPress 4.9 or newer
- WooCommerce 3.9 (newest version recommended)
- PHP Version 5.6 or newer