Plugin Directory

Changeset 3259776


Ignore:
Timestamp:
03/21/2025 02:14:25 PM (12 months ago)
Author:
wpiron
Message:

renewed plugin, added new functionality for premium users

Location:
wc-markup
Files:
3 added
9 edited
3 copied

Legend:

Unmodified
Added
Removed
  • wc-markup/tags/1.9.1/admin/class-wc-markup-admin.php

    r3142433 r3259776  
    399399
    400400            $wc_markup_settings[] = array(
     401                'name'     => __( 'Apply to Variation Products', 'wc-markup' ),
     402                'desc_tip' => __(
     403                    'When enabled, global markup settings will be applied to variation products that don\'t have specific markup settings.<br/>
     404                    When disabled, global markup will only apply to simple products.',
     405                    'wc-markup'
     406                ),
     407                'disabled' => true,
     408                'type'     => 'checkbox',
     409                'css'      => 'min-width:300px;',
     410                'desc'     => __( 'Enable', 'wc-markup' ),
     411            );
     412
     413            $wc_markup_settings[] = array(
    401414                'name'     => __( 'Sale Price Markup', 'wpiron-wc-markup' ),
    402415                'desc_tip' => __(
  • wc-markup/tags/1.9.1/admin/partials/wc-markup-admin-display.php

    r3076001 r3259776  
    11<?php
    22
    3 defined('ABSPATH') || exit;
     3defined( 'ABSPATH' ) || exit;
     4
     5// Get current user info for personalized greeting
     6$current_user = wp_get_current_user();
     7$user_name    = $current_user->display_name;
    48?>
     9<div class="wc-markup-admin-wrapper">
     10    <!-- Header Section -->
     11    <div class="wc-markup-header">
     12        <h1><?php
     13            esc_html_e( 'Markup For WooCommerce', 'wpiron-wc-markup' ); ?></h1>
     14        <div class="wc-markup-greeting">
     15            <h2><?php
     16                echo sprintf( esc_html__( 'Welcome, %s!', 'wpiron-wc-markup' ), esc_html( $user_name ) ); ?></h2>
     17            <p><?php
     18                esc_html_e( 'Thank you for using Markup For WooCommerce. Increase your profits with our powerful pricing management tools.',
     19                    'wpiron-wc-markup' ); ?></p>
     20        </div>
     21    </div>
     22
     23    <!-- Main Content -->
     24    <div class="wc-markup-content">
     25        <!-- Features Section -->
     26        <div class="wc-markup-features">
     27            <div class="wc-markup-feature-card">
     28                <span class="dashicons dashicons-plus"></span>
     29                <h3><?php
     30                    esc_html_e( 'Fixed & Percentage Markups', 'wpiron-wc-markup' ); ?></h3>
     31                <p><?php
     32                    esc_html_e( 'Add fixed or percentage markups to any product individually, saving time for stores with large inventories.',
     33                        'wpiron-wc-markup' ); ?></p>
     34            </div>
     35
     36            <div class="wc-markup-feature-card">
     37                <span class="dashicons dashicons-category"></span>
     38                <h3><?php
     39                    esc_html_e( 'All Product Types', 'wpiron-wc-markup' ); ?></h3>
     40                <p><?php
     41                    esc_html_e( 'Works with all WooCommerce product types including simple, variable, and grouped products.',
     42                        'wpiron-wc-markup' ); ?></p>
     43            </div>
     44
     45            <div class="wc-markup-feature-card">
     46                <span class="dashicons dashicons-admin-settings"></span>
     47                <h3><?php
     48                    esc_html_e( 'Easy Configuration', 'wpiron-wc-markup' ); ?></h3>
     49                <p><?php
     50                    esc_html_e( 'Simple setup with intuitive controls in the product data panel.',
     51                        'wpiron-wc-markup' ); ?></p>
     52            </div>
     53        </div>
     54
     55        <!-- Quick Links -->
     56        <div class="wc-markup-quick-links">
     57            <h3><?php
     58                esc_html_e( 'Quick Links', 'wpiron-wc-markup' ); ?></h3>
     59            <a href="admin.php?page=wc-settings&tab=products&section=markups" class="wc-markup-button secondary">
     60                <span class="dashicons dashicons-admin-settings"></span>
     61                <?php
     62                esc_html_e( 'Product Markup Settings', 'wpiron-wc-markup' ); ?>
     63            </a>
     64            <a href="edit.php?post_type=product" class="wc-markup-button secondary">
     65                <span class="dashicons dashicons-plus-alt"></span>
     66                <?php
     67                esc_html_e( 'Add New Product', 'wpiron-wc-markup' ); ?>
     68            </a>
     69            <a href="https://wpiron.com/contacts/" class="wc-markup-button secondary" target="_blank">
     70                <span class="dashicons dashicons-email"></span>
     71                <?php
     72                esc_html_e( 'Contact Support', 'wpiron-wc-markup' ); ?>
     73            </a>
     74        </div>
     75
     76        <!-- Premium Features -->
     77        <div class="wc-markup-premium-features">
     78            <h2><?php
     79                esc_html_e( 'Premium Features', 'wpiron-wc-markup' ); ?></h2>
     80            <div class="wc-markup-features-grid">
     81                <div class="wc-markup-feature-item">
     82                    <span class="dashicons dashicons-category"></span>
     83                    <h4><?php
     84                        esc_html_e( 'Category Markups', 'wpiron-wc-markup' ); ?></h4>
     85                    <p><?php
     86                        esc_html_e( 'Add markup to entire categories. Products in these categories automatically get the markup applied.',
     87                            'wpiron-wc-markup' ); ?></p>
     88                </div>
     89                <div class="wc-markup-feature-item">
     90                    <span class="dashicons dashicons-tag"></span>
     91                    <h4><?php
     92                        esc_html_e( 'Sale Price Markups', 'wpiron-wc-markup' ); ?></h4>
     93                    <p><?php
     94                        esc_html_e( 'Apply markups specifically to sale prices for more flexible pricing strategies.',
     95                            'wpiron-wc-markup' ); ?></p>
     96                </div>
     97                <div class="wc-markup-feature-item">
     98                    <span class="dashicons dashicons-editor-help"></span>
     99                    <h4><?php
     100                        esc_html_e( 'Round Pricing', 'wpiron-wc-markup' ); ?></h4>
     101                    <p><?php
     102                        esc_html_e( 'Automatically round final prices for more appealing price points.',
     103                            'wpiron-wc-markup' ); ?></p>
     104                </div>
     105                <div class="wc-markup-feature-item">
     106                    <span class="dashicons dashicons-chart-bar"></span>
     107                    <h4><?php
     108                        esc_html_e( 'Analytics', 'wpiron-wc-markup' ); ?></h4>
     109                    <p><?php
     110                        esc_html_e( 'Track how much additional revenue the plugin has generated for your business.',
     111                            'wpiron-wc-markup' ); ?></p>
     112                </div>
     113                <div class="wc-markup-feature-item">
     114                    <span class="dashicons dashicons-editor-ul"></span>
     115                    <h4><?php
     116                        esc_html_e( 'Batch Editing', 'wpiron-wc-markup' ); ?></h4>
     117                    <p><?php
     118                        esc_html_e( 'Edit markup for multiple products at once, saving you valuable time.',
     119                            'wpiron-wc-markup' ); ?></p>
     120                </div>
     121                <div class="wc-markup-feature-item">
     122                    <span class="dashicons dashicons-admin-site"></span>
     123                    <h4><?php
     124                        esc_html_e( 'Global Markup', 'wpiron-wc-markup' ); ?></h4>
     125                    <p><?php
     126                        esc_html_e( 'Set a store-wide markup for all products(simple, variation) with a single click.',
     127                            'wpiron-wc-markup' ); ?></p>
     128                </div>
     129                <div class="wc-markup-feature-item">
     130                    <span class="dashicons dashicons-randomize"></span>
     131                    <h4><?php
     132                        esc_html_e( 'Variation Support', 'wpiron-wc-markup' ); ?></h4>
     133                    <p><?php
     134                        esc_html_e( 'Set different markup prices for each product variation.',
     135                            'wpiron-wc-markup' ); ?></p>
     136                </div>
     137                <div class="wc-markup-feature-item">
     138                    <span class="dashicons dashicons-headset"></span>
     139                    <h4><?php
     140                        esc_html_e( 'Premium Support', 'wpiron-wc-markup' ); ?></h4>
     141                    <p><?php
     142                        esc_html_e( 'Get priority support from our dedicated team of WooCommerce experts.',
     143                            'wpiron-wc-markup' ); ?></p>
     144                </div>
     145            </div>
     146        </div>
     147
     148        <!-- Pricing Table -->
     149        <div class="wc-markup-pricing-section">
     150            <h2><?php
     151                esc_html_e( 'Upgrade to Premium', 'wpiron-wc-markup' ); ?></h2>
     152            <p class="wc-markup-subtitle"><?php
     153                esc_html_e( 'Unlock the full potential of Markup For WooCommerce with our premium plans',
     154                    'wpiron-wc-markup' ); ?></p>
     155
     156
     157            <div>
     158                <a href="https://checkout.freemius.com/plugin/10949/plan/18584/"
     159                   class="wc-markup-button primary" target="_blank">
     160                    <?php
     161                    esc_html_e( 'Yearly - Business - 1 website', 'wpiron-wc-markup' ); ?>
     162                </a>
     163
     164                <a href="https://checkout.freemius.com/plugin/10949/plan/21170/"
     165                   class="wc-markup-button primary" target="_blank">
     166                    <?php
     167                    esc_html_e( 'Monthly - Business - 1 website', 'wpiron-wc-markup' ); ?>
     168                </a>
     169
     170                <a href="https://checkout.freemius.com/plugin/10949/plan/18602/"
     171                   class="wc-markup-button primary" target="_blank">
     172                    <?php
     173                    esc_html_e( 'Lifetime - Business - 1 website', 'wpiron-wc-markup' ); ?>
     174                </a>
     175            </div>
     176            <br>
     177            <div>
     178                <a href="https://checkout.freemius.com/plugin/10949/plan/21171/"
     179                   class="wc-markup-button primary" target="_blank">
     180                    <?php
     181                    esc_html_e( 'Monthly - Agency - 20 website', 'wpiron-wc-markup' ); ?>
     182                </a>
     183
     184                <a href="https://checkout.freemius.com/plugin/10949/plan/18601/"
     185                   class="wc-markup-button primary" target="_blank">
     186                    <?php
     187                    esc_html_e( 'Yearly - Agency - 20 websites', 'wpiron-wc-markup' ); ?>
     188                </a>
     189
     190                <a href="https://checkout.freemius.com/plugin/10949/plan/18603/"
     191                   class="wc-markup-button primary" target="_blank">
     192                    <?php
     193                    esc_html_e( 'Lifetime - Agency - 20 websites', 'wpiron-wc-markup' ); ?>
     194                </a>
     195            </div>
     196
     197        </div>
     198
     199
     200    </div>
     201
     202    <!-- Footer -->
     203    <div class="wc-markup-footer">
     204        <p>
     205            <?php
     206            echo sprintf(
     207                esc_html__( 'Markup For WooCommerce v%s | Made with %s by %s', 'wpiron-wc-markup' ),
     208                esc_html( WC_MARKUP_VERSION ),
     209                '<span class="dashicons dashicons-heart"></span>',
     210                '<a href="https://wpiron.com" target="_blank">WPIRON</a>'
     211            ); ?>
     212        </p>
     213    </div>
     214</div>
     215
    5216<style>
    6     body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
    7     .container { max-width: 1200px; margin: auto; padding: 20px; }
    8     a { color: #0073aa; text-decoration: none; }
    9     a:hover { text-decoration: underline; }
    10     h1, h2, h3, h4 { color: #23282d; }
    11     .green-link { color: green; }
    12     .hr { margin-top: 20px; border: 0; border-top: 1px solid #ccc; }
    13     .table { width: 100%; border-collapse: collapse; }
    14     .table td { padding: 10px; vertical-align: top; }
    15     .markup-img { width: 100%; max-width: 300px; }
    16     .half {
    17         width:50%;
    18         float:left;
    19     }
    20     .clear{
    21         clear: both;
     217    /* Modern UI Styles */
     218    .wc-markup-admin-wrapper {
     219        max-width: 1200px;
     220        margin: 20px auto;
     221        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     222        color: #3c434a;
     223        background: #f0f0f1;
     224        border-radius: 4px;
     225        overflow: hidden;
     226        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     227    }
     228
     229    /* Header */
     230    .wc-markup-header {
     231        background: #fff;
     232        padding: 30px;
     233        border-bottom: 1px solid #e2e4e7;
     234        text-align: center;
     235    }
     236
     237    .wc-markup-header h1 {
     238        color: #1d2327;
     239        font-size: 2.2em;
     240        margin: 0 0 10px;
     241        font-weight: 600;
     242    }
     243
     244    .wc-markup-greeting {
     245        margin-top: 20px;
     246    }
     247
     248    .wc-markup-greeting h2 {
     249        font-size: 1.5em;
     250        margin: 0 0 10px;
     251        color: #3858e9;
     252        font-weight: 500;
     253    }
     254
     255    .wc-markup-greeting p {
     256        font-size: 1.1em;
     257        margin: 0;
     258        color: #50575e;
     259    }
     260
     261    /* Main Content */
     262    .wc-markup-content {
     263        padding: 30px;
     264        background: #fff;
     265    }
     266
     267    /* Features Cards */
     268    .wc-markup-features {
     269        display: flex;
     270        justify-content: space-between;
     271        margin-bottom: 30px;
     272        flex-wrap: wrap;
     273        gap: 20px;
     274    }
     275
     276    .wc-markup-feature-card {
     277        flex: 1;
     278        min-width: 250px;
     279        background: #f8f9fa;
     280        border-radius: 8px;
     281        padding: 20px;
     282        text-align: center;
     283        transition: all 0.3s ease;
     284        border: 1px solid #e2e4e7;
     285    }
     286
     287    .wc-markup-feature-card:hover {
     288        transform: translateY(-5px);
     289        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     290    }
     291
     292    .wc-markup-feature-card span.dashicons {
     293        font-size: 2.5em;
     294        width: auto;
     295        height: auto;
     296        color: #3858e9;
     297        margin-bottom: 15px;
     298    }
     299
     300    .wc-markup-feature-card h3 {
     301        margin: 0 0 10px;
     302        font-size: 1.2em;
     303        color: #1d2327;
     304    }
     305
     306    .wc-markup-feature-card p {
     307        margin: 0;
     308        color: #50575e;
     309    }
     310
     311    /* Quick Links */
     312    .wc-markup-quick-links {
     313        background: #f8f9fa;
     314        padding: 20px;
     315        border-radius: 8px;
     316        margin-bottom: 30px;
     317        border: 1px solid #e2e4e7;
     318    }
     319
     320    .wc-markup-quick-links h3 {
     321        margin-top: 0;
     322        margin-bottom: 15px;
     323        color: #1d2327;
     324    }
     325
     326    /* Buttons */
     327    .wc-markup-button {
     328        display: inline-flex;
     329        align-items: center;
     330        margin-right: 10px;
     331        padding: 8px 15px;
     332        border-radius: 4px;
     333        text-decoration: none;
     334        font-weight: 500;
     335        transition: all 0.2s ease;
     336    }
     337
     338    .wc-markup-button.primary {
     339        background: #3858e9;
     340        color: #fff;
     341        border: 1px solid #2a4de0;
     342    }
     343
     344    .wc-markup-button.primary:hover {
     345        background: #2a4de0;
     346        color: #fff;
     347    }
     348
     349    .wc-markup-button.secondary {
     350        background: #f0f0f1;
     351        color: #3c434a;
     352        border: 1px solid #c3c4c7;
     353    }
     354
     355    .wc-markup-button.secondary:hover {
     356        background: #e5e5e5;
     357    }
     358
     359    .wc-markup-button .dashicons {
     360        margin-right: 5px;
     361    }
     362
     363    /* Pricing Section */
     364    .wc-markup-pricing-section {
     365        text-align: center;
     366        margin: 40px 0;
     367    }
     368
     369    .wc-markup-pricing-section h2 {
     370        font-size: 1.8em;
     371        margin-bottom: 10px;
     372        color: #1d2327;
     373    }
     374
     375    .wc-markup-subtitle {
     376        font-size: 1.1em;
     377        color: #50575e;
     378        margin-bottom: 30px;
     379    }
     380
     381    .wc-markup-pricing-table {
     382        display: flex;
     383        justify-content: center;
     384        gap: 20px;
     385        margin-bottom: 30px;
     386        flex-wrap: wrap;
     387    }
     388
     389    .wc-markup-pricing-card {
     390        background: #fff;
     391        border: 1px solid #e2e4e7;
     392        border-radius: 8px;
     393        width: 300px;
     394        overflow: hidden;
     395        transition: all 0.3s ease;
     396        position: relative;
     397        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
     398    }
     399
     400    .wc-markup-pricing-card:hover {
     401        transform: translateY(-5px);
     402        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
     403    }
     404
     405    .wc-markup-pricing-card.popular {
     406        border: 2px solid #3858e9;
     407        transform: scale(1.05);
     408    }
     409
     410    .wc-markup-pricing-card.popular:hover {
     411        transform: scale(1.05) translateY(-5px);
     412    }
     413
     414    .wc-markup-popular-tag {
     415        background: #3858e9;
     416        color: #fff;
     417        padding: 5px 10px;
     418        position: absolute;
     419        top: 0;
     420        right: 0;
     421        font-size: 0.8em;
     422        border-bottom-left-radius: 8px;
     423        font-weight: 500;
     424    }
     425
     426    .wc-markup-pricing-header {
     427        padding: 20px;
     428        background: #f8f9fa;
     429        border-bottom: 1px solid #e2e4e7;
     430        text-align: center;
     431    }
     432
     433    .wc-markup-pricing-header h3 {
     434        margin: 0 0 15px;
     435        font-size: 1.4em;
     436        color: #1d2327;
     437    }
     438
     439    .wc-markup-price {
     440        display: flex;
     441        justify-content: center;
     442        align-items: baseline;
     443    }
     444
     445    .wc-markup-amount {
     446        font-size: 2.5em;
     447        font-weight: 600;
     448        color: #3858e9;
     449    }
     450
     451    .wc-markup-period {
     452        color: #50575e;
     453        margin-left: 5px;
     454    }
     455
     456    .wc-markup-pricing-features {
     457        padding: 20px;
     458        min-height: 180px;
     459    }
     460
     461    .wc-markup-pricing-features ul {
     462        list-style: none;
     463        padding: 0;
     464        margin: 0;
     465        text-align: left;
     466    }
     467
     468    .wc-markup-pricing-features ul li {
     469        margin-bottom: 10px;
     470        display: flex;
     471        align-items: center;
     472    }
     473
     474    .wc-markup-pricing-features ul li .dashicons {
     475        color: #3858e9;
     476        margin-right: 8px;
     477    }
     478
     479    .wc-markup-pricing-footer {
     480        padding: 0 20px 20px;
     481        text-align: center;
     482    }
     483
     484    .wc-markup-pricing-footer .wc-markup-button {
     485        width: 100%;
     486        justify-content: center;
     487    }
     488
     489    .wc-markup-guarantee {
     490        display: flex;
     491        align-items: center;
     492        justify-content: center;
     493        margin-top: 20px;
     494        color: #50575e;
     495    }
     496
     497    .wc-markup-guarantee .dashicons {
     498        color: #3858e9;
     499        margin-right: 5px;
     500        font-size: 1.2em;
     501    }
     502
     503    /* Premium Features */
     504    .wc-markup-premium-features {
     505        margin-top: 40px;
     506    }
     507
     508    .wc-markup-premium-features h2 {
     509        text-align: center;
     510        margin-bottom: 30px;
     511        color: #1d2327;
     512    }
     513
     514    .wc-markup-features-grid {
     515        display: grid;
     516        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     517        gap: 20px;
     518    }
     519
     520    .wc-markup-feature-item {
     521        background: #f8f9fa;
     522        border-radius: 8px;
     523        padding: 20px;
     524        border: 1px solid #e2e4e7;
     525        transition: all 0.3s ease;
     526    }
     527
     528    .wc-markup-feature-item:hover {
     529        transform: translateY(-5px);
     530        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     531    }
     532
     533    .wc-markup-feature-item .dashicons {
     534        color: #3858e9;
     535        font-size: 1.8em;
     536        width: auto;
     537        height: auto;
     538        margin-bottom: 10px;
     539    }
     540
     541    .wc-markup-feature-item h4 {
     542        margin: 0 0 10px;
     543        color: #1d2327;
     544    }
     545
     546    .wc-markup-feature-item p {
     547        margin: 0;
     548        color: #50575e;
     549    }
     550
     551    /* Footer */
     552    .wc-markup-footer {
     553        background: #f8f9fa;
     554        padding: 15px;
     555        text-align: center;
     556        border-top: 1px solid #e2e4e7;
     557    }
     558
     559    .wc-markup-footer p {
     560        margin: 0;
     561        color: #50575e;
     562    }
     563
     564    .wc-markup-footer a {
     565        color: #3858e9;
     566        text-decoration: none;
     567    }
     568
     569    .wc-markup-footer .dashicons {
     570        color: #ff4f56;
     571        font-size: 1.1em;
     572        width: auto;
     573        height: auto;
     574        vertical-align: middle;
     575    }
     576
     577    /* Responsive Fixes */
     578    @media screen and (max-width: 782px) {
     579        .wc-markup-features {
     580            flex-direction: column;
     581        }
     582
     583        .wc-markup-pricing-table {
     584            flex-direction: column;
     585            align-items: center;
     586        }
     587
     588        .wc-markup-pricing-card {
     589            width: 100%;
     590            max-width: 350px;
     591            margin-bottom: 20px;
     592        }
     593
     594        .wc-markup-pricing-card.popular {
     595            transform: scale(1);
     596            order: -1;
     597        }
     598
     599        .wc-markup-pricing-card.popular:hover {
     600            transform: translateY(-5px);
     601        }
    22602    }
    23603</style>
    24 <div class="container">
    25     <h1 class="wp-heading-inline"><?php esc_html_e('Markup For WooCommerce', 'wpiron-wc-markup'); ?></h1>
    26     <hr class="hr">
    27     <div class="half">
    28         <strong>Useful links</strong>
    29         <p style="margin:0;">Settings for Markup: <a href="admin.php?page=wc-settings&tab=products&section=markups">Product Markup Settings</a></p>
    30         <p style="margin:0;">Contact us: <a href="https://wpiron.com/contacts/">Contact page</a></p>
    31         <br>
    32         <strong>How to use the plugin?</strong>
    33         <ol>
    34             <li>Go to <a href="edit.php?post_type=product"><strong>Add New Product</strong></a></li>
    35             <li>Click <strong>ADD NEW</strong></li>
    36             <li>Go Down To <strong>PRODUCT DATA</strong></li>
    37             <li>On the left hand side click <strong>MARKUP</strong></li>
    38         </ol>
    39     </div>
    40     <div class="half">
    41         <strong>Upgrade your plan: <a class="green-link" href="https://wpiron.com/products/markup-for-woocommerce/" target="_blank">Upgrade Markup For WooCommerce plugin</a></strong>
    42         <h4>What you will get with premium version?</h4>
    43         <ol>
    44             <li>Add <strong>markup to categories</strong> and after you will check category - markup automatically will be added to a product</li>
    45             <li><strong>Sale Price</strong> Markup Setting - calculate markups on sale price</li>
    46             <li>Round Markup Setting - round final prices</li>
    47             <li><strong>Analytics</strong> - check how much money our plugin generated for you!</li>
    48             <li>Edit batch products of markup</li>
    49             <li>Set <strong>global markup</strong> price to all products in WooCommerce.</li>
    50             <li>Set markup price for <strong>variation products</strong>.</li>
    51         </ol>
    52     </div>
    53     <div class="clear">
    54     </div>
    55     <hr class="hr">
    56     <table class="table">
    57         <tr>
    58             <td>
    59                 <strong>Add fixed and percentage value markups to your products</strong>
    60                 <p>You can add fixed price markup to any product individually. This will calculate a price based on the
    61                     total cost of that product, plus your desired fixed markup. This is a great time-saving feature for
    62                     stores that have a lot of inventory.</p>
    63             </td>
    64             <td>
    65                 <img class="markup-img" src="<?php echo plugin_dir_url(__FILE__); ?>img/markup.png" alt="">
    66             </td>
    67         </tr>
    68         <tr>
    69             <td>
    70                 <img class="markup-img" src="<?php echo plugin_dir_url(__FILE__); ?>img/variable.png" alt="">
    71             </td>
    72             <td>
    73                 <strong>Create a markup in all types of WooCommerce products and categories</strong>
    74                 <p>This plugin helps you to create the price markup in all the types of WooCommerce products and categories.
    75                     It is a powerful and easy to use plugin with many options for your needs by using this plugin you can
    76                     create any kind of markup on products, categories and more things.</p>
    77             </td>
    78         </tr>
    79     </table>
    80 </div>
  • wc-markup/tags/1.9.1/readme.txt

    r3225139 r3259776  
    55Requires at least: 6.7
    66Tested up to: 6.7
    7 Stable tag: 1.9.0
     7Stable tag: 1.9.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    1212The easiest way to apply markup to your WooCommerce products and track earnings generated by the plugin.
    1313
    14 == Description ==s
     14== Description ==
    1515
    1616### 🤩 Easily Markup Your WooCommerce Products and Track Earnings 🛒
     
    3636* **Category Markup:** Apply markup prices to entire product categories.
    3737* **Quick Edit Mode:** Edit markup prices in the Quick Edit mode.
    38 * **Global Markup:** Set a global markup price for all products in WooCommerce.
     38* **Global Markup:** Set a global markup price for all products in WooCommerce including simple and variation product types.
    3939* **Analytics Dashboard:** Track how much revenue the plugin has generated for you.
    4040* **Dedicated Support:** Reach out to us with any questions or issues.
     
    91915. screenshot-5.png
    92926. screenshot-6.png
     937. screenshot-7.png
     948. screenshot-8.png
     959. screenshot-9.png
    9396
    9497== Changelog ==
     
    200203= 1.9.0 =
    201204* Compatibility with WP 6.7
     205
     206= 1.9.1 =
     207* Added nicer dashboard
     208* Added purchase option from the dashboard
     209* Added additional feature - Global markup for variation products
  • wc-markup/tags/1.9.1/wc-markup.php

    r3225139 r3259776  
    1010 * Plugin URI:        https://wpiron.com
    1111 * Description:       Create and apply your own markups on products and variations. Easily add a markup to specific product types, categories, attributes. Native bulk actions is available.
    12  * Version:           1.9.0
     12 * Version:           1.9.1
    1313 * Author:            WP Iron
    1414 * Author URI:        https://wpiron.com
     
    2727 * Rename this for your plugin and update it as you release new versions.
    2828 */
    29 define( 'WC_MARKUP_VERSION', '1.9.0' );
     29define( 'WC_MARKUP_VERSION', '1.9.1' );
    3030/**
    3131 * The code that runs during plugin activation.
  • wc-markup/trunk/admin/class-wc-markup-admin.php

    r3142433 r3259776  
    399399
    400400            $wc_markup_settings[] = array(
     401                'name'     => __( 'Apply to Variation Products', 'wc-markup' ),
     402                'desc_tip' => __(
     403                    'When enabled, global markup settings will be applied to variation products that don\'t have specific markup settings.<br/>
     404                    When disabled, global markup will only apply to simple products.',
     405                    'wc-markup'
     406                ),
     407                'disabled' => true,
     408                'type'     => 'checkbox',
     409                'css'      => 'min-width:300px;',
     410                'desc'     => __( 'Enable', 'wc-markup' ),
     411            );
     412
     413            $wc_markup_settings[] = array(
    401414                'name'     => __( 'Sale Price Markup', 'wpiron-wc-markup' ),
    402415                'desc_tip' => __(
  • wc-markup/trunk/admin/partials/wc-markup-admin-display.php

    r3076001 r3259776  
    11<?php
    22
    3 defined('ABSPATH') || exit;
     3defined( 'ABSPATH' ) || exit;
     4
     5// Get current user info for personalized greeting
     6$current_user = wp_get_current_user();
     7$user_name    = $current_user->display_name;
    48?>
     9<div class="wc-markup-admin-wrapper">
     10    <!-- Header Section -->
     11    <div class="wc-markup-header">
     12        <h1><?php
     13            esc_html_e( 'Markup For WooCommerce', 'wpiron-wc-markup' ); ?></h1>
     14        <div class="wc-markup-greeting">
     15            <h2><?php
     16                echo sprintf( esc_html__( 'Welcome, %s!', 'wpiron-wc-markup' ), esc_html( $user_name ) ); ?></h2>
     17            <p><?php
     18                esc_html_e( 'Thank you for using Markup For WooCommerce. Increase your profits with our powerful pricing management tools.',
     19                    'wpiron-wc-markup' ); ?></p>
     20        </div>
     21    </div>
     22
     23    <!-- Main Content -->
     24    <div class="wc-markup-content">
     25        <!-- Features Section -->
     26        <div class="wc-markup-features">
     27            <div class="wc-markup-feature-card">
     28                <span class="dashicons dashicons-plus"></span>
     29                <h3><?php
     30                    esc_html_e( 'Fixed & Percentage Markups', 'wpiron-wc-markup' ); ?></h3>
     31                <p><?php
     32                    esc_html_e( 'Add fixed or percentage markups to any product individually, saving time for stores with large inventories.',
     33                        'wpiron-wc-markup' ); ?></p>
     34            </div>
     35
     36            <div class="wc-markup-feature-card">
     37                <span class="dashicons dashicons-category"></span>
     38                <h3><?php
     39                    esc_html_e( 'All Product Types', 'wpiron-wc-markup' ); ?></h3>
     40                <p><?php
     41                    esc_html_e( 'Works with all WooCommerce product types including simple, variable, and grouped products.',
     42                        'wpiron-wc-markup' ); ?></p>
     43            </div>
     44
     45            <div class="wc-markup-feature-card">
     46                <span class="dashicons dashicons-admin-settings"></span>
     47                <h3><?php
     48                    esc_html_e( 'Easy Configuration', 'wpiron-wc-markup' ); ?></h3>
     49                <p><?php
     50                    esc_html_e( 'Simple setup with intuitive controls in the product data panel.',
     51                        'wpiron-wc-markup' ); ?></p>
     52            </div>
     53        </div>
     54
     55        <!-- Quick Links -->
     56        <div class="wc-markup-quick-links">
     57            <h3><?php
     58                esc_html_e( 'Quick Links', 'wpiron-wc-markup' ); ?></h3>
     59            <a href="admin.php?page=wc-settings&tab=products&section=markups" class="wc-markup-button secondary">
     60                <span class="dashicons dashicons-admin-settings"></span>
     61                <?php
     62                esc_html_e( 'Product Markup Settings', 'wpiron-wc-markup' ); ?>
     63            </a>
     64            <a href="edit.php?post_type=product" class="wc-markup-button secondary">
     65                <span class="dashicons dashicons-plus-alt"></span>
     66                <?php
     67                esc_html_e( 'Add New Product', 'wpiron-wc-markup' ); ?>
     68            </a>
     69            <a href="https://wpiron.com/contacts/" class="wc-markup-button secondary" target="_blank">
     70                <span class="dashicons dashicons-email"></span>
     71                <?php
     72                esc_html_e( 'Contact Support', 'wpiron-wc-markup' ); ?>
     73            </a>
     74        </div>
     75
     76        <!-- Premium Features -->
     77        <div class="wc-markup-premium-features">
     78            <h2><?php
     79                esc_html_e( 'Premium Features', 'wpiron-wc-markup' ); ?></h2>
     80            <div class="wc-markup-features-grid">
     81                <div class="wc-markup-feature-item">
     82                    <span class="dashicons dashicons-category"></span>
     83                    <h4><?php
     84                        esc_html_e( 'Category Markups', 'wpiron-wc-markup' ); ?></h4>
     85                    <p><?php
     86                        esc_html_e( 'Add markup to entire categories. Products in these categories automatically get the markup applied.',
     87                            'wpiron-wc-markup' ); ?></p>
     88                </div>
     89                <div class="wc-markup-feature-item">
     90                    <span class="dashicons dashicons-tag"></span>
     91                    <h4><?php
     92                        esc_html_e( 'Sale Price Markups', 'wpiron-wc-markup' ); ?></h4>
     93                    <p><?php
     94                        esc_html_e( 'Apply markups specifically to sale prices for more flexible pricing strategies.',
     95                            'wpiron-wc-markup' ); ?></p>
     96                </div>
     97                <div class="wc-markup-feature-item">
     98                    <span class="dashicons dashicons-editor-help"></span>
     99                    <h4><?php
     100                        esc_html_e( 'Round Pricing', 'wpiron-wc-markup' ); ?></h4>
     101                    <p><?php
     102                        esc_html_e( 'Automatically round final prices for more appealing price points.',
     103                            'wpiron-wc-markup' ); ?></p>
     104                </div>
     105                <div class="wc-markup-feature-item">
     106                    <span class="dashicons dashicons-chart-bar"></span>
     107                    <h4><?php
     108                        esc_html_e( 'Analytics', 'wpiron-wc-markup' ); ?></h4>
     109                    <p><?php
     110                        esc_html_e( 'Track how much additional revenue the plugin has generated for your business.',
     111                            'wpiron-wc-markup' ); ?></p>
     112                </div>
     113                <div class="wc-markup-feature-item">
     114                    <span class="dashicons dashicons-editor-ul"></span>
     115                    <h4><?php
     116                        esc_html_e( 'Batch Editing', 'wpiron-wc-markup' ); ?></h4>
     117                    <p><?php
     118                        esc_html_e( 'Edit markup for multiple products at once, saving you valuable time.',
     119                            'wpiron-wc-markup' ); ?></p>
     120                </div>
     121                <div class="wc-markup-feature-item">
     122                    <span class="dashicons dashicons-admin-site"></span>
     123                    <h4><?php
     124                        esc_html_e( 'Global Markup', 'wpiron-wc-markup' ); ?></h4>
     125                    <p><?php
     126                        esc_html_e( 'Set a store-wide markup for all products(simple, variation) with a single click.',
     127                            'wpiron-wc-markup' ); ?></p>
     128                </div>
     129                <div class="wc-markup-feature-item">
     130                    <span class="dashicons dashicons-randomize"></span>
     131                    <h4><?php
     132                        esc_html_e( 'Variation Support', 'wpiron-wc-markup' ); ?></h4>
     133                    <p><?php
     134                        esc_html_e( 'Set different markup prices for each product variation.',
     135                            'wpiron-wc-markup' ); ?></p>
     136                </div>
     137                <div class="wc-markup-feature-item">
     138                    <span class="dashicons dashicons-headset"></span>
     139                    <h4><?php
     140                        esc_html_e( 'Premium Support', 'wpiron-wc-markup' ); ?></h4>
     141                    <p><?php
     142                        esc_html_e( 'Get priority support from our dedicated team of WooCommerce experts.',
     143                            'wpiron-wc-markup' ); ?></p>
     144                </div>
     145            </div>
     146        </div>
     147
     148        <!-- Pricing Table -->
     149        <div class="wc-markup-pricing-section">
     150            <h2><?php
     151                esc_html_e( 'Upgrade to Premium', 'wpiron-wc-markup' ); ?></h2>
     152            <p class="wc-markup-subtitle"><?php
     153                esc_html_e( 'Unlock the full potential of Markup For WooCommerce with our premium plans',
     154                    'wpiron-wc-markup' ); ?></p>
     155
     156
     157            <div>
     158                <a href="https://checkout.freemius.com/plugin/10949/plan/18584/"
     159                   class="wc-markup-button primary" target="_blank">
     160                    <?php
     161                    esc_html_e( 'Yearly - Business - 1 website', 'wpiron-wc-markup' ); ?>
     162                </a>
     163
     164                <a href="https://checkout.freemius.com/plugin/10949/plan/21170/"
     165                   class="wc-markup-button primary" target="_blank">
     166                    <?php
     167                    esc_html_e( 'Monthly - Business - 1 website', 'wpiron-wc-markup' ); ?>
     168                </a>
     169
     170                <a href="https://checkout.freemius.com/plugin/10949/plan/18602/"
     171                   class="wc-markup-button primary" target="_blank">
     172                    <?php
     173                    esc_html_e( 'Lifetime - Business - 1 website', 'wpiron-wc-markup' ); ?>
     174                </a>
     175            </div>
     176            <br>
     177            <div>
     178                <a href="https://checkout.freemius.com/plugin/10949/plan/21171/"
     179                   class="wc-markup-button primary" target="_blank">
     180                    <?php
     181                    esc_html_e( 'Monthly - Agency - 20 website', 'wpiron-wc-markup' ); ?>
     182                </a>
     183
     184                <a href="https://checkout.freemius.com/plugin/10949/plan/18601/"
     185                   class="wc-markup-button primary" target="_blank">
     186                    <?php
     187                    esc_html_e( 'Yearly - Agency - 20 websites', 'wpiron-wc-markup' ); ?>
     188                </a>
     189
     190                <a href="https://checkout.freemius.com/plugin/10949/plan/18603/"
     191                   class="wc-markup-button primary" target="_blank">
     192                    <?php
     193                    esc_html_e( 'Lifetime - Agency - 20 websites', 'wpiron-wc-markup' ); ?>
     194                </a>
     195            </div>
     196
     197        </div>
     198
     199
     200    </div>
     201
     202    <!-- Footer -->
     203    <div class="wc-markup-footer">
     204        <p>
     205            <?php
     206            echo sprintf(
     207                esc_html__( 'Markup For WooCommerce v%s | Made with %s by %s', 'wpiron-wc-markup' ),
     208                esc_html( WC_MARKUP_VERSION ),
     209                '<span class="dashicons dashicons-heart"></span>',
     210                '<a href="https://wpiron.com" target="_blank">WPIRON</a>'
     211            ); ?>
     212        </p>
     213    </div>
     214</div>
     215
    5216<style>
    6     body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
    7     .container { max-width: 1200px; margin: auto; padding: 20px; }
    8     a { color: #0073aa; text-decoration: none; }
    9     a:hover { text-decoration: underline; }
    10     h1, h2, h3, h4 { color: #23282d; }
    11     .green-link { color: green; }
    12     .hr { margin-top: 20px; border: 0; border-top: 1px solid #ccc; }
    13     .table { width: 100%; border-collapse: collapse; }
    14     .table td { padding: 10px; vertical-align: top; }
    15     .markup-img { width: 100%; max-width: 300px; }
    16     .half {
    17         width:50%;
    18         float:left;
    19     }
    20     .clear{
    21         clear: both;
     217    /* Modern UI Styles */
     218    .wc-markup-admin-wrapper {
     219        max-width: 1200px;
     220        margin: 20px auto;
     221        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     222        color: #3c434a;
     223        background: #f0f0f1;
     224        border-radius: 4px;
     225        overflow: hidden;
     226        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     227    }
     228
     229    /* Header */
     230    .wc-markup-header {
     231        background: #fff;
     232        padding: 30px;
     233        border-bottom: 1px solid #e2e4e7;
     234        text-align: center;
     235    }
     236
     237    .wc-markup-header h1 {
     238        color: #1d2327;
     239        font-size: 2.2em;
     240        margin: 0 0 10px;
     241        font-weight: 600;
     242    }
     243
     244    .wc-markup-greeting {
     245        margin-top: 20px;
     246    }
     247
     248    .wc-markup-greeting h2 {
     249        font-size: 1.5em;
     250        margin: 0 0 10px;
     251        color: #3858e9;
     252        font-weight: 500;
     253    }
     254
     255    .wc-markup-greeting p {
     256        font-size: 1.1em;
     257        margin: 0;
     258        color: #50575e;
     259    }
     260
     261    /* Main Content */
     262    .wc-markup-content {
     263        padding: 30px;
     264        background: #fff;
     265    }
     266
     267    /* Features Cards */
     268    .wc-markup-features {
     269        display: flex;
     270        justify-content: space-between;
     271        margin-bottom: 30px;
     272        flex-wrap: wrap;
     273        gap: 20px;
     274    }
     275
     276    .wc-markup-feature-card {
     277        flex: 1;
     278        min-width: 250px;
     279        background: #f8f9fa;
     280        border-radius: 8px;
     281        padding: 20px;
     282        text-align: center;
     283        transition: all 0.3s ease;
     284        border: 1px solid #e2e4e7;
     285    }
     286
     287    .wc-markup-feature-card:hover {
     288        transform: translateY(-5px);
     289        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     290    }
     291
     292    .wc-markup-feature-card span.dashicons {
     293        font-size: 2.5em;
     294        width: auto;
     295        height: auto;
     296        color: #3858e9;
     297        margin-bottom: 15px;
     298    }
     299
     300    .wc-markup-feature-card h3 {
     301        margin: 0 0 10px;
     302        font-size: 1.2em;
     303        color: #1d2327;
     304    }
     305
     306    .wc-markup-feature-card p {
     307        margin: 0;
     308        color: #50575e;
     309    }
     310
     311    /* Quick Links */
     312    .wc-markup-quick-links {
     313        background: #f8f9fa;
     314        padding: 20px;
     315        border-radius: 8px;
     316        margin-bottom: 30px;
     317        border: 1px solid #e2e4e7;
     318    }
     319
     320    .wc-markup-quick-links h3 {
     321        margin-top: 0;
     322        margin-bottom: 15px;
     323        color: #1d2327;
     324    }
     325
     326    /* Buttons */
     327    .wc-markup-button {
     328        display: inline-flex;
     329        align-items: center;
     330        margin-right: 10px;
     331        padding: 8px 15px;
     332        border-radius: 4px;
     333        text-decoration: none;
     334        font-weight: 500;
     335        transition: all 0.2s ease;
     336    }
     337
     338    .wc-markup-button.primary {
     339        background: #3858e9;
     340        color: #fff;
     341        border: 1px solid #2a4de0;
     342    }
     343
     344    .wc-markup-button.primary:hover {
     345        background: #2a4de0;
     346        color: #fff;
     347    }
     348
     349    .wc-markup-button.secondary {
     350        background: #f0f0f1;
     351        color: #3c434a;
     352        border: 1px solid #c3c4c7;
     353    }
     354
     355    .wc-markup-button.secondary:hover {
     356        background: #e5e5e5;
     357    }
     358
     359    .wc-markup-button .dashicons {
     360        margin-right: 5px;
     361    }
     362
     363    /* Pricing Section */
     364    .wc-markup-pricing-section {
     365        text-align: center;
     366        margin: 40px 0;
     367    }
     368
     369    .wc-markup-pricing-section h2 {
     370        font-size: 1.8em;
     371        margin-bottom: 10px;
     372        color: #1d2327;
     373    }
     374
     375    .wc-markup-subtitle {
     376        font-size: 1.1em;
     377        color: #50575e;
     378        margin-bottom: 30px;
     379    }
     380
     381    .wc-markup-pricing-table {
     382        display: flex;
     383        justify-content: center;
     384        gap: 20px;
     385        margin-bottom: 30px;
     386        flex-wrap: wrap;
     387    }
     388
     389    .wc-markup-pricing-card {
     390        background: #fff;
     391        border: 1px solid #e2e4e7;
     392        border-radius: 8px;
     393        width: 300px;
     394        overflow: hidden;
     395        transition: all 0.3s ease;
     396        position: relative;
     397        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
     398    }
     399
     400    .wc-markup-pricing-card:hover {
     401        transform: translateY(-5px);
     402        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
     403    }
     404
     405    .wc-markup-pricing-card.popular {
     406        border: 2px solid #3858e9;
     407        transform: scale(1.05);
     408    }
     409
     410    .wc-markup-pricing-card.popular:hover {
     411        transform: scale(1.05) translateY(-5px);
     412    }
     413
     414    .wc-markup-popular-tag {
     415        background: #3858e9;
     416        color: #fff;
     417        padding: 5px 10px;
     418        position: absolute;
     419        top: 0;
     420        right: 0;
     421        font-size: 0.8em;
     422        border-bottom-left-radius: 8px;
     423        font-weight: 500;
     424    }
     425
     426    .wc-markup-pricing-header {
     427        padding: 20px;
     428        background: #f8f9fa;
     429        border-bottom: 1px solid #e2e4e7;
     430        text-align: center;
     431    }
     432
     433    .wc-markup-pricing-header h3 {
     434        margin: 0 0 15px;
     435        font-size: 1.4em;
     436        color: #1d2327;
     437    }
     438
     439    .wc-markup-price {
     440        display: flex;
     441        justify-content: center;
     442        align-items: baseline;
     443    }
     444
     445    .wc-markup-amount {
     446        font-size: 2.5em;
     447        font-weight: 600;
     448        color: #3858e9;
     449    }
     450
     451    .wc-markup-period {
     452        color: #50575e;
     453        margin-left: 5px;
     454    }
     455
     456    .wc-markup-pricing-features {
     457        padding: 20px;
     458        min-height: 180px;
     459    }
     460
     461    .wc-markup-pricing-features ul {
     462        list-style: none;
     463        padding: 0;
     464        margin: 0;
     465        text-align: left;
     466    }
     467
     468    .wc-markup-pricing-features ul li {
     469        margin-bottom: 10px;
     470        display: flex;
     471        align-items: center;
     472    }
     473
     474    .wc-markup-pricing-features ul li .dashicons {
     475        color: #3858e9;
     476        margin-right: 8px;
     477    }
     478
     479    .wc-markup-pricing-footer {
     480        padding: 0 20px 20px;
     481        text-align: center;
     482    }
     483
     484    .wc-markup-pricing-footer .wc-markup-button {
     485        width: 100%;
     486        justify-content: center;
     487    }
     488
     489    .wc-markup-guarantee {
     490        display: flex;
     491        align-items: center;
     492        justify-content: center;
     493        margin-top: 20px;
     494        color: #50575e;
     495    }
     496
     497    .wc-markup-guarantee .dashicons {
     498        color: #3858e9;
     499        margin-right: 5px;
     500        font-size: 1.2em;
     501    }
     502
     503    /* Premium Features */
     504    .wc-markup-premium-features {
     505        margin-top: 40px;
     506    }
     507
     508    .wc-markup-premium-features h2 {
     509        text-align: center;
     510        margin-bottom: 30px;
     511        color: #1d2327;
     512    }
     513
     514    .wc-markup-features-grid {
     515        display: grid;
     516        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     517        gap: 20px;
     518    }
     519
     520    .wc-markup-feature-item {
     521        background: #f8f9fa;
     522        border-radius: 8px;
     523        padding: 20px;
     524        border: 1px solid #e2e4e7;
     525        transition: all 0.3s ease;
     526    }
     527
     528    .wc-markup-feature-item:hover {
     529        transform: translateY(-5px);
     530        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     531    }
     532
     533    .wc-markup-feature-item .dashicons {
     534        color: #3858e9;
     535        font-size: 1.8em;
     536        width: auto;
     537        height: auto;
     538        margin-bottom: 10px;
     539    }
     540
     541    .wc-markup-feature-item h4 {
     542        margin: 0 0 10px;
     543        color: #1d2327;
     544    }
     545
     546    .wc-markup-feature-item p {
     547        margin: 0;
     548        color: #50575e;
     549    }
     550
     551    /* Footer */
     552    .wc-markup-footer {
     553        background: #f8f9fa;
     554        padding: 15px;
     555        text-align: center;
     556        border-top: 1px solid #e2e4e7;
     557    }
     558
     559    .wc-markup-footer p {
     560        margin: 0;
     561        color: #50575e;
     562    }
     563
     564    .wc-markup-footer a {
     565        color: #3858e9;
     566        text-decoration: none;
     567    }
     568
     569    .wc-markup-footer .dashicons {
     570        color: #ff4f56;
     571        font-size: 1.1em;
     572        width: auto;
     573        height: auto;
     574        vertical-align: middle;
     575    }
     576
     577    /* Responsive Fixes */
     578    @media screen and (max-width: 782px) {
     579        .wc-markup-features {
     580            flex-direction: column;
     581        }
     582
     583        .wc-markup-pricing-table {
     584            flex-direction: column;
     585            align-items: center;
     586        }
     587
     588        .wc-markup-pricing-card {
     589            width: 100%;
     590            max-width: 350px;
     591            margin-bottom: 20px;
     592        }
     593
     594        .wc-markup-pricing-card.popular {
     595            transform: scale(1);
     596            order: -1;
     597        }
     598
     599        .wc-markup-pricing-card.popular:hover {
     600            transform: translateY(-5px);
     601        }
    22602    }
    23603</style>
    24 <div class="container">
    25     <h1 class="wp-heading-inline"><?php esc_html_e('Markup For WooCommerce', 'wpiron-wc-markup'); ?></h1>
    26     <hr class="hr">
    27     <div class="half">
    28         <strong>Useful links</strong>
    29         <p style="margin:0;">Settings for Markup: <a href="admin.php?page=wc-settings&tab=products&section=markups">Product Markup Settings</a></p>
    30         <p style="margin:0;">Contact us: <a href="https://wpiron.com/contacts/">Contact page</a></p>
    31         <br>
    32         <strong>How to use the plugin?</strong>
    33         <ol>
    34             <li>Go to <a href="edit.php?post_type=product"><strong>Add New Product</strong></a></li>
    35             <li>Click <strong>ADD NEW</strong></li>
    36             <li>Go Down To <strong>PRODUCT DATA</strong></li>
    37             <li>On the left hand side click <strong>MARKUP</strong></li>
    38         </ol>
    39     </div>
    40     <div class="half">
    41         <strong>Upgrade your plan: <a class="green-link" href="https://wpiron.com/products/markup-for-woocommerce/" target="_blank">Upgrade Markup For WooCommerce plugin</a></strong>
    42         <h4>What you will get with premium version?</h4>
    43         <ol>
    44             <li>Add <strong>markup to categories</strong> and after you will check category - markup automatically will be added to a product</li>
    45             <li><strong>Sale Price</strong> Markup Setting - calculate markups on sale price</li>
    46             <li>Round Markup Setting - round final prices</li>
    47             <li><strong>Analytics</strong> - check how much money our plugin generated for you!</li>
    48             <li>Edit batch products of markup</li>
    49             <li>Set <strong>global markup</strong> price to all products in WooCommerce.</li>
    50             <li>Set markup price for <strong>variation products</strong>.</li>
    51         </ol>
    52     </div>
    53     <div class="clear">
    54     </div>
    55     <hr class="hr">
    56     <table class="table">
    57         <tr>
    58             <td>
    59                 <strong>Add fixed and percentage value markups to your products</strong>
    60                 <p>You can add fixed price markup to any product individually. This will calculate a price based on the
    61                     total cost of that product, plus your desired fixed markup. This is a great time-saving feature for
    62                     stores that have a lot of inventory.</p>
    63             </td>
    64             <td>
    65                 <img class="markup-img" src="<?php echo plugin_dir_url(__FILE__); ?>img/markup.png" alt="">
    66             </td>
    67         </tr>
    68         <tr>
    69             <td>
    70                 <img class="markup-img" src="<?php echo plugin_dir_url(__FILE__); ?>img/variable.png" alt="">
    71             </td>
    72             <td>
    73                 <strong>Create a markup in all types of WooCommerce products and categories</strong>
    74                 <p>This plugin helps you to create the price markup in all the types of WooCommerce products and categories.
    75                     It is a powerful and easy to use plugin with many options for your needs by using this plugin you can
    76                     create any kind of markup on products, categories and more things.</p>
    77             </td>
    78         </tr>
    79     </table>
    80 </div>
  • wc-markup/trunk/readme.txt

    r3225139 r3259776  
    55Requires at least: 6.7
    66Tested up to: 6.7
    7 Stable tag: 1.9.0
     7Stable tag: 1.9.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    1212The easiest way to apply markup to your WooCommerce products and track earnings generated by the plugin.
    1313
    14 == Description ==s
     14== Description ==
    1515
    1616### 🤩 Easily Markup Your WooCommerce Products and Track Earnings 🛒
     
    3636* **Category Markup:** Apply markup prices to entire product categories.
    3737* **Quick Edit Mode:** Edit markup prices in the Quick Edit mode.
    38 * **Global Markup:** Set a global markup price for all products in WooCommerce.
     38* **Global Markup:** Set a global markup price for all products in WooCommerce including simple and variation product types.
    3939* **Analytics Dashboard:** Track how much revenue the plugin has generated for you.
    4040* **Dedicated Support:** Reach out to us with any questions or issues.
     
    91915. screenshot-5.png
    92926. screenshot-6.png
     937. screenshot-7.png
     948. screenshot-8.png
     959. screenshot-9.png
    9396
    9497== Changelog ==
     
    200203= 1.9.0 =
    201204* Compatibility with WP 6.7
     205
     206= 1.9.1 =
     207* Added nicer dashboard
     208* Added purchase option from the dashboard
     209* Added additional feature - Global markup for variation products
  • wc-markup/trunk/wc-markup.php

    r3225139 r3259776  
    1010 * Plugin URI:        https://wpiron.com
    1111 * Description:       Create and apply your own markups on products and variations. Easily add a markup to specific product types, categories, attributes. Native bulk actions is available.
    12  * Version:           1.9.0
     12 * Version:           1.9.1
    1313 * Author:            WP Iron
    1414 * Author URI:        https://wpiron.com
     
    2727 * Rename this for your plugin and update it as you release new versions.
    2828 */
    29 define( 'WC_MARKUP_VERSION', '1.9.0' );
     29define( 'WC_MARKUP_VERSION', '1.9.1' );
    3030/**
    3131 * The code that runs during plugin activation.
Note: See TracChangeset for help on using the changeset viewer.