Changeset 1065841
- Timestamp:
- 01/12/2015 12:15:09 PM (11 years ago)
- Location:
- 2kb-amazon-affiliates-store/trunk
- Files:
-
- 8 added
- 9 edited
-
KbAmazonController.php (modified) (2 diffs)
-
KbAmazonStore.php (modified) (4 diffs)
-
KbTemplate.php (modified) (1 diff)
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
store_widgets.php (modified) (1 diff)
-
template/admin/css/default.css (modified) (2 diffs)
-
template/admin/img/info (added)
-
template/admin/img/info/attributes.jpg (added)
-
template/admin/img/info/best-sellers-slider.jpg (added)
-
template/admin/img/info/binding-attributes-count.jpg (added)
-
template/admin/img/info/images-hover.jpg (added)
-
template/admin/img/info/price-discount.jpg (added)
-
template/admin/img/info/price-slider.jpg (added)
-
template/admin/info.phtml (added)
-
template/admin/version.phtml (modified) (1 diff)
-
template/default/css/style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
2kb-amazon-affiliates-store/trunk/KbAmazonController.php
r1061624 r1065841 490 490 return new KbView($data); 491 491 } 492 493 protected function getActions() { 492 493 public function infoAction() 494 { 495 $data = array(); 496 497 return new KbView($data); 498 } 499 500 protected function getActions() { 494 501 return array( 495 502 array( … … 547 554 'label' => __('Support') 548 555 ), 549 //array(550 //'action' => 'info',551 // 'icon' => 'glyphicon-info-sign',552 // 'label' => __('Info& FAQ')553 //),556 array( 557 'action' => 'info', 558 'icon' => 'glyphicon glyphicon-folder-open', 559 'label' => __('Docs & FAQ') 560 ), 554 561 array( 555 562 'action' => 'version', -
2kb-amazon-affiliates-store/trunk/KbAmazonStore.php
r1065234 r1065841 196 196 public function getCheckoutPage() 197 197 { 198 $pageIdOption = $this->getOption('CheckoutPage'); 199 if ($pageIdOption) { 200 $page = get_page($pageIdOption); 201 if ($page) { 202 return $page; 203 } 204 } 198 205 $args = array( 199 206 'meta_key' => 'KbAmzCheckoutPage', … … 213 220 )); 214 221 add_post_meta($pageId, 'KbAmzCheckoutPage', '1'); 222 $this->setOption('CheckoutPage', $pageId); 223 } 224 if (!$pageIdOption) { 225 $this->setOption('CheckoutPage', $page->ID); 215 226 } 216 227 return $page; … … 687 698 && $lowest && $lowest != $price) { 688 699 return sprintf( 689 '<del>%s</del> <ins>%s</ins>',700 '<del>%s</del> <ins>%s</ins>', 690 701 $price, 691 702 $lowest … … 697 708 && $listPrice != $price) { 698 709 return sprintf( 699 '<del>%s</del> <ins>%s</ins>',710 '<del>%s</del> <ins>%s</ins>', 700 711 $listPrice, 701 712 $price -
2kb-amazon-affiliates-store/trunk/KbTemplate.php
r975024 r1065841 92 92 public function initDefaultAdminScripts() 93 93 { 94 wp_enqueue_style( 95 'KbAmzAdminDefaultCss', 96 getKbPluginUrl() . '/template/admin/css/default.css' 97 ); 98 94 99 if (is_admin() && (!isset($_GET['page']) || $_GET['page'] != 'kbAmz')) { 95 100 return; 96 101 } 97 102 98 wp_enqueue_style(99 'KbAmzAdminDefaultCss',100 getKbPluginUrl() . '/template/admin/css/default.css'101 );102 103 103 wp_enqueue_script( 104 104 'KbAmzAdminJqueryUI', -
2kb-amazon-affiliates-store/trunk/plugin.php
r1065245 r1065841 4 4 * Plugin URI: http://www.2kblater.com/?p=8318 5 5 * Description: Amazon Affiliate Store Plugin With Cart, Checkout, Custom Themes. Easy to manage and setup. Sell wide range of physical and digital products imported from Amazon Affiliate API using 90 days cookie reference. This plugin is released with GPL2 license. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: 2kblater.com 8 8 * Author URI: http://www.2kblater.com … … 16 16 } 17 17 18 define('KbAmazonVersion', '1.1. 2');19 define('KbAmazonVersionNumber', 11 2);18 define('KbAmazonVersion', '1.1.3'); 19 define('KbAmazonVersionNumber', 113); 20 20 define('KbAmazonStoreFolderName', pathinfo(dirname(__FILE__), PATHINFO_FILENAME)); 21 21 define('KbAmazonStorePluginPath', dirname(__FILE__) . '/'); -
2kb-amazon-affiliates-store/trunk/readme.txt
r1065234 r1065841 2 2 Tags: amazon, affiliate, associate, online store, selling products 3 3 Requires at least: 4.0 4 Tested up to: 4. 05 Stable tag: 1.1. 04 Tested up to: 4.1 5 Stable tag: 1.1.3 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 36 36 37 37 == Changelog == 38 = 1.1.3 = 39 Fixed bug for creating multiple checkout pages. 40 Fixed bug with listing price option. Now showing listing price and discounted price. 41 Admin widgets css update. 42 Documentation added. 38 43 = 1.1.2 = 39 44 Listing price add when 'Show the original price of the product.' options is enabled. -
2kb-amazon-affiliates-store/trunk/store_widgets.php
r1065234 r1065841 40 40 <p> 41 41 <label for="<?php echo $this->get_field_id('meta_key'); ?>"><?php _e('Meta Key:'); ?></label> 42 <select id="<?php echo $this->get_field_id('meta_key'); ?>" name="<?php echo $this->get_field_name('meta_key'); ?>" type="text" value="<?php echo esc_attr($metaKey); ?>" style=" max-width: 100%;">42 <select id="<?php echo $this->get_field_id('meta_key'); ?>" name="<?php echo $this->get_field_name('meta_key'); ?>" type="text" value="<?php echo esc_attr($metaKey); ?>" style="width: 100%;"> 43 43 <?php foreach (getKbAmz()->getAttributes() as $name => $type) : ?> 44 44 <option value="<?php echo $name; ?>"<?php echo $metaKey == $name ? 'selected="selected"' : ''?>><?php echo $type; ?></option> -
2kb-amazon-affiliates-store/trunk/template/admin/css/default.css
r1061624 r1065841 65 65 width: 100%; 66 66 } 67 #kb-amz-version ul, #kb-amz-version li {67 #kb-amz-version ul, #kb-amz-version li, .infoAction #kb-amz-content li{ 68 68 list-style-type: disc; 69 69 } 70 #kb-amz-version ul {70 #kb-amz-version ul, .infoAction #kb-amz-content ul{ 71 71 padding-left: 15px; 72 72 } … … 79 79 margin-bottom: 5px; 80 80 } 81 .info-items a{ 82 display: block; 83 } -
2kb-amazon-affiliates-store/trunk/template/admin/version.phtml
r1065234 r1065841 1 1 <div class="row" id="kb-amz-version"> 2 2 <div class="col-sm-12"> 3 <h4>1.1.3</h4> 4 <ul style="list-style-type: disc;"> 5 <li>Fixed bug for creating multiple checkout pages.</li> 6 <li>Fixed bug with listing price option. Now showing listing price and discounted price.</li> 7 <li>Admin widgets css update.</li> 8 <li><a href="?page=kbAmz&kbAction=info">Documentation</a> added.</li> 9 </ul> 3 10 <h4>1.1.2</h4> 4 11 <ul style="list-style-type: disc;"> -
2kb-amazon-affiliates-store/trunk/template/default/css/style.css
r1004924 r1065841 184 184 overflow: hidden; 185 185 max-height: 100%; 186 width: 100%; 186 187 } 187 188 .kb-amz-item-list-content{ … … 209 210 } 210 211 .kb-amz-item-price del{ 211 font-size:0. 60em;212 font-size:0.70em; 212 213 opacity: 0.50; 213 214 text-decoration: line-through;
Note: See TracChangeset
for help on using the changeset viewer.