PHP Warning

Message

Undefined array key "ab__video_gallery"

Error at

app/Tygh/BlockManager/ProductTabs.php, line: 79

Backtrace

File:app/Tygh/BlockManager/ProductTabs.php
Line:79
Function:{closure}
File:app/functions/fn.products.php
Line:3857
Function:getList
File:app/controllers/frontend/products.php
Line:191
Function:fn_init_product_tabs
File:app/functions/fn.control.php
Line:727
Function:include
File:app/functions/fn.control.php
Line:458
Function:fn_run_controller
File:index.php
Line:19
Function:fn_dispatch

PHP Warning

Message

Trying to access array offset on value of type null

Error at

app/Tygh/BlockManager/ProductTabs.php, line: 79

Backtrace

File:app/Tygh/BlockManager/ProductTabs.php
Line:79
Function:{closure}
File:app/functions/fn.products.php
Line:3857
Function:getList
File:app/controllers/frontend/products.php
Line:191
Function:fn_init_product_tabs
File:app/functions/fn.control.php
Line:727
Function:include
File:app/functions/fn.control.php
Line:458
Function:fn_run_controller
File:index.php
Line:19
Function:fn_dispatch
Cs-cart Addons :: Vendor care :: Cs-cart Vendor Plan Period - Zclues Tech
Boston
Cs-cart Vendor Plan Period
$15000

Cs-cart Vendor Plan Period

+16175556985
Ask a question

This product is electronically distributed.

10 days
Price in points: 150 points

Minimum quantity for "Cs-cart Vendor Plan Period" is 1.

Description
CS-CART ADDON VERSION 1.1 MULTIVENDOR
Cart-Power

Vendor Plan Periods

Add flexible billing period tiers to every vendor subscription plan — monthly, yearly, weekly, daily or one-time — each with its own price. Vendors pick their preferred billing cycle on the storefront; the admin manages all periods and prices from one dedicated panel.

5
Period Types
3
DB Tables
6
Color Vars
MV
Edition
Who Benefits
Administrator
  • Define global billing periods (value + type + label)
  • Assign multiple periods with individual prices to each vendor plan
  • Set default period per plan
  • Add custom feature text to any plan
  • Monitor vendor payment compliance via CRON
  • Customize all UI colors from addon settings
Vendor
  • Browse all available plans with period options side-by-side
  • Choose preferred billing cycle (monthly / yearly / one-time)
  • See automatic savings badges for longer-term plans
  • Panel access restricted when subscription payment is overdue
  • Redirected to plan renewal page on overdue payment
System / CRON
  • Automated periodic payment compliance check
  • Password-protected CRON endpoint
  • Integrates with ec_vendor_subscription for Stripe-based check
  • Falls back to vendor_payouts table when subscription addon is inactive
  • Restores pay-period data on addon uninstall
Billing Period Engine

The addon introduces a global pool of reusable billing periods. Each period defines a value (numeric quantity) and a type (time unit). Periods are then linked to vendor plans with plan-specific prices.

Month
Type: M
Year
Type: Y
Week
Type: W
Day
Type: D
One-time
Type: O

Default install creates three global periods automatically: 1 Month (M), 1 Year (Y), 1 One-time (O) — with descriptions pulled from the active CS-Cart language. All existing vendor plans are automatically migrated to their matching default period on install.

Admin Panel Features
Periods Management Page

Dedicated page at Add-ons → Vendor Plan Periods → Periods. Add, edit, or delete any period. Each row shows the numeric value, type selector, and a multilingual description field. Periods in use by plans show a direct link to those plans instead of a delete button.

Per-Plan Period Pricing

Inside each vendor plan's detail page, the admin assigns one or more period tiers. Each tier links an existing period (e.g., 1 Month) with a specific price for that plan. The first tier at position 0 becomes the plan's base price shown in the system.

Custom Plan Features Field

A new Custom Features textarea is added to every vendor plan. Admins write any extra feature bullets here. The content is stored in the cp_custom_features column of the vendor_plans table.

Overdue Payment Restriction

When a vendor's billing period expires, the addon detects the overdue state and redirects every vendor panel page to the plan renewal screen. Only vendor_plans, profiles, auth and payments controllers remain accessible until payment is resolved.

Appearance & Color Settings

Six hex-color inputs in the addon settings let the admin brand the storefront plan UI: Primary, Secondary, Success, Danger, Warning, and Info. A live color-preview template shows how selections look before saving.

CRON Job Support

A password-protected CRON endpoint at cp_vendor_plan_periods.async triggers the vendor debt / overdue-payment check. The CRON password is configurable in addon settings and defaults to cron_vendor_plan. A "Run Manually" button is available in the settings panel.

Storefront Features
Modern Card Grid

Plans displayed in a responsive card grid. Each card shows the plan name, all available period tiers as radio selectors, feature list, and a "Choose Plan" CTA button.

Savings Badge

Automatically calculates and shows a "Save $X" badge when a multi-month or yearly tier is cheaper per month than the base monthly rate. No configuration needed — fully automatic.

Period Selector

Each plan card shows period choices as styled radio buttons. Selecting a period updates the plan price display and CTA link in real time via JS. Single-period plans hide the selector automatically.

Overdue Payment Modal

When a vendor's subscription is overdue, a prominent error notification is shown and the vendor is immediately redirected to the plan renewal page. The danger color from settings is used for the warning banner.

