Unlocking Joy: 50% Off On WordPress Themes Get It Now >

DealMart - Ultimate PHP Affiliate Deals Coupons

DealMart - Ultimate PHP Affiliate Deals & Coupons Marketplace Script

DealMart is a premium PHP & MySQL based affiliate deals, coupon, store directory, and multi-vendor marketplace script designed for entrepreneurs, affiliate marketers, digital product sellers, and deal listing platforms.
With DealMart, you can create a professional deals website where products, coupons, stores, affiliate links, vendors, blog posts, sliders, popups, newsletters, reviews, and analytics can be managed from a powerful admin panel.
DealMart v1.1 comes with major new upgrades including vendor system control, site-owner-only posting mode, improved store management, automatic store detection from affiliate URLs, advanced product media gallery, GIF support, YouTube video support, YouTube Shorts support, TikTok video support, sorting filters, product SEO fields, and a clean production-ready package.
Whether you want to build an Amazon-style affiliate product listing website, AliExpress-style deals platform, coupon website, store directory, or multi-vendor affiliate marketplace, DealMart gives you a complete ready-to-install solution.

 Why Choose DealMart?

DealMart is not just a simple product listing script. It is a complete affiliate deals marketplace solution with admin control, vendor system, coupon system, store system, click tracking, SEO tools, blog system, media gallery, sorting filters, multi-language support, multi-currency support, and modern responsive design.
The new v1.1 update makes it more powerful by giving the site owner full control over vendor posting, product media, store auto-detection, GIF/video galleries, and product sorting. This makes DealMart suitable for both single-owner affiliate websites and multi-vendor marketplace platforms.

Included Files

  • Complete PHP source code
  • Admin panel
  • Vendor panel
  • Frontend website
  • install.php installer
  • install-schema.php database installer
  • upgrade-v1.1.php upgrade file
  • README.md
  • CHANGELOG.md
  • DOCUMENTATION.md
  • .htaccess
  • Assets folder
  • Upload folders with protection files

Developed By

Developer / Author: Mr Arslan CEO
Author URL: https://codester.com/mrdigitalceo

Version: 1.1

Key Features

Modern Deals & Affiliate Marketplace

  • Create a professional affiliate product listing website
  • Add unlimited products, deals, coupons, categories, and stores
  • Add affiliate links and track product clicks
  • Perfect for Amazon, AliExpress, eBay, Walmart, Temu, Best Buy, Target, Etsy, SHEIN, and other affiliate platforms
  • Suitable for deal websites, coupon websites, store directories, and affiliate marketplaces

Powerful Admin Panel

  • Complete admin dashboard
  • Manage products, categories, stores, users, vendors, coupons, blog posts, sliders, menus, popups, reviews, newsletter subscribers, SEO settings, and website settings
  • Clean admin UI for easy management
  • Product approval and vendor management support
  • Change password and manage admin account settings

Multi-Vendor System

  • Allow vendors to register and submit products
  • Separate vendor dashboard
  • Vendor product add/edit system
  • Vendor store profile settings
  • Vendor product management
  • Admin can manage, approve, or control vendor products
  • Vendor system can be enabled or disabled from admin panel

New v1.1 Vendor Control System

  • Enable or disable complete vendor system
  • Enable or disable vendor registration separately
  • Multi Vendor Mode
  • Site Owner Only Mode
  • When vendor system is disabled, only admin/site owner can post products
  • Existing vendor data remains safe even when vendor system is turned off
  • Clean disabled-state messages for vendor pages

Advanced Store System

  • Create and manage unlimited stores
  • Store name, slug, logo, tracking tag, website URL, description, SEO title, SEO description, sort order, and domain match
  • Store pages with related products
  • Improved store filtering
  • Store SEO support
  • Default real store structure support for popular affiliate platforms

Store Auto-Detection from Affiliate URL

  • Automatically detect store when admin or vendor pastes an affiliate/product URL
  • Domain matching support
  • Example: Amazon, AliExpress, eBay, Walmart, Temu, Best Buy, Target, Etsy, SHEIN
  • Admin can manage domain match values
  • Makes product posting faster and more accurate

