Changeset 2838166
- Timestamp:
- 12/22/2022 09:04:37 PM (3 years ago)
- Location:
- viaads
- Files:
-
- 15 added
- 3 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/apikey.php (added)
-
tags/1.0.3/externalJS.php (added)
-
tags/1.0.3/handleEmailGuid.php (added)
-
tags/1.0.3/hooks (added)
-
tags/1.0.3/hooks/addCart.php (added)
-
tags/1.0.3/hooks/pageLook.php (added)
-
tags/1.0.3/hooks/removeCart.php (added)
-
tags/1.0.3/http.php (added)
-
tags/1.0.3/js (added)
-
tags/1.0.3/js/viaads_handleEmailGuid.js (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/sync.php (added)
-
tags/1.0.3/userAgent.php (added)
-
tags/1.0.3/viaads.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sync.php (modified) (4 diffs)
-
trunk/viaads.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
viaads/trunk/readme.txt
r2837965 r2838166 4 4 Requires at least: 5.4 5 5 Tested up to: 6.1 6 Stable tag: 1.0. 26 Stable tag: 1.0.1 7 7 Requires PHP: 7.0 8 8 License: GPLv3 -
viaads/trunk/sync.php
r2833521 r2838166 119 119 $product_object->Slug = $product->get_slug(); 120 120 //Price 121 $product_object->price = number_format( $product->get_price(), 2, ".", "");121 $product_object->price = $product->get_price(); 122 122 //Regular Price 123 $product_object->regularPrice = number_format( $product->get_regular_price(), 2, ".", "");123 $product_object->regularPrice = $product->get_regular_price(); 124 124 //SalePrice 125 $product_object->salePrice = number_format( $product->get_sale_price(), 2, ".", "");125 $product_object->salePrice = $product->get_sale_price(); 126 126 127 127 if ( $product->get_sale_price() != 0 ) { … … 129 129 $product_object->OnSale = true; 130 130 // Sale Price 131 $product_object->SalePrice = number_format( $product->get_sale_price(), 2, ".", "");131 $product_object->SalePrice = $product->get_sale_price(); 132 132 // On Sale From Date 133 133 $dateOnSaleFrom = new DateTime( $product->get_date_on_sale_from() ); … … 174 174 $child_object->DateCreated = $createdAt->format( 'c' ); 175 175 // Gets the products Final Price 176 $childPrice = number_format( $child->get_price(), 2, ".", "");176 $childPrice = $child->get_price(); 177 177 $child_object->Price = $childPrice; 178 178 // Regular Price 179 $child_object->RegularPrice = number_format( $child->get_price(), 2, ".", "");179 $child_object->RegularPrice = $child->get_price(); 180 180 // On Sale Data 181 181 if ( $product->get_sale_price() != 0 ) { … … 183 183 $child_object->OnSale = true; 184 184 // Sale Price 185 $child_object->SalePrice = number_format( $child->get_sale_price(), 2, ".", "");185 $child_object->SalePrice = $child->get_sale_price(); 186 186 // On Sale From Date 187 187 $dateOnSaleFrom = new DateTime( $child->get_date_on_sale_from() ); -
viaads/trunk/viaads.php
r2837965 r2838166 3 3 * Plugin Name: ViaAds 4 4 * Description: Plugin der muliggør forbindelsen til ViaAds / Plug-in enabling the connection to ViaAds. 5 * Version: 1.0. 25 * Version: 1.0.1 6 6 * Author: ViaAds 7 7 * Author URI: https://www.viaads.dk/
Note: See TracChangeset
for help on using the changeset viewer.