Plugin Directory

Changeset 2943295


Ignore:
Timestamp:
07/26/2023 12:58:56 AM (3 years ago)
Author:
aihimel
Message:

version 1.2.1

Location:
wc-call-for-price/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wc-call-for-price/trunk/readme.txt

    r2098840 r2943295  
    11=== WC Call For Price ===
    2 Contributors: aihimel
     2Contributors: aihimel, iamasadpolash
    33Tags: call for price, woocommerce, plugin, customizable, image upload, admin page, feature rich
    44Requires at least: 4.2.2
    5 Tested up to: 5.2
     5Tested up to: 6.2.2
     6Requires PHP: 7.2
    67Stable tag: trunk
    7 License: GPLv2 or later
    8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
     8License: GPLv3 or later
     9License URI: http://www.gnu.org/licenses/gpl-3.0.html
    910
    1011This plugin shows "Call For Price" text/HTML or image on empty price fields. It depends on woocommerce.
     
    1213== Description ==
    1314
    14 This is a woocommerce plugin that shows "call for price" on empty price products of woocommerce. It supports simple
    15 text, html and also images. You call select call for price image from the plugin's internal images or you can
    16 upload your own image.
     15**WC Call for price or WooCommerce Call for Price plugin** is a free WordPress plugin that will let you put **Call For Price** button as selectable/uploadable image or as text instead of price for products. You can also provide custom **HTML** context instead of plain text.
    1716
     17It is tested up to the latest version of **WordPress** and **PHP**.
     18
     19Join in at [Github](https://github.com/aihimel/wc-call-for-price) Development
    1820
    1921== Installation ==
    2022
    21 The installation process is very simple.
     23Installing WC Call for Price plugin for WooCommerce is just like any other plugin installation.
    2224
    23 1. Install and activate Woocommerce.
    24 1. Install WC Call For Price plugin from wordpress plugin directory or upload the plugin manually to your server at /wp-content/plugins/ directory.
    25 1. Activate the plugin through 'Plugins' menu in the Wordpress Administrator.
    26 1. Go to Woocommerce >> Call For Price menu.
     25#### Hosting Requirement
     26
     27Any hosting that supports WordPress installation can be used to install WC Call for Price plugin
     28
     29* Supports any shared hosting
     30* Supports any dedicated hosting
     31* Supports VPS(Virtual Private Server) hosting
     32* Supports AWS(Amazone Web Services)
     33
     34#### Hardware Requirement
     35No specific hardware requirement
     36
     37#### Special PHP Packages
     38No special PHP Packages are required
     39
     40#### Installation Process
     41* Install WordPress
     42* Install and activate WooCommerce
     43* Install WC Call For Price
     44 * **From WordPress Dashboard**
     45 * Go to Plugins > Installed Plugins
     46 * Click Add New button besides page title Plugin
     47 * Search "WC Call for Price" by Aftabul Islam
     48 * Install & Activate
     49 * **By Downloading**
     50 * Visit [WC Call for Price](https://wordpress.org/plugins/wc-call-for-price/) WordPress.org Plugin Download Page
     51 * Download the Plugin
     52 * Upload the plugin
     53 * Install and Activate
    2754
    2855Thats all you need to do.
     
    4875== Changelog ==
    4976
    50 = 1.0 =
     77= 1.2.1 (25 July, 2023)=
     78* Tested up-to WordPress 6.2.2
     79* Tested up to PHP v7.2
     80* Unnecessary asset files removed
     81* License Update to GPLv3
    5182
    52 * Initial release of the plugin.
     83= 1.1.1 =
     84* Backend font issue has been fixed
     85* Clash with some other plugin has been fixed
    5386
    5487= 1.1 =
    55 
    5688* Tested for version 4.4.1
    5789* Screenshots added
    5890
    59 = 1.1.1 =
    60 
    61 * Backend font issue has been fixed
    62 * Clash with some other plugin has been fixed
     91= 1.0 =
     92* Initial release of the plugin.
  • wc-call-for-price/trunk/wc-call-for-price.php

    r2098840 r2943295  
    11<?php
    2 
    32/**
    43 * Plugin Name: WC Call For Price
    54 * Plugin URI: http://www.wordpress.org/wc-call-for-price
    6  * Version: 1.2.0
    7  * Author Name: Aftabul Islam
     5 * Version: 1.2.1
     6 * Author: Aftabul Islam
     7 * Author URI: https://profiles.wordpress.org/aihimel
    88 * Author Email: [email protected]
    9  * PHP version: 5.6
     9 * PHP version: 7.2
    1010 * Text domain: wc-call-for-price
    1111 * Description: This plugin shows "call for price" text/HTML or image on empty price fields. It depends on woocommerce.
    12  * License: GPLv2 or later
     12 * License: GPLv3 or later
    1313
    1414Copyright 2015  Aftabul Islam  (email : [email protected])
     
    2828*/
    2929
     30// Security Check
     31defined('ABSPATH') || die();
    3032
    31 // Restricting Direct Access
    32 defined('ABSPATH') or die("<h1>404</h1> Page not found.");
    33 
    34 //~ if(file_exists('../wp-admin/includes/plugin.php')) require_once('../wp-admin/includes/plugin.php');
    35 
    36 define('WC_CALL_FOR_PRICE_VERSION', '1.0');
    37 define('WC_CALL_FOR_PRICE_PATH', plugin_basename(__FILE__));
    38 
    39 if(PHP_VERSION_ID < 50200){
    40 
    41     wp_die('<div class=\'error\'><p>'.__('The WC Call For Price plugin requires at least PHP version of 5.2').'</p></div>');
    42 
    43     // Deactivating the plugin
    44     if(is_plugin_active(WC_CALL_FOR_PRICE_PATH)) deactivate_plugins(WC_CALL_FOR_PRICE_PATH);
    45 
    46 }
     33defined( 'WC_CALL_FOR_PRICE_VERSION' ) || define('WC_CALL_FOR_PRICE_VERSION', '1.2.0');
     34defined('WC_CALL_FOR_PRICE_PATH') || define('WC_CALL_FOR_PRICE_PATH', plugin_basename(__FILE__));
    4735
    4836// Activation and Deactivation Hooks
     
    5644
    5745// Activating the plugin
    58 if(!function_exists('wc_call_for_price__activate')){function wc_call_for_price__activate(){
     46if( ! function_exists('wc_call_for_price__activate') ) {
     47    /**
     48     * Checking if WooCommerce is installed and activated
     49     * @return void
     50     */
     51    function wc_call_for_price__activate(){
    5952
    60     // Cheacking if the woocommerce plugin is available
    61     if(!class_exists('WooCommerce')){
     53    // Checking if the woocommerce plugin is available
     54    if( ! class_exists('WooCommerce')){
    6255
    6356        deactivate_plugins(WC_CALL_FOR_PRICE_PATH);
Note: See TracChangeset for help on using the changeset viewer.