Product Management

  • Add product title, slug, short description, full description, category, store, affiliate URL, price, original price, currency, image, featured status, trending status, hot deal status, and flash sale expiry
  • Product SEO title, SEO description, and SEO keywords
  • Product sort order
  • Product click counter
  • Product status control
  • Admin and vendor product forms
  • Product detail page with modern layout

Advanced Product Media Gallery - v1.1

  • AliExpress-style product gallery
  • Main product media stage###li/li###
  • Mobile-friendly gallery layout
  • Image gallery support
  • Animated GIF support
  • YouTube video support
  • YouTube Shorts support
  • TikTok video support
  • Direct MP4 URL support
  • External video URL support
  • Lazy loading for videos
  • Play icon overlay for video thumbnails
  • TikTok fallback button when embed is blocked

GIF Upload Support

  • Animated GIF support for product images and gallery
  • GIF animation preserved
  • Admin can enable or disable GIF uploads
  • Vendor GIF upload can be allowed or blocked separately
  • Secure MIME and extension validation

YouTube, Shorts & TikTok Support

  • Add YouTube product videos
  • Add YouTube Shorts
  • Add TikTok videos
  • Add direct video URLs
  • Add video content from product form
  • Video gallery can be controlled from admin settings
  • Great for product demos, previews, and affiliate promotions

Sorting & Filtering System

  • Homepage sorting filters after Trending Now section
  • Product page sorting dropdown
  • Store page sorting dropdown
  • Sort by newest
  • Sort by oldest
  • Sort by most popular
  • Sort by best discount
  • Sort by lowest price
  • Sort by highest price
  • Sort by featured
  • Sort by trending
  • Store filter support
  • Category and search compatible sorting
  • Pagination-aware sorting

Coupon System

  • Create percentage discount coupons
  • Create fixed amount coupons
  • Coupon expiry date
  • Usage limits
  • Minimum purchase amount
  • Maximum discount amount
  • Product-based coupons
  • Category-based coupons
  • Coupon status control

Affiliate Click Tracking

  • Track every affiliate product click
  • Store click count by product
  • Track user/IP/user-agent data
  • Product analytics support
  • Helps understand popular products and conversion potential

User System

  • User registration and login
  • User account page
  • Wishlist system
  • Favorites system
  • Review submission system
  • Google OAuth login support
  • Local account login support
  • User avatar and profile fields

Google OAuth 2.0 Login

  • Enable Google login from admin settings
  • Add Google Client ID and Client Secret
  • Quick and trusted user authentication
  • Supports local login and Google login

Wishlist & Favorites

  • Logged-in users can save products to wishlist
  • Favorites table included
  • Wishlist toggle API
  • User-friendly saved product experience

Review System

  • Users can submit product reviews
  • Rating and comment support
  • Admin review moderation
  • Review status control

Blog System

  • Built-in blog module
  • Blog categories
  • Blog posts with featured image
  • SEO title, SEO description, and SEO keywords
  • Blog views tracking
  • Useful for organic traffic, deal guides, product reviews, and affiliate SEO content

Newsletter System

  • Newsletter subscription API
  • Admin can view newsletter subscribers
  • Export newsletter subscribers
  • Useful for email marketing and deal alerts

Popup System

  • Create promotional popups
  • Add title, content, image, link, start date, end date, and status
  • Useful for special offers, announcements, and affiliate campaigns

Slider System

  • Homepage slider management
  • Add slider title, subtitle, image, link, sort order, and status
  • Great for featured deals and promotional banners

Menu Management

  • Header menu management
  • Footer menu management
  • Parent/child menu support
  • Sort order and status control
  • Useful for custom navigation

Multi-Language Support

  • Language system included
  • Translation table included
  • Default languages available
  • Dynamic language switching API
  • Supports global audience targeting

Multi-Currency Support

  • Currency table included
  • Currency conversion helper
  • Default currencies included
  • Dynamic currency switching API
  • Supports USD, EUR, GBP, INR, JPY, CAD, AUD, CNY and more

SEO & Marketing Tools

  • Product SEO fields
  • Store SEO fields
  • Blog SEO fields
  • Global SEO settings
  • Google Analytics support
  • Google AdSense code support
  • Facebook Pixel support
  • Clean URLs with .htaccess
  • SEO-friendly slug system
  • Optimized structure for affiliate content