Database Schema
cscart_cp_vendor_plan_periods — Period definitions
period_idPK, auto_increment
period_valueint — numeric qty
period_typechar(1): Y/M/W/D/O
cp_is_defaultchar(1): Y/N
cscart_cp_vendor_plan_periods_description — Multilingual labels
period_idFK → cp_vendor_plan_periods
lang_codechar(2)
period_descriptionvarchar(255)
PK: (lang_code, period_id)
cscart_cp_vendor_plan_period_price — Plan × Period pricing
cp_period_price_idPK, auto_increment
cp_positionsmallint — sort order
period_idFK → cp_vendor_plan_periods
plan_idFK → vendor_plans
cp_plan_pricedecimal(12,2)
Columns added to existing tables
cscart_companies
cp_vendor_plan_period_period_id
Current period subscription ID for the vendor
cscart_vendor_payouts
cp_vendor_plan_period_period_id
Period snapshot stored with each payout record
cscart_vendor_plans
cp_custom_features
Free-text custom features textarea per plan
Integration
ec_vendor_subscription

When the Stripe-based subscription addon is active, overdue detection checks ec_vendor_subscription_details first. If the subscription is active with a valid current_period_end, the vendor is not blocked. Falls back to vendor_payouts when the table does not exist.

vendor_debt_payout

Required core dependency. The addon hooks into fn_vendor_debt_payout_check_debts() for the CRON endpoint and extends vendor_payouts with the period column so every payment record knows which billing period it covered.

vendor_plans (core)

Hooks into plan save, delete and plan list retrieval. On plan save it writes period-price rows; on plan delete it removes orphan price rows; on list it appends periods_data to each plan object for the storefront to consume.

Addon Settings
General
License Key
Enter your Cart-Power purchase license key to activate the addon.
CRON
CRON Password
Protects the automated payment check endpoint. Default: cron_vendor_plan. Call as: …async?cron_pass=YOUR_PASS
CRON Template
Displays the ready-to-use CRON command string in the settings panel for easy server-side setup.
Appearance & Colors
Primary
Buttons, links, active plan border
Secondary
Muted text, strikethrough price
Success
Best Choice badge, savings badge, feature icons
Danger
Overdue payment popup & error alerts
Warning
Generic warning & alert messages
Info
Commission info & informational notices
File Structure
cp_vendor_plan_periods/
├── app/addons/cp_vendor_plan_periods/
│ ├── addon.xml — schema, queries, settings
│ ├── func.php — all hook & helper functions
│ ├── config.php
│ ├── init.php
│ ├── controllers/backend/ → cp_vendor_plan_periods.php, vendor_plans.pre/post.php, companies.post.php
│ ├── controllers/frontend/ → companies.pre/post.php, cp_vendor_plan_periods.php
│ ├── Tygh/Models/ → CpCompany.php, CpPeriods.php, CpVendorPlan.php
│ └── Tygh/Enum/Addons/CpVendorPlanPeriods/ → CpVendorPlanPeriodsTypes.php
├── design/backend/templates/addons/cp_vendor_plan_periods/
│ ├── components/ → period.tpl, picker_plan.tpl
│ ├── hooks/vendor_plans/ → details_general_content.post.tpl (custom features)
│ ├── views/cp_vendor_plan_periods/ → manage.tpl
│ └── settings/ → color_preview.tpl, cron_template.tpl
├── design/themes/responsive/templates/addons/cp_vendor_plan_periods/
│ ├── components/ → plans.tpl (card grid), period.tpl
│ ├── hooks/index/ → styles.post.tpl
│ └── views/cp_vendor_plan_periods/ → vendor_plans.tpl
├── js/addons/cp_vendor_plan_periods/
│ ├── func.js — period selector live update logic
│ └── new_plan.js
└── var/langs/en,ar,ru/ → addons/cp_vendor_plan_periods.po
Requirements & Notes
Requirements
  • CS-Cart Multi-Vendor (any recent version)
  • Core addon vendor_plans enabled
  • Core addon vendor_debt_payout enabled
  • PHP 7.4+ (uses typed properties)
  • InnoDB MySQL engine
Multilingual

All period descriptions are stored per language code. Supplied translations include English (en), Arabic (ar), and Russian (ru). On install, period labels are automatically populated in every active store language.

Uninstall Note

On uninstall, the addon restores plain month / year / onetime periodicity values back to the core vendor_plans table using the first-position (base) period. A warning notification is triggered asking the admin to review plan settings.

Tags: Vendor Plans Billing Periods Subscription Monthly / Yearly Color Customization CRON MultiVendor Cart-Power
v1.1  ·  cart-power.com
Supplement Facts
Amount Per Serving %Daily Value
Compatible Youpitheme 10%
Comptabile versions 4.16.x 10%

* Daily Value not established.

Features
Compatible
  • Unitheme
  • Youpitheme
Comptabile versions
  • 4.18.x ,
  • 4.17.x ,
  • 4.16.x
Cs-cart Core
  • Multi-vendor
Improvement For
  • Admin
  • Vendor
Reviews

No reviews found

Customer questions & answers.

Sort by
Please sign in to submit an answer.

No customer questions. Be the first to ask a question.

Be the first to ask a question!

You may be interested
  • Most Popular
  • On Sale
  • Recently Viewed
 
Fast and high quality delivery

Our company makes delivery all over the country

Quality assurance and service

We offer only those goods, in which quality we are sure

Returns within 30 days

You have 30 days to test your purchase