Quantity of purchased item for UniShop2 (OpenCart3)

Price: free
To download this free product, you do not need to order it, just log in.
Modifier for OpenCart 3. Will not work with other versions!

This add-on adds to the product card a display of the total number of copies of this product sold. On the product page, next to the stock balance, a line appears with the text “Already purchased: X items,” where X is the total number of product units purchased in completed orders (with the status “Completed”).
Main features:
  • Shows customers how many times this product has already been purchased.
  • Does not affect the standard display of product availability in the warehouse.
  • Automatically counts sales only for completed orders (order_status_id = 5).
  • Easy integration - does not require manual edits in the template or code.
For whom it is suitable:
  • For stores on OpenCart with the Unishop2 theme that want to increase trust in products and increase conversion through social proof.
Installation:
  1. Install the modifier through the standard OpenCart add-on manager.

  2. Clear the modification cache and refresh the product page.

How it works:
  • In the product card, after the block with availability, the line “Already purchased: X pieces” appears if this product has already been purchased at least once.
  • If there were no sales, the block is not displayed.
Tested on template version: 3.3.0.0 ocStore version 3.0.3.7

DThis modifier is distributed as is, the author of the modifier does not provide support or assistance with installation. You can make all changes YOURSELF!
I made this modifier for myself, maybe it will be useful to someone else.

Uploaded:
21.07.2025
Updated:
05.02.2026
Viewed:
1225

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:






Leave a comment text_write_hint