Secure Upload System

  • Secure image upload helper
  • MIME type validation using fileinfo
  • Extension validation
  • Upload size validation
  • Random secure filenames
  • JPG, PNG, WebP, and GIF support
  • Upload folders protected with .htaccess and index files

Security Features

  • PDO database connection
  • Prepared statements for database queries
  • Sanitized output using htmlspecialchars
  • Secure password hashing
  • CSRF token support where included
  • Safe file upload validation
  • Safe video URL parsing
  • Raw iframe input rejected for video gallery
  • Upload directory indexing protection
  • Vendor disabled pages return clean secure messages

Installer Included

  • Professional install.php setup wizard
  • Database connection setup
  • Admin account creation
  • install-schema.php included
  • Database tables created automatically
  • Optional demo data checkbox available
  • Clean production setup by default

Upgrade System Included

  • upgrade-v1.1.php included for existing v1.0 users
  • Adds new v1.1 tables, columns, and settings safely
  • Existing data is preserved
  • Useful for buyers upgrading from old version

Clean Production Package

  • No unnecessary test files
  • No fake product/vendor/coupon/blog demo data by default
  • Clean upload folders
  • Placeholder protection files included
  • Ready for live hosting deployment

What’s New in Version 1.1

  • Added vendor system enable/disable option
  • Added vendor registration enable/disable option
  • Added Multi Vendor Mode and Site Owner Only Mode
  • Added improved store management system
  • Added store website URL, description, SEO fields, sort order, and domain match
  • Added automatic store detection from affiliate/product URL
  • Added product media gallery table
  • Added AliExpress-style product detail gallery
  • Added image, GIF, YouTube, YouTube Shorts, TikTok, MP4, and external video gallery support
  • Added product SEO title, SEO description, SEO keywords, and sort order
  • Added homepage sorting filters
  • Added products page sorting dropdown
  • Added store page sorting dropdown
  • Added secure image upload helper
  • Added video lazy loading
  • Added vendor gallery upload permissions
  • Added vendor video upload permissions
  • Added vendor GIF upload permissions
  • Added max gallery items setting
  • Added max upload size setting
  • Added upgrade-v1.1.php file
  • Updated installer for v1.1
  • Updated database schema for v1.1
  • Improved admin product edit form
  • Improved vendor product add/edit form
  • Improved frontend product detail page
  • Removed unnecessary test/demo files from production package

Admin Panel Features

  • Dashboard overview
  • Product management
  • Category management
  • Store management
  • Coupon management
  • Vendor management
  • User management
  • Blog management
  • Blog category management
  • Slider management
  • Popup management
  • Newsletter management
  • Review moderation
  • Menu management
  • SEO settings
  • Google Analytics settings
  • Google AdSense settings
  • Facebook Pixel settings
  • Google OAuth settings
  • Vendor system settings
  • Product gallery settings
  • Upload settings
  • Website settings
  • Change password

Vendor Panel Features

  • Vendor dashboard
  • Add products
  • Edit products
  • Manage submitted products
  • Store profile settings
  • Product image/GIF support
  • Optional gallery upload support
  • Optional video gallery support
  • Optional GIF upload support
  • Vendor access controlled by admin settings

Frontend Features

  • Modern responsive homepage
  • Trending products section
  • Featured products section
  • Product cards
  • Product detail pages
  • Category pages
  • Store pages
  • Blog pages
  • Wishlist page
  • Account page
  • Login and register pages
  • Vendor login and registration pages
  • Contact, About, Terms, Privacy, and 404 pages
  • Header and footer menu support
  • Language switch API
  • Currency switch API
  • Product sorting and filtering
  • Mobile-friendly layout

Technical Requirements

  • PHP 7.4 or higher
  • Recommended PHP 8.1+
  • MySQL 5.7 or higher
  • Recommended MySQL 8.0+ or MariaDB 10.5+
  • Apache server with mod_rewrite enabled
  • PDO PHP extension
  • pdo_mysql PHP extension
  • fileinfo PHP extension
  • GD or Imagick PHP extension
  • mbstring PHP extension
  • curl PHP extension recommended
  • openssl PHP extension recommended
  • PHP upload permissions enabled
  • Writable uploads folder
  • Minimum 50 MB disk space
  • Shared hosting, VPS, or dedicated hosting supported

