shopApiextensionPlugin::affiliateBonus($contact_id) - the amount of bonuses for the authorized user
shopApiextensionPlugin::reviewsCount($product_ids) - number of product reviews
shopApiextensionPlugin::categoryProducts($category_id, $limit) - category products; all GET filter and pagination parameters participate in product filtering
shopApiextensionPlugin::productImages($product_ids) - product images
shopApiextensionPlugin::filtersForCategory($category_id) - active product filter for the category
Additional fields for reviews - in the review submission form, add input fields with name=apiextension_experience,apiextension_dignity,apiextension_limitations,apiextension_recommend.
Then the new reviews will include the variables $review.apiextension_experience, $review.apiextension_dignity, $review.apiextension_limitations, $review.apiextension_recommend
Voting in reviews - REST API - apiextension/reviews/vote/ accepts parameters to add or remove votes:
_csrf, review_id, apiextension_reviews_vote = array('type' => 'like' || 'dislike', 'value' => 1 || 0)
shopApiextensionPlugin::getReviewsVote($reviewIds, $contactId) - get current voting status for the customer
shopApiextensionPlugin::getProductsForReviewBonus() - products for which a review bonus can be earned
Product review bonuses can only be obtained when the order is in the completed status; upon order cancellation, points are deducted from the customer. If a customer received bonuses for a review and then deleted the review in the admin panel, the review points will be permanently deducted from the customer, and the bonus request will become active again if the deadline has not passed.
shopApiextensionPlugin::getBonusReviewForProduct($product) - get an array of bonuses for a specific product for dynamic calculation
shopApiextensionPlugin::getTagsByCategory($categoryId) - product tags of the current category; you can also configure tag caching
shopApiextensionPlugin::pagination($params) - pagination without links (equivalent of wa_pagination), $params=array("total" => $pages_count, "attrs" =>["class" => "pagin"])
Review moderation - just enable plugins settings and you will have review moderation, field editing, and complete review removal.
Additional links in categories - option allowing to add extra links to categories and store them in Settings advanced category fields (UI2.0 only) - $category.params.apiextension_additional_links
| Technical specifications | |
Developed for | Shopy-Script |
Localization settings | English, Polish, Russian |
UI backend support | 1.3, 2.0 |
Software type | Plugin |
Free | Yes |
| Developer and version plugins | |
Designer (programmer) | Steemy |
License | LGPL |
Version | 1.3.0.0.wsp |
Update | 02/25/2025 |