Opis
Dobrze znany znak jakości, Ochrona Kupującego i autentyczne recenzje Trusted Shops są znane od ponad 20 lat. Ponad 30 000 sklepów internetowych w całej Europie korzysta z rozwiązań w zakresie budowy zaufania, które zapewniają większy ruch w sklepie, lepszą sprzedaż i wyższą stopę konwersji.
Trusted Shops Easy Integration is the easiest and fastest way to convince visitors of the trustworthiness of your online shop. The simple installation guarantees product use in just 5 minutes and usually requires little to no prior technical knowledge. With our extension you are always technically up to date and have no additional maintenance effort.
Twoja korzyść: wystarczy kilka kliknięć, aby odwiedzający sklep internetowy widzieli elementy zaufania, takie jak Trustbadge i inne widżety, mogli skorzystać z Ochrony Kupującego i byli automatycznie proszeni o informacje zwrotne po złożeniu zamówienia.
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
Pamiętaj o ważnej kwestii: Do korzystania z wtyczki Trusted Shops Easy Integration wymagane jest członkostwo w Trusted Shops. Więcej informacji o produktach i zaletach Trusted Shops można znaleźć na lub pod numerem telefonu +48 22 462 64 00.
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_gtints_easy_integration_product_mpnts_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
Instalacja
Install this plugin via WP-Admin > Plugins and connect your site via WooCommerce > Settings > Trusted Shops.
Shortcodes
[ts_widget id="{widget_id}" product_identifier="{identifier}"]
Use this shortcode to embed a specific widget, e.g.: [ts_widget id="wdg-d6dc1e38-d43b-46aa-123e-232441"]. Please mind that
embedding product-specific widgets by passing an identifier (e.g. sku, gtin, mpn) will only work on product-specific pages.
Hooks
All frontend-related hooks, e.g. to output Trustbadge, Trustcard and Widgets are managed in src/Hooks.php. External assets (e.g. the TS widgets script) are lazy-enqueued
via the WordPress script API as soon as a widget is rendered.
For each widget position (e.g. product_title) a custom hooks is placed, e.g. ts_easy_integration_single_product_title_widgets. This way users may easily customize where/when
to output widgets by attaching custom scripts to it or removing the default logic to output the widget.
To render a widget, 2 templates exist:
templates/widgets/product-widget.phpis used for product-related widgets.templates/widgets/service-widget.phpis used for service widgets.
Najczęściej zadawane pytania
-
Do you need help with Trusted Shops Easy Integration?
-
Learn how to use Trusted Shops with a Plugin.
Recenzje
Kontrybutorzy i deweloperzy
„Trusted Shops Easy Integration dla WooCommerce” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniWtyczka „Trusted Shops Easy Integration dla WooCommerce” została przetłumaczona na 2 języki. Podziękuj tłumaczom za ich wkład.
Przetłumacz wtyczkę “Trusted Shops Easy Integration dla WooCommerce” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
2.0.4
- Fix: Cache issue
2.0.3
- New: WP 6.6 compatibility
- Fix: ReferenceError regeneratorRuntime
2.0.2
- Fix: Events API auth retry
2.0.1
- Fix: Events API error handling
2.0.0
- New: Send review invites based on custom order status
1.0.8
- Improvement: Indicate HPOS compatibility
1.0.7
- Improvement: Prevent trustcard from displaying multiple times
- Improvement: Readme dev hints
1.0.6
- Fix: Update textdomain to reflect plugin slug
- Fix: Fallback language file path
1.0.5
- Improvement: Compatibility during content filter removal
1.0.4
- Fix: PHP warning for PHP <= 7.4
1.0.3
- First release