Installation Instructions

  1. Download the DealMart package.
  2. Upload all files to your hosting server inside public_html or your desired subfolder.
  3. Create a MySQL database from your hosting control panel.
  4. Make sure these folders are writable:
    • uploads/
    • uploads/products/
    • uploads/stores/
    • uploads/categories/
    • uploads/blog/
    • uploads/users/
    • uploads/sliders/
    • includes/
  5. Open your website URL in browser:
  6. Enter your database host, database name, database username, and database password.
  7. Create your admin account from the installer.
  8. Complete installation.
  9. Login to the admin panel.
  10. For security, delete these files after installation:
  • install.php
  • install-schema.php
  • upgrade-v1.1.php

Upgrade Instructions From v1.0 to v1.1

  1. Take a full backup of your current database.
  2. Take a full backup of your uploads folder.
  3. Replace old project files with v1.1 files.
  4. Do not remove your existing includes/db_config.php file.
  5. Do not remove install.lock.
  6. Login to your admin panel.
  7. Open:
  8. Click Run Upgrade Now.
  9. After successful upgrade, delete upgrade-v1.1.php from server.
  10. Clear browser cache and test website, admin panel, vendor panel, products, stores, and gallery features.

Note: The upgrade file only adds new v1.1 tables, columns, and settings. Existing data is not deleted.

Important Notes

  • ###li/li###
  • No Laravel required.
  • No Node.js required.
  • No composer setup required for normal installation.
  • Works on most standard PHP hosting environments.
  • Google OAuth requires your own Google Client ID and Client Secret.
  • Affiliate programs/accounts are not included. You need your own affiliate accounts from Amazon, AliExpress, eBay, or other platforms.
  • AdSense approval is not included. You need your own Google AdSense account.
  • Images, videos, affiliate products, and content are managed by the site owner/admin.

Best For

  • Affiliate marketers
  • Coupon websites
  • Deals websites
  • Product listing websites
  • Store directory websites
  • Multi-vendor affiliate marketplaces
  • Amazon affiliate websites
  • AliExpress affiliate websites
  • Discount and promo code platforms
  • Product review blogs
  • Niche affiliate stores

Requirements

System Requirements
To ensure optimal performance and stability, your hosting environment must meet the
following minimum requirements:
• PHP Version: . or higher (PHP .x is recommended).
• MySQL Version: . or higher, or MariaDB equivalent.
• Web Server: Apache with mod_rewrite enabled (required for clean URLs/SEO).
• PHP Extensions: PDO, cURL, GD Library, and OpenSSL.
• Hosting: Compatible with standard shared hosting environments (e.g., cPanel,
Hostinger).

Instructions

