Changeset 3231787
- Timestamp:
- 01/30/2025 07:55:09 AM (13 months ago)
- Location:
- spreadr-for-woocomerce
- Files:
-
- 9 added
- 3 edited
-
tags/1.0.7 (added)
-
tags/1.0.7/includes (added)
-
tags/1.0.7/includes/class-spreadr-install.php (added)
-
tags/1.0.7/includes/class-spreadr.php (added)
-
tags/1.0.7/includes/spreadr-core-functions.php (added)
-
tags/1.0.7/includes/spreadr-frontend-functions.php (added)
-
tags/1.0.7/includes/spreadr-update-default-settings.php (added)
-
tags/1.0.7/readme.txt (added)
-
tags/1.0.7/spreadr.php (added)
-
trunk/includes/spreadr-frontend-functions.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/spreadr.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spreadr-for-woocomerce/trunk/includes/spreadr-frontend-functions.php
r3055811 r3231787 196 196 $strButtonText = get_option('spreadr_button_text'); 197 197 198 $link = sprintf('<a tag="' . $strSpreadrTag . '" spreadr_region="' . $strSpreadrRegion . '" spreadr_product_title="' . $strProductTitle . '" rel="nofollow" href="javascript:void(0);" 199 onclick ="SpreadrButtonClick(' . $strExternalLink . ',this);" data-quantity="%s" data-product_id="%s" data-product_sku="%s" class="%s" >%s</a>', 200 //esc_url( $product->add_to_cart_url() ), 201 esc_attr(isset($quantity) ? $quantity : 1) , esc_attr($product->get_id()) , esc_attr($product->get_sku()) , esc_attr(isset($class) ? $class : 'button product_type_external') , esc_html($strButtonText)); 198 $link = '<a data-tag="' . $strSpreadrTag . '" spreadr_region="' . $strSpreadrRegion . '" spreadr_product_title="' . $strProductTitle . '" rel="nofollow" href="javascript:void(0);" 199 onclick ="SpreadrButtonClick(\'' . $strExternalLink . '\', this);" 200 data-quantity="' . esc_attr(isset($quantity) ? $quantity : 1) . '" 201 data-product_id="' . esc_attr($product->get_id()) . '" 202 data-product_sku="' . esc_attr($product->get_sku()) . '" 203 class="' . esc_attr(isset($class) ? $class : 'button product_type_external') . '">' . 204 esc_html($strButtonText) . '</a>'; 205 202 206 } 203 207 } … … 568 572 $strButtonText = get_option('spreadr_button_text'); 569 573 570 $link = sprintf('<a tag="' . $strSpreadrTag . '" spreadr_region="' . $strSpreadrRegion . '" spreadr_product_title="' . $strProductTitle . '" rel="nofollow" href="javascript:void(0);" 571 onclick ="SpreadrButtonClick(' . $strExternalLink . ',this);" data-quantity="%s" data-product_id="%s" data-product_sku="%s" class="%s" >%s</a>', 572 //esc_url( $product->add_to_cart_url() ), 573 esc_attr(isset($quantity) ? $quantity : 1) , esc_attr($product->get_id()) , esc_attr($product->get_sku()) , esc_attr(isset($class) ? $class : 'button product_type_external') , esc_html($strButtonText)); 574 $link = '<a data-tag="' . $strSpreadrTag . '" spreadr_region="' . $strSpreadrRegion . '" spreadr_product_title="' . $strProductTitle . '" rel="nofollow" href="javascript:void(0);" 575 onclick ="SpreadrButtonClick(\'' . $strExternalLink . '\', this);" 576 data-quantity="' . esc_attr(isset($quantity) ? $quantity : 1) . '" 577 data-product_id="' . esc_attr($product->get_id()) . '" 578 data-product_sku="' . esc_attr($product->get_sku()) . '" 579 class="' . esc_attr(isset($class) ? $class : 'button product_type_external') . '">' . 580 esc_html($strButtonText) . '</a>'; 574 581 } 575 582 } -
spreadr-for-woocomerce/trunk/readme.txt
r3217706 r3231787 86 86 87 87 == Changelog == 88 = 1.0.7 - January 30, 2025 = 89 * Minor Fixes. 88 90 89 91 = 1.0.6 - January 6, 2025 = -
spreadr-for-woocomerce/trunk/spreadr.php
r3217706 r3231787 5 5 * Plugin URI: https://spreadr.co/woocommerce 6 6 * Description: Use Spreadr Plugin to import products from Amazon to your WooCommerce store. Earn commissions via Amazon Affiliate Program or run your dropshipping business. 7 * Version: 1.0. 67 * Version: 1.0.7 8 8 * Author: spreadr 9 9 * Author URI: https://spreadr.co
Note: See TracChangeset
for help on using the changeset viewer.