WhatsApp Chat Plugin Osclass Plugin v1.0.1

spendooso

New member
XNullUser
Joined
Dec 12, 2024
Messages
12
Reaction score
3
Points
3
Location
Qatar
NullCash
148
WhatsApp chat extension for Osclass helps buyers quickly contact seller and communicate together via WhatsApp just by 1 click, alternatively site admins can use it to create site contact button.

WhatsApp Chat Button for Sellers​

Enhance and fasten communication between buyers and sellers. It is key element for classifieds, to make ability of customers/buyers to contact sellers in quickest and most comfortable way.
Plugin takes phone number from listing, sanitize it into international format and generates whatsapp chat button.
When customer clicks on this button (can be from mobile on desktop), customer is redirected to whatsapp to initialize chat with seller.

Button configuration options​

Phone number​

Phone number used in button can be configured and fits to all versions of osclass and/or themes. Following options are available to pick phone number:
  • Osclass Item Phone field (v4.x or higher)
  • Osclass Other Contact field (v4.x or higer)
  • Custom Field Value (based on specified custom field slug)
  • City Area field (i.e. Zara, Patricia themes)
  • Theme Phone field (i.e Veronika, Stela, Alpha - Delta themes)
  • Telephone Plugin field
Before phone is used in button, it can be sanitized, where redundant characters (mostly formatting characters like - ( ) / _) are removed and phone country code may be added to phone (i.e. +421, +1 or +92).
Phone country code (+XXX) can be defined by admin and usually should match to primary country classifieds is aiming. If code is missing in phone number and length of number is less than defined number of characters (i.e. less than 10 characters), country code will be added to phone number.
In case phone is missing on listing record, phone number from linked user profile (mobile/land) can be used as well.

Use on existing listings​

It may not be clear how plugin should work with numbers on existing listings created before plugin installation. Admin has full control if button will be generated on these listings or no.

Ask seller for button usage​

Useful feature that add checkbox on publish page to ask seller if whatsapp button should be created on their listing. Some sellers may not use WhatsApp at all so in that case button may be useless on listing page.

Collect stats about button usage​

For sellers as well as site admins, this can be handy feature to know how many customers viewed button and how many customers actually clicked on WhatsApp chat button and tried to contact seller via WhatsApp.
Stats are automatically shown in tooltip to admins as well as listing owners, but can be also shown in different positions using helper functions.

Only for logged-in customers​

Classifieds those are trying to avoid misuse of their functions by spam bots, or simply want to have increase registration rate, can allow usage of button only to logged-in users. In this case users those are not logged in will see button, but will be disabled for them.

Category restriction​

WhatsApp chat button can be enabled just in specified categories, as it may not be propriate to show this button in every category.

Shared pre-filled text with URL and Image​

Plugin will pre-fill message to be sent to seller via whatsapp and will attach listing title as well as URL.
In case your theme/osclass has structured data setup properly (OG tags), nice listing card will be generated in chat window on WhatsApp side.

Infinite customization options​

Plugin contains enormous number of customization options those helps to format and customize button in most prefered way and match theme/business layout.
List of options those can be configured:
  • Custom text in button - replace default text "WhatsApp Chat" with your own.
  • Add phone number to button - do not add, add on same line as button text or add on new line.
  • Icon image - select from 13 WhatsApp icons/logos to be used on button
  • Button size - select from 5 pre-defined button sizes (micro, mini, medium, large, extra large).
  • Button style - select from 6 predefined button styles (Rounded/Square/Bubble button, Rounded/Square/Circle icon button).
  • Button & Icon padding - add custom padding from borders.
  • Button background, icon background and font colors
  • Custom CSS - not enough? There is way to place custom CSS to button to style it as a pro.
 

Attachments

  • WhatsApp Chat v1.0.1.zip
    71.4 KB · Views: 0

z09zo9mok

New member
XNullUser
Joined
Jul 24, 2025
Messages
1
Reaction score
0
Points
1
Location
poland
NullCash
6
Thank you for sharing bro ive been looking for this in all forums
 

mho1212

New member
XNullUser
Joined
Jul 24, 2025
Messages
2
Reaction score
0
Points
1
Location
libya
NullCash
11
Thank you for sharing bro ive been looking for this in all forums
 
Top