Step : Upload Files
. Unzip the main package file ( DealMart-PHPDeals&eCommerceScript.zip ).
. Upload all the extracted files and folders to your web server's root directory (e.g.,
public_html or www ).
.. Step : Create Database
. Log in to your hosting control panel (cPanel, Plesk, etc.).
. Navigate to the MySQL Databases section.
. Create a new database (e.g., dealmart_db ).
. Create a new database user and assign a strong password.
. Ensure the new user is granted ALL PRIVILEGES on the newly created database.
.. Step : Set File Permissions
You must ensure that the web server has write access to certain directories for uploads and
configuration.
Using your FTP client or file manager, set the permissions (CHMOD) for the following
directories to or (if is insufficient):
• uploads/
• uploads/products/
• uploads/categories/
• uploads/stores/
• uploads/blog/
• uploads/users/
• includes/
.. Step : Run the Web Installer
. Open your web browser and navigate to the installation script:
http://yourdomain.com/install....
. Database Configuration: Enter the database credentials you created in Step .
• Database Host (usually localhost )
• Database Name
• Database Username
• Database Password
. Click "Continue". The script will automatically create all necessary database tables.
. Admin Account Setup: Create your primary administrator account.
• Admin Username
• Admin Email
• Admin Password
. Click "Complete Installation".
.. Step : Post-Installation Security (Crucial)
For security purposes, you MUST delete the installation files after the process is complete:
• Delete install.php
• Delete install-schema.php
. Admin Panel Management
The Admin Panel is the central hub for managing all aspects of your DealMart platform.
Access URL: http://yourdomain.com/admin/lo...
.. General Settings
Navigate to Admin Panel > Settings to configure site-wide options:
Setting Description
Site Name / Email
The primary name and contact email for your
platform.
Base Currency / Language
Set the default currency and language for the
frontend. Additional currencies and languages
can be managed in their respective sections.
Items Per Page
Controls the number of products displayed on
listing pages.
Site Logo / Favicon Upload your branding assets.
.. Multi-Vendor System
The script supports a multi-vendor model, allowing other users to register as vendors and
list their own affiliate products.
• Vendor Registration: Vendors can register via vendor-register.php .
• Vendor Login: Vendors access their dedicated panel via vendor-login.php .
• Admin Management: As an Admin, you can manage and approve vendors via Admin
Panel > Vendors.
.. Content Management
Footer Settings
Customize the "About" text and social media
links (Facebook, Twitter, Instagram, YouTube )
displayed in the footer.
Section Functionality Key Actions
Products
Manage all affiliate product
listings.
Add, Edit, Delete products;
set badges (Featured,
Trending, Hot Deal); track
clicks.
Categories
Organize products into
hierarchical categories.
Create, Edit, Delete
categories; assign icons and
images.
Stores
Manage the affiliate
stores/merchants.
Add, Edit, Delete stores;
upload store logos; add
tracking tags.
Coupons
Create and manage discount
codes.
Set coupon type
(percentage/fixed), value,
expiry date, usage limits, and
assign to specific products or
categories.
Blog
Manage blog categories and
posts.
Create SEO-friendly articles to
drive organic traffic.
Sliders
Manage the main homepage
image slider.
Upload images, set titles,
subtitles, and link URLs.
.. SEO and Analytics
Navigate to Admin Panel > SEO & Ads to optimize your platform for search engines and
integrate third-party services.
• Meta Tags: Set global SEO Title, Meta Description, and Meta Keywords.
• Analytics: Integrate tracking codes for Google Analytics to monitor traffic.
• Advertising: Paste code snippets for Google AdSense or other ad networks.
• Social Tracking: Integrate the Facebook Pixel for advanced marketing and retargeting.
.. User and Authentication
• Users: Manage all registered users, including their status and details.
• Google Authentication: To enable "Login with Google," you must obtain a Client ID
and Client Secret from the Google Developer Console and enter them in Admin Panel
> Settings.
• Redirect URI: http://yourdomain.com/google-c... (Ensure you configure this in
the Google Console ).
. Frontend Usage
.. User Accounts
Users can register and log in to access personalized features:
• Registration: Standard email/password or Google OAuth.
• Wishlist: Users can save favorite products for later viewing.
• Reviews: Users can submit ratings and comments on products.
.. Multi-Currency and Multi-Language
The currency and language selectors are typically located in the header. Users can switch
their preferred settings dynamically. The exchange rates and language translations are
Popups
Create timed or event-based
popups.
Configure popups for
announcements, deals, or
newsletter subscriptions.
Menus
Dynamically manage header
and footer navigation links.
Create, edit, and reorder
menu items.
managed by the Admin.
.. Affiliate Link Tracking
The script automatically tracks clicks on affiliate links. When a user clicks the "Get Deal" or
"Buy Now" button, the click is logged in the database, and the user is redirected to the
affiliate URL configured for that product.
. Support and Customization
For technical support, bug reports, or feature requests related to the DealMart script, please
contact the developer directly using the information provided in Section ..
Note on Customization: The script is built using native PHP, making it highly flexible and
easy to customize for experienced PHP developers. All core functions are located in
includes/functions.php , and the database schema is defined in install-schema.php .

License Option
Free Free
$3.60 $14.00
Quality checked by Softgpl - Market Best Service Provides
Full Documentation
Future updates
Author Support

mrdigitalceo's items

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies

More