Changeset 2864472
- Timestamp:
- 02/13/2023 03:06:54 PM (3 years ago)
- Location:
- aplazame
- Files:
-
- 16 edited
- 1 copied
-
tags/v3.7.0 (copied) (copied from aplazame/trunk)
-
tags/v3.7.0/README.txt (modified) (2 diffs)
-
tags/v3.7.0/aplazame.php (modified) (5 diffs)
-
tags/v3.7.0/classes/wc-aplazame-gateway.php (modified) (3 diffs)
-
tags/v3.7.0/i18n/languages/aplazame-es_ES.mo (modified) (previous)
-
tags/v3.7.0/i18n/languages/aplazame.po (modified) (7 diffs)
-
tags/v3.7.0/i18n/languages/aplazame.pot (modified) (5 diffs)
-
tags/v3.7.0/templates/widgets/cart.php (modified) (1 diff)
-
tags/v3.7.0/templates/widgets/product.php (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/aplazame.php (modified) (5 diffs)
-
trunk/classes/wc-aplazame-gateway.php (modified) (3 diffs)
-
trunk/i18n/languages/aplazame-es_ES.mo (modified) (previous)
-
trunk/i18n/languages/aplazame.po (modified) (7 diffs)
-
trunk/i18n/languages/aplazame.pot (modified) (5 diffs)
-
trunk/templates/widgets/cart.php (modified) (1 diff)
-
trunk/templates/widgets/product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
aplazame/tags/v3.7.0/README.txt
r2803971 r2864472 3 3 Tags: aplazame,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago 4 4 Requires at least: 4.0.1 5 Tested up to: 6. 0.35 Tested up to: 6.1.1 6 6 Requires PHP: 5.3.0 7 Stable tag: 3. 6.37 Stable tag: 3.7.0 8 8 License: BSD-3-Clause 9 9 License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE … … 78 78 == Changelog == 79 79 80 #### [v3.7.0](https://github.com/aplazame/woocommerce/tree/v3.7.0) (2023-02-13) 81 82 * [ADD] Downpayment info option for widgets. 83 * [FIX] Minor error at update and various tweaks. 84 80 85 #### [v3.6.3](https://github.com/aplazame/woocommerce/tree/v3.6.3) (2022-10-25) 81 86 -
aplazame/tags/v3.7.0/aplazame.php
r2803971 r2864472 3 3 * Plugin Name: Aplazame 4 4 * Plugin URI: https://github.com/aplazame/woocommerce 5 * Version: 3. 6.35 * Version: 3.7.0 6 6 * Description: Aplazame offers a payment method to receive funding for the purchases. 7 7 * Author: Aplazame … … 12 12 * 13 13 * WC requires at least: 2.3 14 * WC tested up to: 7. 0.014 * WC tested up to: 7.3.0 15 15 * 16 16 * License: GNU General Public License v3.0 … … 26 26 27 27 class WC_Aplazame { 28 const VERSION = '3. 6.2';28 const VERSION = '3.7.0'; 29 29 const METHOD_ID = 'aplazame'; 30 30 const METHOD_TITLE = 'Aplazame'; … … 339 339 'cart_pay_in_4' => 'no', 340 340 'widget_out_of_limits' => 'show', 341 'product_downpayment_info' => 'yes', 342 'cart_downpayment_info' => 'yes', 341 343 ); 342 344 343 345 public static function upgrade() { 344 346 if ( version_compare( get_option( self::VERSION_KEY ), WC_Aplazame::VERSION, '<' ) ) { 345 self::set_aplazame_profile();346 347 self::remove_redirect_page(); 347 348 /** … … 409 410 } 410 411 411 private static function set_aplazame_profile() {412 /**413 *414 * @var WC_Aplazame $aplazame415 */416 global $aplazame;417 418 if ( ! $aplazame->private_api_key ) {419 return;420 }421 422 $client = $aplazame->get_client()->apiClient;423 try {424 $client->patch(425 '/me',426 array(427 'confirmation_url' => '',428 )429 );430 } catch ( Exception $e ) {431 $aplazame->private_api_key = null;432 $aplazame->settings['private_api_key'] = null;433 }434 }435 436 412 private static function remove_redirect_page() { 437 413 include_once 'classes/lib/Redirect.php'; -
aplazame/tags/v3.7.0/classes/wc-aplazame-gateway.php
r2647768 r2864472 277 277 'placeholder' => __( 'Optional (only numbers)', 'aplazame' ), 278 278 ), 279 'product_downpayment_info' => array( 280 'type' => 'checkbox', 281 'title' => __( 'Downpayment info', 'aplazame' ), 282 'description' => __( 'Show downpayment info in product widget', 'aplazame' ), 283 'label' => __( 'Show downpayment info', 'aplazame' ), 284 ), 279 285 'product_legal_advice' => array( 280 286 'type' => 'checkbox', … … 370 376 'placeholder' => __( 'Optional (only numbers)', 'aplazame' ), 371 377 ), 378 'cart_downpayment_info' => array( 379 'type' => 'checkbox', 380 'title' => __( 'Downpayment info', 'aplazame' ), 381 'description' => __( 'Show downpayment info in cart widget', 'aplazame' ), 382 'label' => __( 'Show downpayment info', 'aplazame' ), 383 ), 372 384 'cart_legal_advice' => array( 373 385 'type' => 'checkbox', … … 436 448 437 449 protected function validate_private_api_key_field( $key, $value ) { 438 try { 439 $response = WC_Aplazame::configure_aplazame_profile( $this->settings['sandbox'], $value ); 440 } catch ( Exception $e ) { 441 // Workaround https://github.com/woocommerce/woocommerce/issues/11952 442 WC_Admin_Settings::add_error( $e->getMessage() ); 443 444 throw $e; 445 } 446 447 $this->settings['public_api_key'] = $response['public_api_key']; 448 450 if ( $value != $this->settings['private_api_key'] ) { 451 try { 452 $response = WC_Aplazame::configure_aplazame_profile( $this->settings['sandbox'], $value ); 453 } catch ( Exception $e ) { 454 // Workaround https://github.com/woocommerce/woocommerce/issues/11952 455 WC_Admin_Settings::add_error( $e->getMessage() ); 456 457 throw $e; 458 } 459 460 $this->settings['public_api_key'] = $response['public_api_key']; 461 } 449 462 return $value; 450 463 } -
aplazame/tags/v3.7.0/i18n/languages/aplazame.po
r2647768 r2864472 2 2 msgstr "" 3 3 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 4 "POT-Creation-Date: 202 1-12-09 11:12+0000\n"4 "POT-Creation-Date: 2023-02-08 10:52+0000\n" 5 5 "Language: es_ES\n" 6 6 "MIME-Version: 1.0\n" … … 126 126 msgstr "Widget del producto" 127 127 128 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:3 56128 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:362 129 129 msgid "Place to show" 130 130 msgstr "Lugar a mostrar" … … 134 134 msgstr "Lugar del widget en la página del producto" 135 135 136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 59136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:365 137 137 msgid "~ Not show ~" 138 138 msgstr "~ No mostrar ~" … … 150 150 msgstr "Después del resumen" 151 151 152 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:3 68152 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:374 153 153 msgid "Default instalments" 154 154 msgstr "Cuotas por defecto" … … 158 158 msgstr "Número de cuotas por defecto en el widget del producto" 159 159 160 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:37 0160 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:376 161 161 msgid "Optional (only numbers)" 162 162 msgstr "Opcional (solo números)" 163 163 164 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:374 164 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:380 165 msgid "Downpayment info" 166 msgstr "Pago inicial" 167 168 #: classes/wc-aplazame-gateway.php:282 169 msgid "Show downpayment info in product widget" 170 msgstr "Mostrar pago inicial en el widget del producto" 171 172 #: classes/wc-aplazame-gateway.php:283 classes/wc-aplazame-gateway.php:382 173 msgid "Show downpayment info" 174 msgstr "Mostrar pago inicial" 175 176 #: classes/wc-aplazame-gateway.php:287 classes/wc-aplazame-gateway.php:386 165 177 msgid "Legal notice" 166 178 msgstr "Texto legal" 167 179 168 #: classes/wc-aplazame-gateway.php:28 2180 #: classes/wc-aplazame-gateway.php:288 169 181 msgid "Show legal notice in product widget" 170 182 msgstr "Mostrar texto legal en el widget del producto" 171 183 172 #: classes/wc-aplazame-gateway.php:28 3 classes/wc-aplazame-gateway.php:376184 #: classes/wc-aplazame-gateway.php:289 classes/wc-aplazame-gateway.php:388 173 185 msgid "Show legal notice" 174 186 msgstr "Mostrar texto legal" 175 187 176 #: classes/wc-aplazame-gateway.php:2 87 classes/wc-aplazame-gateway.php:380188 #: classes/wc-aplazame-gateway.php:293 classes/wc-aplazame-gateway.php:392 177 189 msgid "Pay in 4" 178 190 msgstr "Paga en 4" 179 191 180 #: classes/wc-aplazame-gateway.php:2 88192 #: classes/wc-aplazame-gateway.php:294 181 193 msgid "Enable product widget pay in 4 (if available)" 182 194 msgstr "Activar widget del producto paga en 4 (si disponible)" 183 195 184 #: classes/wc-aplazame-gateway.php:2 89 classes/wc-aplazame-gateway.php:382196 #: classes/wc-aplazame-gateway.php:295 classes/wc-aplazame-gateway.php:394 185 197 msgid "Enable pay in 4" 186 198 msgstr "Activar paga en 4" 187 199 188 #: classes/wc-aplazame-gateway.php:29 3200 #: classes/wc-aplazame-gateway.php:299 189 201 msgid "Border" 190 202 msgstr "Marco" 191 203 192 #: classes/wc-aplazame-gateway.php: 294204 #: classes/wc-aplazame-gateway.php:300 193 205 msgid "Show border in product widget (only new widget)" 194 206 msgstr "Mostrar marco en el widget del producto (sólo nuevo widget)" 195 207 196 #: classes/wc-aplazame-gateway.php: 295208 #: classes/wc-aplazame-gateway.php:301 197 209 msgid "Show border" 198 210 msgstr "Mostrar marco" 199 211 200 #: classes/wc-aplazame-gateway.php:30 1 classes/wc-aplazame-gateway.php:388212 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:400 201 213 msgid "Primary color" 202 214 msgstr "Color principal" 203 215 204 #: classes/wc-aplazame-gateway.php:30 2216 #: classes/wc-aplazame-gateway.php:308 205 217 msgid "Primary color hexadecimal code for product widget (only new widget)" 206 218 msgstr "" … … 208 220 "nuevo widget)" 209 221 210 #: classes/wc-aplazame-gateway.php:3 08 classes/wc-aplazame-gateway.php:395222 #: classes/wc-aplazame-gateway.php:314 classes/wc-aplazame-gateway.php:407 211 223 msgid "Layout" 212 224 msgstr "Disposición" 213 225 214 #: classes/wc-aplazame-gateway.php:3 09226 #: classes/wc-aplazame-gateway.php:315 215 227 msgid "Layout of product widget (only new widget)" 216 228 msgstr "Disposición del widget del producto (sólo nuevo widget)" 217 229 218 #: classes/wc-aplazame-gateway.php:3 18 classes/wc-aplazame-gateway.php:405230 #: classes/wc-aplazame-gateway.php:324 classes/wc-aplazame-gateway.php:417 219 231 msgid "Alignment" 220 232 msgstr "Alineación" 221 233 222 #: classes/wc-aplazame-gateway.php:3 19234 #: classes/wc-aplazame-gateway.php:325 223 235 msgid "Product widget alignment (only new widget)" 224 236 msgstr "Alineación del widget del producto (sólo nuevo widget)" 225 237 226 #: classes/wc-aplazame-gateway.php:32 1 classes/wc-aplazame-gateway.php:408238 #: classes/wc-aplazame-gateway.php:327 classes/wc-aplazame-gateway.php:420 227 239 msgid "Left" 228 240 msgstr "Izquierda" 229 241 230 #: classes/wc-aplazame-gateway.php:32 2 classes/wc-aplazame-gateway.php:409242 #: classes/wc-aplazame-gateway.php:328 classes/wc-aplazame-gateway.php:421 231 243 msgid "Center" 232 244 msgstr "Centro" 233 245 234 #: classes/wc-aplazame-gateway.php:32 3 classes/wc-aplazame-gateway.php:410246 #: classes/wc-aplazame-gateway.php:329 classes/wc-aplazame-gateway.php:422 235 247 msgid "Right" 236 248 msgstr "Derecha" 237 249 238 #: classes/wc-aplazame-gateway.php:3 29250 #: classes/wc-aplazame-gateway.php:335 239 251 msgid "Product quantity CSS selector" 240 252 msgstr "Selector CSS del número de unidades del producto" 241 253 242 #: classes/wc-aplazame-gateway.php:33 0254 #: classes/wc-aplazame-gateway.php:336 243 255 msgid "CSS selector pointing to product quantity" 244 256 msgstr "Selector CSS para obtener la cantidad de producto" 245 257 246 #: classes/wc-aplazame-gateway.php:3 35258 #: classes/wc-aplazame-gateway.php:341 247 259 msgid "Product price CSS selector" 248 260 msgstr "Selector CSS del precio del producto" 249 261 250 #: classes/wc-aplazame-gateway.php:3 36262 #: classes/wc-aplazame-gateway.php:342 251 263 msgid "CSS selector pointing to product price" 252 264 msgstr "Selector CSS para obtener el precio del producto" 253 265 254 #: classes/wc-aplazame-gateway.php:34 1266 #: classes/wc-aplazame-gateway.php:347 255 267 msgid "Variable product price CSS selector" 256 268 msgstr "Selector CSS del precio variable del producto" 257 269 258 #: classes/wc-aplazame-gateway.php:34 2270 #: classes/wc-aplazame-gateway.php:348 259 271 msgid "CSS selector pointing to variable product price" 260 272 msgstr "Selector CSS para obtener el precio variable del producto" 261 273 262 #: classes/wc-aplazame-gateway.php:35 0274 #: classes/wc-aplazame-gateway.php:356 263 275 msgid "Cart widget" 264 276 msgstr "Widget del carrito" 265 277 266 #: classes/wc-aplazame-gateway.php:3 57278 #: classes/wc-aplazame-gateway.php:363 267 279 msgid "Widget place on cart page" 268 280 msgstr "Lugar del widget en la página del carrito" 269 281 270 #: classes/wc-aplazame-gateway.php:36 0282 #: classes/wc-aplazame-gateway.php:366 271 283 msgid "Before cart totals" 272 284 msgstr "Antes del total" 273 285 274 #: classes/wc-aplazame-gateway.php:36 1286 #: classes/wc-aplazame-gateway.php:367 275 287 msgid "After cart totals" 276 288 msgstr "Después del total" 277 289 278 #: classes/wc-aplazame-gateway.php:3 69290 #: classes/wc-aplazame-gateway.php:375 279 291 msgid "Number of default instalments in cart widget" 280 292 msgstr "Número de cuotas por defecto en el widget del carrito" 281 293 282 #: classes/wc-aplazame-gateway.php:375 294 #: classes/wc-aplazame-gateway.php:381 295 msgid "Show downpayment info in cart widget" 296 msgstr "Mostrar pago inicial en el widget del carrito" 297 298 #: classes/wc-aplazame-gateway.php:387 283 299 msgid "Show legal notice in cart widget" 284 300 msgstr "Mostrar texto legal en el widget del carrito" 285 301 286 #: classes/wc-aplazame-gateway.php:3 81302 #: classes/wc-aplazame-gateway.php:393 287 303 msgid "Enable cart widget pay in 4 (if available)" 288 304 msgstr "Activar widget del carrito paga en 4 (si disponible)" 289 305 290 #: classes/wc-aplazame-gateway.php: 389306 #: classes/wc-aplazame-gateway.php:401 291 307 msgid "Primary color hexadecimal code for cart widget (only new widget)" 292 308 msgstr "" … … 294 310 "nuevo widget)" 295 311 296 #: classes/wc-aplazame-gateway.php: 396312 #: classes/wc-aplazame-gateway.php:408 297 313 msgid "Layout of cart widget (only new widget)" 298 314 msgstr "Disposición del widget del carrito (sólo nuevo widget)" 299 315 300 #: classes/wc-aplazame-gateway.php:4 06316 #: classes/wc-aplazame-gateway.php:418 301 317 msgid "Cart widget alignment (only new widget)" 302 318 msgstr "Alineación del widget del carrito (sólo nuevo widget)" 303 319 304 #: classes/wc-aplazame-gateway.php:4 15320 #: classes/wc-aplazame-gateway.php:427 305 321 msgid "Button" 306 322 msgstr "Botón" 307 323 308 #: classes/wc-aplazame-gateway.php:4 21324 #: classes/wc-aplazame-gateway.php:433 309 325 msgid "Button Selector" 310 326 msgstr "Selector del botón" 311 327 312 #: classes/wc-aplazame-gateway.php:4 22328 #: classes/wc-aplazame-gateway.php:434 313 329 msgid "Aplazame Button CSS Selector" 314 330 msgstr "Selector CSS del botón de pago con Aplazame" 315 331 316 #: classes/wc-aplazame-gateway.php:4 30332 #: classes/wc-aplazame-gateway.php:442 317 333 msgid "Button Image" 318 334 msgstr "Imagen del botón" 319 335 320 #: classes/wc-aplazame-gateway.php:4 31336 #: classes/wc-aplazame-gateway.php:443 321 337 msgid "Aplazame Button Image that you want to show" 322 338 msgstr "Imagen del botón de pago con Aplazame que quieres mostrar" -
aplazame/tags/v3.7.0/i18n/languages/aplazame.pot
r2803971 r2864472 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Aplazame v3. 6.3\n"9 "Project-Id-Version: Aplazame v3.7.0\n" 10 10 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 11 "POT-Creation-Date: 202 2-10-25 09:48+0000\n"11 "POT-Creation-Date: 2023-02-13 14:00+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 133 133 msgstr "" 134 134 135 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:3 56135 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:362 136 136 msgid "Place to show" 137 137 msgstr "" … … 141 141 msgstr "" 142 142 143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 59143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:365 144 144 msgid "~ Not show ~" 145 145 msgstr "" … … 157 157 msgstr "" 158 158 159 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:3 68159 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:374 160 160 msgid "Default instalments" 161 161 msgstr "" … … 165 165 msgstr "" 166 166 167 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:37 0167 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:376 168 168 msgid "Optional (only numbers)" 169 169 msgstr "" 170 170 171 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:374 171 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:380 172 msgid "Downpayment info" 173 msgstr "" 174 175 #: classes/wc-aplazame-gateway.php:282 176 msgid "Show downpayment info in product widget" 177 msgstr "" 178 179 #: classes/wc-aplazame-gateway.php:283 classes/wc-aplazame-gateway.php:382 180 msgid "Show downpayment info" 181 msgstr "" 182 183 #: classes/wc-aplazame-gateway.php:287 classes/wc-aplazame-gateway.php:386 172 184 msgid "Legal notice" 173 185 msgstr "" 174 186 175 #: classes/wc-aplazame-gateway.php:28 2187 #: classes/wc-aplazame-gateway.php:288 176 188 msgid "Show legal notice in product widget" 177 189 msgstr "" 178 190 179 #: classes/wc-aplazame-gateway.php:28 3 classes/wc-aplazame-gateway.php:376191 #: classes/wc-aplazame-gateway.php:289 classes/wc-aplazame-gateway.php:388 180 192 msgid "Show legal notice" 181 193 msgstr "" 182 194 183 #: classes/wc-aplazame-gateway.php:2 87 classes/wc-aplazame-gateway.php:380195 #: classes/wc-aplazame-gateway.php:293 classes/wc-aplazame-gateway.php:392 184 196 msgid "Pay in 4" 185 197 msgstr "" 186 198 187 #: classes/wc-aplazame-gateway.php:2 88199 #: classes/wc-aplazame-gateway.php:294 188 200 msgid "Enable product widget pay in 4 (if available)" 189 201 msgstr "" 190 202 191 #: classes/wc-aplazame-gateway.php:2 89 classes/wc-aplazame-gateway.php:382203 #: classes/wc-aplazame-gateway.php:295 classes/wc-aplazame-gateway.php:394 192 204 msgid "Enable pay in 4" 193 205 msgstr "" 194 206 195 #: classes/wc-aplazame-gateway.php:29 3207 #: classes/wc-aplazame-gateway.php:299 196 208 msgid "Border" 197 209 msgstr "" 198 210 199 #: classes/wc-aplazame-gateway.php: 294211 #: classes/wc-aplazame-gateway.php:300 200 212 msgid "Show border in product widget (only new widget)" 201 213 msgstr "" 202 214 203 #: classes/wc-aplazame-gateway.php: 295215 #: classes/wc-aplazame-gateway.php:301 204 216 msgid "Show border" 205 217 msgstr "" 206 218 207 #: classes/wc-aplazame-gateway.php:30 1 classes/wc-aplazame-gateway.php:388219 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:400 208 220 msgid "Primary color" 209 221 msgstr "" 210 222 211 #: classes/wc-aplazame-gateway.php:30 2223 #: classes/wc-aplazame-gateway.php:308 212 224 msgid "Primary color hexadecimal code for product widget (only new widget)" 213 225 msgstr "" 214 226 215 #: classes/wc-aplazame-gateway.php:3 08 classes/wc-aplazame-gateway.php:395227 #: classes/wc-aplazame-gateway.php:314 classes/wc-aplazame-gateway.php:407 216 228 msgid "Layout" 217 229 msgstr "" 218 230 219 #: classes/wc-aplazame-gateway.php:3 09231 #: classes/wc-aplazame-gateway.php:315 220 232 msgid "Layout of product widget (only new widget)" 221 233 msgstr "" 222 234 223 #: classes/wc-aplazame-gateway.php:3 18 classes/wc-aplazame-gateway.php:405235 #: classes/wc-aplazame-gateway.php:324 classes/wc-aplazame-gateway.php:417 224 236 msgid "Alignment" 225 237 msgstr "" 226 238 227 #: classes/wc-aplazame-gateway.php:3 19239 #: classes/wc-aplazame-gateway.php:325 228 240 msgid "Product widget alignment (only new widget)" 229 241 msgstr "" 230 242 231 #: classes/wc-aplazame-gateway.php:32 1 classes/wc-aplazame-gateway.php:408243 #: classes/wc-aplazame-gateway.php:327 classes/wc-aplazame-gateway.php:420 232 244 msgid "Left" 233 245 msgstr "" 234 246 235 #: classes/wc-aplazame-gateway.php:32 2 classes/wc-aplazame-gateway.php:409247 #: classes/wc-aplazame-gateway.php:328 classes/wc-aplazame-gateway.php:421 236 248 msgid "Center" 237 249 msgstr "" 238 250 239 #: classes/wc-aplazame-gateway.php:32 3 classes/wc-aplazame-gateway.php:410251 #: classes/wc-aplazame-gateway.php:329 classes/wc-aplazame-gateway.php:422 240 252 msgid "Right" 241 253 msgstr "" 242 254 243 #: classes/wc-aplazame-gateway.php:3 29255 #: classes/wc-aplazame-gateway.php:335 244 256 msgid "Product quantity CSS selector" 245 257 msgstr "" 246 258 247 #: classes/wc-aplazame-gateway.php:33 0259 #: classes/wc-aplazame-gateway.php:336 248 260 msgid "CSS selector pointing to product quantity" 249 261 msgstr "" 250 262 251 #: classes/wc-aplazame-gateway.php:3 35263 #: classes/wc-aplazame-gateway.php:341 252 264 msgid "Product price CSS selector" 253 265 msgstr "" 254 266 255 #: classes/wc-aplazame-gateway.php:3 36267 #: classes/wc-aplazame-gateway.php:342 256 268 msgid "CSS selector pointing to product price" 257 269 msgstr "" 258 270 259 #: classes/wc-aplazame-gateway.php:34 1271 #: classes/wc-aplazame-gateway.php:347 260 272 msgid "Variable product price CSS selector" 261 273 msgstr "" 262 274 263 #: classes/wc-aplazame-gateway.php:34 2275 #: classes/wc-aplazame-gateway.php:348 264 276 msgid "CSS selector pointing to variable product price" 265 277 msgstr "" 266 278 267 #: classes/wc-aplazame-gateway.php:35 0279 #: classes/wc-aplazame-gateway.php:356 268 280 msgid "Cart widget" 269 281 msgstr "" 270 282 271 #: classes/wc-aplazame-gateway.php:3 57283 #: classes/wc-aplazame-gateway.php:363 272 284 msgid "Widget place on cart page" 273 285 msgstr "" 274 286 275 #: classes/wc-aplazame-gateway.php:36 0287 #: classes/wc-aplazame-gateway.php:366 276 288 msgid "Before cart totals" 277 289 msgstr "" 278 290 279 #: classes/wc-aplazame-gateway.php:36 1291 #: classes/wc-aplazame-gateway.php:367 280 292 msgid "After cart totals" 281 293 msgstr "" 282 294 283 #: classes/wc-aplazame-gateway.php:3 69295 #: classes/wc-aplazame-gateway.php:375 284 296 msgid "Number of default instalments in cart widget" 285 297 msgstr "" 286 298 287 #: classes/wc-aplazame-gateway.php:375 299 #: classes/wc-aplazame-gateway.php:381 300 msgid "Show downpayment info in cart widget" 301 msgstr "" 302 303 #: classes/wc-aplazame-gateway.php:387 288 304 msgid "Show legal notice in cart widget" 289 305 msgstr "" 290 306 291 #: classes/wc-aplazame-gateway.php:3 81307 #: classes/wc-aplazame-gateway.php:393 292 308 msgid "Enable cart widget pay in 4 (if available)" 293 309 msgstr "" 294 310 295 #: classes/wc-aplazame-gateway.php: 389311 #: classes/wc-aplazame-gateway.php:401 296 312 msgid "Primary color hexadecimal code for cart widget (only new widget)" 297 313 msgstr "" 298 314 299 #: classes/wc-aplazame-gateway.php: 396315 #: classes/wc-aplazame-gateway.php:408 300 316 msgid "Layout of cart widget (only new widget)" 301 317 msgstr "" 302 318 303 #: classes/wc-aplazame-gateway.php:4 06319 #: classes/wc-aplazame-gateway.php:418 304 320 msgid "Cart widget alignment (only new widget)" 305 321 msgstr "" 306 322 307 #: classes/wc-aplazame-gateway.php:4 15323 #: classes/wc-aplazame-gateway.php:427 308 324 msgid "Button" 309 325 msgstr "" 310 326 311 #: classes/wc-aplazame-gateway.php:4 21327 #: classes/wc-aplazame-gateway.php:433 312 328 msgid "Button Selector" 313 329 msgstr "" 314 330 315 #: classes/wc-aplazame-gateway.php:4 22331 #: classes/wc-aplazame-gateway.php:434 316 332 msgid "Aplazame Button CSS Selector" 317 333 msgstr "" 318 334 319 #: classes/wc-aplazame-gateway.php:4 30335 #: classes/wc-aplazame-gateway.php:442 320 336 msgid "Button Image" 321 337 msgstr "" 322 338 323 #: classes/wc-aplazame-gateway.php:4 31339 #: classes/wc-aplazame-gateway.php:443 324 340 msgid "Aplazame Button Image that you want to show" 325 341 msgstr "" -
aplazame/tags/v3.7.0/templates/widgets/cart.php
r2647768 r2864472 30 30 <?php endif; ?> 31 31 data-option-legal-advice="<?php echo esc_attr( $aplazame->settings['cart_legal_advice'] === 'yes' ? 'true' : 'false' ); ?>" 32 data-option-downpayment-info="<?php echo esc_attr( $aplazame->settings['cart_downpayment_info'] === 'yes' ? 'true' : 'false' ); ?>" 32 33 data-option-out-of-limits="<?php echo esc_attr( $aplazame->settings['widget_out_of_limits'] ); ?>" 33 34 <?php if ( $aplazame->settings['cart_pay_in_4'] === 'yes' ) : ?> -
aplazame/tags/v3.7.0/templates/widgets/product.php
r2647768 r2864472 59 59 <?php endif; ?> 60 60 data-option-legal-advice="<?php echo esc_attr( $aplazame->settings['product_legal_advice'] === 'yes' ? 'true' : 'false' ); ?>" 61 data-option-downpayment-info="<?php echo esc_attr( $aplazame->settings['product_downpayment_info'] === 'yes' ? 'true' : 'false' ); ?>" 61 62 data-option-out-of-limits="<?php echo esc_attr( $aplazame->settings['widget_out_of_limits'] ); ?>" 62 63 <?php if ( $aplazame->settings['product_pay_in_4'] === 'yes' ) : ?> -
aplazame/trunk/README.txt
r2803971 r2864472 3 3 Tags: aplazame,woocommerce,ecommerce,payment,checkout,credit,aplazar,financiar,financiera,financiación,pago aplazado,método de pago 4 4 Requires at least: 4.0.1 5 Tested up to: 6. 0.35 Tested up to: 6.1.1 6 6 Requires PHP: 5.3.0 7 Stable tag: 3. 6.37 Stable tag: 3.7.0 8 8 License: BSD-3-Clause 9 9 License URI: https://github.com/aplazame/woocommerce/blob/master/LICENSE … … 78 78 == Changelog == 79 79 80 #### [v3.7.0](https://github.com/aplazame/woocommerce/tree/v3.7.0) (2023-02-13) 81 82 * [ADD] Downpayment info option for widgets. 83 * [FIX] Minor error at update and various tweaks. 84 80 85 #### [v3.6.3](https://github.com/aplazame/woocommerce/tree/v3.6.3) (2022-10-25) 81 86 -
aplazame/trunk/aplazame.php
r2803971 r2864472 3 3 * Plugin Name: Aplazame 4 4 * Plugin URI: https://github.com/aplazame/woocommerce 5 * Version: 3. 6.35 * Version: 3.7.0 6 6 * Description: Aplazame offers a payment method to receive funding for the purchases. 7 7 * Author: Aplazame … … 12 12 * 13 13 * WC requires at least: 2.3 14 * WC tested up to: 7. 0.014 * WC tested up to: 7.3.0 15 15 * 16 16 * License: GNU General Public License v3.0 … … 26 26 27 27 class WC_Aplazame { 28 const VERSION = '3. 6.2';28 const VERSION = '3.7.0'; 29 29 const METHOD_ID = 'aplazame'; 30 30 const METHOD_TITLE = 'Aplazame'; … … 339 339 'cart_pay_in_4' => 'no', 340 340 'widget_out_of_limits' => 'show', 341 'product_downpayment_info' => 'yes', 342 'cart_downpayment_info' => 'yes', 341 343 ); 342 344 343 345 public static function upgrade() { 344 346 if ( version_compare( get_option( self::VERSION_KEY ), WC_Aplazame::VERSION, '<' ) ) { 345 self::set_aplazame_profile();346 347 self::remove_redirect_page(); 347 348 /** … … 409 410 } 410 411 411 private static function set_aplazame_profile() {412 /**413 *414 * @var WC_Aplazame $aplazame415 */416 global $aplazame;417 418 if ( ! $aplazame->private_api_key ) {419 return;420 }421 422 $client = $aplazame->get_client()->apiClient;423 try {424 $client->patch(425 '/me',426 array(427 'confirmation_url' => '',428 )429 );430 } catch ( Exception $e ) {431 $aplazame->private_api_key = null;432 $aplazame->settings['private_api_key'] = null;433 }434 }435 436 412 private static function remove_redirect_page() { 437 413 include_once 'classes/lib/Redirect.php'; -
aplazame/trunk/classes/wc-aplazame-gateway.php
r2647768 r2864472 277 277 'placeholder' => __( 'Optional (only numbers)', 'aplazame' ), 278 278 ), 279 'product_downpayment_info' => array( 280 'type' => 'checkbox', 281 'title' => __( 'Downpayment info', 'aplazame' ), 282 'description' => __( 'Show downpayment info in product widget', 'aplazame' ), 283 'label' => __( 'Show downpayment info', 'aplazame' ), 284 ), 279 285 'product_legal_advice' => array( 280 286 'type' => 'checkbox', … … 370 376 'placeholder' => __( 'Optional (only numbers)', 'aplazame' ), 371 377 ), 378 'cart_downpayment_info' => array( 379 'type' => 'checkbox', 380 'title' => __( 'Downpayment info', 'aplazame' ), 381 'description' => __( 'Show downpayment info in cart widget', 'aplazame' ), 382 'label' => __( 'Show downpayment info', 'aplazame' ), 383 ), 372 384 'cart_legal_advice' => array( 373 385 'type' => 'checkbox', … … 436 448 437 449 protected function validate_private_api_key_field( $key, $value ) { 438 try { 439 $response = WC_Aplazame::configure_aplazame_profile( $this->settings['sandbox'], $value ); 440 } catch ( Exception $e ) { 441 // Workaround https://github.com/woocommerce/woocommerce/issues/11952 442 WC_Admin_Settings::add_error( $e->getMessage() ); 443 444 throw $e; 445 } 446 447 $this->settings['public_api_key'] = $response['public_api_key']; 448 450 if ( $value != $this->settings['private_api_key'] ) { 451 try { 452 $response = WC_Aplazame::configure_aplazame_profile( $this->settings['sandbox'], $value ); 453 } catch ( Exception $e ) { 454 // Workaround https://github.com/woocommerce/woocommerce/issues/11952 455 WC_Admin_Settings::add_error( $e->getMessage() ); 456 457 throw $e; 458 } 459 460 $this->settings['public_api_key'] = $response['public_api_key']; 461 } 449 462 return $value; 450 463 } -
aplazame/trunk/i18n/languages/aplazame.po
r2647768 r2864472 2 2 msgstr "" 3 3 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 4 "POT-Creation-Date: 202 1-12-09 11:12+0000\n"4 "POT-Creation-Date: 2023-02-08 10:52+0000\n" 5 5 "Language: es_ES\n" 6 6 "MIME-Version: 1.0\n" … … 126 126 msgstr "Widget del producto" 127 127 128 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:3 56128 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:362 129 129 msgid "Place to show" 130 130 msgstr "Lugar a mostrar" … … 134 134 msgstr "Lugar del widget en la página del producto" 135 135 136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 59136 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:365 137 137 msgid "~ Not show ~" 138 138 msgstr "~ No mostrar ~" … … 150 150 msgstr "Después del resumen" 151 151 152 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:3 68152 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:374 153 153 msgid "Default instalments" 154 154 msgstr "Cuotas por defecto" … … 158 158 msgstr "Número de cuotas por defecto en el widget del producto" 159 159 160 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:37 0160 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:376 161 161 msgid "Optional (only numbers)" 162 162 msgstr "Opcional (solo números)" 163 163 164 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:374 164 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:380 165 msgid "Downpayment info" 166 msgstr "Pago inicial" 167 168 #: classes/wc-aplazame-gateway.php:282 169 msgid "Show downpayment info in product widget" 170 msgstr "Mostrar pago inicial en el widget del producto" 171 172 #: classes/wc-aplazame-gateway.php:283 classes/wc-aplazame-gateway.php:382 173 msgid "Show downpayment info" 174 msgstr "Mostrar pago inicial" 175 176 #: classes/wc-aplazame-gateway.php:287 classes/wc-aplazame-gateway.php:386 165 177 msgid "Legal notice" 166 178 msgstr "Texto legal" 167 179 168 #: classes/wc-aplazame-gateway.php:28 2180 #: classes/wc-aplazame-gateway.php:288 169 181 msgid "Show legal notice in product widget" 170 182 msgstr "Mostrar texto legal en el widget del producto" 171 183 172 #: classes/wc-aplazame-gateway.php:28 3 classes/wc-aplazame-gateway.php:376184 #: classes/wc-aplazame-gateway.php:289 classes/wc-aplazame-gateway.php:388 173 185 msgid "Show legal notice" 174 186 msgstr "Mostrar texto legal" 175 187 176 #: classes/wc-aplazame-gateway.php:2 87 classes/wc-aplazame-gateway.php:380188 #: classes/wc-aplazame-gateway.php:293 classes/wc-aplazame-gateway.php:392 177 189 msgid "Pay in 4" 178 190 msgstr "Paga en 4" 179 191 180 #: classes/wc-aplazame-gateway.php:2 88192 #: classes/wc-aplazame-gateway.php:294 181 193 msgid "Enable product widget pay in 4 (if available)" 182 194 msgstr "Activar widget del producto paga en 4 (si disponible)" 183 195 184 #: classes/wc-aplazame-gateway.php:2 89 classes/wc-aplazame-gateway.php:382196 #: classes/wc-aplazame-gateway.php:295 classes/wc-aplazame-gateway.php:394 185 197 msgid "Enable pay in 4" 186 198 msgstr "Activar paga en 4" 187 199 188 #: classes/wc-aplazame-gateway.php:29 3200 #: classes/wc-aplazame-gateway.php:299 189 201 msgid "Border" 190 202 msgstr "Marco" 191 203 192 #: classes/wc-aplazame-gateway.php: 294204 #: classes/wc-aplazame-gateway.php:300 193 205 msgid "Show border in product widget (only new widget)" 194 206 msgstr "Mostrar marco en el widget del producto (sólo nuevo widget)" 195 207 196 #: classes/wc-aplazame-gateway.php: 295208 #: classes/wc-aplazame-gateway.php:301 197 209 msgid "Show border" 198 210 msgstr "Mostrar marco" 199 211 200 #: classes/wc-aplazame-gateway.php:30 1 classes/wc-aplazame-gateway.php:388212 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:400 201 213 msgid "Primary color" 202 214 msgstr "Color principal" 203 215 204 #: classes/wc-aplazame-gateway.php:30 2216 #: classes/wc-aplazame-gateway.php:308 205 217 msgid "Primary color hexadecimal code for product widget (only new widget)" 206 218 msgstr "" … … 208 220 "nuevo widget)" 209 221 210 #: classes/wc-aplazame-gateway.php:3 08 classes/wc-aplazame-gateway.php:395222 #: classes/wc-aplazame-gateway.php:314 classes/wc-aplazame-gateway.php:407 211 223 msgid "Layout" 212 224 msgstr "Disposición" 213 225 214 #: classes/wc-aplazame-gateway.php:3 09226 #: classes/wc-aplazame-gateway.php:315 215 227 msgid "Layout of product widget (only new widget)" 216 228 msgstr "Disposición del widget del producto (sólo nuevo widget)" 217 229 218 #: classes/wc-aplazame-gateway.php:3 18 classes/wc-aplazame-gateway.php:405230 #: classes/wc-aplazame-gateway.php:324 classes/wc-aplazame-gateway.php:417 219 231 msgid "Alignment" 220 232 msgstr "Alineación" 221 233 222 #: classes/wc-aplazame-gateway.php:3 19234 #: classes/wc-aplazame-gateway.php:325 223 235 msgid "Product widget alignment (only new widget)" 224 236 msgstr "Alineación del widget del producto (sólo nuevo widget)" 225 237 226 #: classes/wc-aplazame-gateway.php:32 1 classes/wc-aplazame-gateway.php:408238 #: classes/wc-aplazame-gateway.php:327 classes/wc-aplazame-gateway.php:420 227 239 msgid "Left" 228 240 msgstr "Izquierda" 229 241 230 #: classes/wc-aplazame-gateway.php:32 2 classes/wc-aplazame-gateway.php:409242 #: classes/wc-aplazame-gateway.php:328 classes/wc-aplazame-gateway.php:421 231 243 msgid "Center" 232 244 msgstr "Centro" 233 245 234 #: classes/wc-aplazame-gateway.php:32 3 classes/wc-aplazame-gateway.php:410246 #: classes/wc-aplazame-gateway.php:329 classes/wc-aplazame-gateway.php:422 235 247 msgid "Right" 236 248 msgstr "Derecha" 237 249 238 #: classes/wc-aplazame-gateway.php:3 29250 #: classes/wc-aplazame-gateway.php:335 239 251 msgid "Product quantity CSS selector" 240 252 msgstr "Selector CSS del número de unidades del producto" 241 253 242 #: classes/wc-aplazame-gateway.php:33 0254 #: classes/wc-aplazame-gateway.php:336 243 255 msgid "CSS selector pointing to product quantity" 244 256 msgstr "Selector CSS para obtener la cantidad de producto" 245 257 246 #: classes/wc-aplazame-gateway.php:3 35258 #: classes/wc-aplazame-gateway.php:341 247 259 msgid "Product price CSS selector" 248 260 msgstr "Selector CSS del precio del producto" 249 261 250 #: classes/wc-aplazame-gateway.php:3 36262 #: classes/wc-aplazame-gateway.php:342 251 263 msgid "CSS selector pointing to product price" 252 264 msgstr "Selector CSS para obtener el precio del producto" 253 265 254 #: classes/wc-aplazame-gateway.php:34 1266 #: classes/wc-aplazame-gateway.php:347 255 267 msgid "Variable product price CSS selector" 256 268 msgstr "Selector CSS del precio variable del producto" 257 269 258 #: classes/wc-aplazame-gateway.php:34 2270 #: classes/wc-aplazame-gateway.php:348 259 271 msgid "CSS selector pointing to variable product price" 260 272 msgstr "Selector CSS para obtener el precio variable del producto" 261 273 262 #: classes/wc-aplazame-gateway.php:35 0274 #: classes/wc-aplazame-gateway.php:356 263 275 msgid "Cart widget" 264 276 msgstr "Widget del carrito" 265 277 266 #: classes/wc-aplazame-gateway.php:3 57278 #: classes/wc-aplazame-gateway.php:363 267 279 msgid "Widget place on cart page" 268 280 msgstr "Lugar del widget en la página del carrito" 269 281 270 #: classes/wc-aplazame-gateway.php:36 0282 #: classes/wc-aplazame-gateway.php:366 271 283 msgid "Before cart totals" 272 284 msgstr "Antes del total" 273 285 274 #: classes/wc-aplazame-gateway.php:36 1286 #: classes/wc-aplazame-gateway.php:367 275 287 msgid "After cart totals" 276 288 msgstr "Después del total" 277 289 278 #: classes/wc-aplazame-gateway.php:3 69290 #: classes/wc-aplazame-gateway.php:375 279 291 msgid "Number of default instalments in cart widget" 280 292 msgstr "Número de cuotas por defecto en el widget del carrito" 281 293 282 #: classes/wc-aplazame-gateway.php:375 294 #: classes/wc-aplazame-gateway.php:381 295 msgid "Show downpayment info in cart widget" 296 msgstr "Mostrar pago inicial en el widget del carrito" 297 298 #: classes/wc-aplazame-gateway.php:387 283 299 msgid "Show legal notice in cart widget" 284 300 msgstr "Mostrar texto legal en el widget del carrito" 285 301 286 #: classes/wc-aplazame-gateway.php:3 81302 #: classes/wc-aplazame-gateway.php:393 287 303 msgid "Enable cart widget pay in 4 (if available)" 288 304 msgstr "Activar widget del carrito paga en 4 (si disponible)" 289 305 290 #: classes/wc-aplazame-gateway.php: 389306 #: classes/wc-aplazame-gateway.php:401 291 307 msgid "Primary color hexadecimal code for cart widget (only new widget)" 292 308 msgstr "" … … 294 310 "nuevo widget)" 295 311 296 #: classes/wc-aplazame-gateway.php: 396312 #: classes/wc-aplazame-gateway.php:408 297 313 msgid "Layout of cart widget (only new widget)" 298 314 msgstr "Disposición del widget del carrito (sólo nuevo widget)" 299 315 300 #: classes/wc-aplazame-gateway.php:4 06316 #: classes/wc-aplazame-gateway.php:418 301 317 msgid "Cart widget alignment (only new widget)" 302 318 msgstr "Alineación del widget del carrito (sólo nuevo widget)" 303 319 304 #: classes/wc-aplazame-gateway.php:4 15320 #: classes/wc-aplazame-gateway.php:427 305 321 msgid "Button" 306 322 msgstr "Botón" 307 323 308 #: classes/wc-aplazame-gateway.php:4 21324 #: classes/wc-aplazame-gateway.php:433 309 325 msgid "Button Selector" 310 326 msgstr "Selector del botón" 311 327 312 #: classes/wc-aplazame-gateway.php:4 22328 #: classes/wc-aplazame-gateway.php:434 313 329 msgid "Aplazame Button CSS Selector" 314 330 msgstr "Selector CSS del botón de pago con Aplazame" 315 331 316 #: classes/wc-aplazame-gateway.php:4 30332 #: classes/wc-aplazame-gateway.php:442 317 333 msgid "Button Image" 318 334 msgstr "Imagen del botón" 319 335 320 #: classes/wc-aplazame-gateway.php:4 31336 #: classes/wc-aplazame-gateway.php:443 321 337 msgid "Aplazame Button Image that you want to show" 322 338 msgstr "Imagen del botón de pago con Aplazame que quieres mostrar" -
aplazame/trunk/i18n/languages/aplazame.pot
r2803971 r2864472 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: Aplazame v3. 6.3\n"9 "Project-Id-Version: Aplazame v3.7.0\n" 10 10 "Report-Msgid-Bugs-To: https://github.com/aplazame/woocommerce\n" 11 "POT-Creation-Date: 202 2-10-25 09:48+0000\n"11 "POT-Creation-Date: 2023-02-13 14:00+0000\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 133 133 msgstr "" 134 134 135 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:3 56135 #: classes/wc-aplazame-gateway.php:262 classes/wc-aplazame-gateway.php:362 136 136 msgid "Place to show" 137 137 msgstr "" … … 141 141 msgstr "" 142 142 143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:3 59143 #: classes/wc-aplazame-gateway.php:265 classes/wc-aplazame-gateway.php:365 144 144 msgid "~ Not show ~" 145 145 msgstr "" … … 157 157 msgstr "" 158 158 159 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:3 68159 #: classes/wc-aplazame-gateway.php:275 classes/wc-aplazame-gateway.php:374 160 160 msgid "Default instalments" 161 161 msgstr "" … … 165 165 msgstr "" 166 166 167 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:37 0167 #: classes/wc-aplazame-gateway.php:277 classes/wc-aplazame-gateway.php:376 168 168 msgid "Optional (only numbers)" 169 169 msgstr "" 170 170 171 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:374 171 #: classes/wc-aplazame-gateway.php:281 classes/wc-aplazame-gateway.php:380 172 msgid "Downpayment info" 173 msgstr "" 174 175 #: classes/wc-aplazame-gateway.php:282 176 msgid "Show downpayment info in product widget" 177 msgstr "" 178 179 #: classes/wc-aplazame-gateway.php:283 classes/wc-aplazame-gateway.php:382 180 msgid "Show downpayment info" 181 msgstr "" 182 183 #: classes/wc-aplazame-gateway.php:287 classes/wc-aplazame-gateway.php:386 172 184 msgid "Legal notice" 173 185 msgstr "" 174 186 175 #: classes/wc-aplazame-gateway.php:28 2187 #: classes/wc-aplazame-gateway.php:288 176 188 msgid "Show legal notice in product widget" 177 189 msgstr "" 178 190 179 #: classes/wc-aplazame-gateway.php:28 3 classes/wc-aplazame-gateway.php:376191 #: classes/wc-aplazame-gateway.php:289 classes/wc-aplazame-gateway.php:388 180 192 msgid "Show legal notice" 181 193 msgstr "" 182 194 183 #: classes/wc-aplazame-gateway.php:2 87 classes/wc-aplazame-gateway.php:380195 #: classes/wc-aplazame-gateway.php:293 classes/wc-aplazame-gateway.php:392 184 196 msgid "Pay in 4" 185 197 msgstr "" 186 198 187 #: classes/wc-aplazame-gateway.php:2 88199 #: classes/wc-aplazame-gateway.php:294 188 200 msgid "Enable product widget pay in 4 (if available)" 189 201 msgstr "" 190 202 191 #: classes/wc-aplazame-gateway.php:2 89 classes/wc-aplazame-gateway.php:382203 #: classes/wc-aplazame-gateway.php:295 classes/wc-aplazame-gateway.php:394 192 204 msgid "Enable pay in 4" 193 205 msgstr "" 194 206 195 #: classes/wc-aplazame-gateway.php:29 3207 #: classes/wc-aplazame-gateway.php:299 196 208 msgid "Border" 197 209 msgstr "" 198 210 199 #: classes/wc-aplazame-gateway.php: 294211 #: classes/wc-aplazame-gateway.php:300 200 212 msgid "Show border in product widget (only new widget)" 201 213 msgstr "" 202 214 203 #: classes/wc-aplazame-gateway.php: 295215 #: classes/wc-aplazame-gateway.php:301 204 216 msgid "Show border" 205 217 msgstr "" 206 218 207 #: classes/wc-aplazame-gateway.php:30 1 classes/wc-aplazame-gateway.php:388219 #: classes/wc-aplazame-gateway.php:307 classes/wc-aplazame-gateway.php:400 208 220 msgid "Primary color" 209 221 msgstr "" 210 222 211 #: classes/wc-aplazame-gateway.php:30 2223 #: classes/wc-aplazame-gateway.php:308 212 224 msgid "Primary color hexadecimal code for product widget (only new widget)" 213 225 msgstr "" 214 226 215 #: classes/wc-aplazame-gateway.php:3 08 classes/wc-aplazame-gateway.php:395227 #: classes/wc-aplazame-gateway.php:314 classes/wc-aplazame-gateway.php:407 216 228 msgid "Layout" 217 229 msgstr "" 218 230 219 #: classes/wc-aplazame-gateway.php:3 09231 #: classes/wc-aplazame-gateway.php:315 220 232 msgid "Layout of product widget (only new widget)" 221 233 msgstr "" 222 234 223 #: classes/wc-aplazame-gateway.php:3 18 classes/wc-aplazame-gateway.php:405235 #: classes/wc-aplazame-gateway.php:324 classes/wc-aplazame-gateway.php:417 224 236 msgid "Alignment" 225 237 msgstr "" 226 238 227 #: classes/wc-aplazame-gateway.php:3 19239 #: classes/wc-aplazame-gateway.php:325 228 240 msgid "Product widget alignment (only new widget)" 229 241 msgstr "" 230 242 231 #: classes/wc-aplazame-gateway.php:32 1 classes/wc-aplazame-gateway.php:408243 #: classes/wc-aplazame-gateway.php:327 classes/wc-aplazame-gateway.php:420 232 244 msgid "Left" 233 245 msgstr "" 234 246 235 #: classes/wc-aplazame-gateway.php:32 2 classes/wc-aplazame-gateway.php:409247 #: classes/wc-aplazame-gateway.php:328 classes/wc-aplazame-gateway.php:421 236 248 msgid "Center" 237 249 msgstr "" 238 250 239 #: classes/wc-aplazame-gateway.php:32 3 classes/wc-aplazame-gateway.php:410251 #: classes/wc-aplazame-gateway.php:329 classes/wc-aplazame-gateway.php:422 240 252 msgid "Right" 241 253 msgstr "" 242 254 243 #: classes/wc-aplazame-gateway.php:3 29255 #: classes/wc-aplazame-gateway.php:335 244 256 msgid "Product quantity CSS selector" 245 257 msgstr "" 246 258 247 #: classes/wc-aplazame-gateway.php:33 0259 #: classes/wc-aplazame-gateway.php:336 248 260 msgid "CSS selector pointing to product quantity" 249 261 msgstr "" 250 262 251 #: classes/wc-aplazame-gateway.php:3 35263 #: classes/wc-aplazame-gateway.php:341 252 264 msgid "Product price CSS selector" 253 265 msgstr "" 254 266 255 #: classes/wc-aplazame-gateway.php:3 36267 #: classes/wc-aplazame-gateway.php:342 256 268 msgid "CSS selector pointing to product price" 257 269 msgstr "" 258 270 259 #: classes/wc-aplazame-gateway.php:34 1271 #: classes/wc-aplazame-gateway.php:347 260 272 msgid "Variable product price CSS selector" 261 273 msgstr "" 262 274 263 #: classes/wc-aplazame-gateway.php:34 2275 #: classes/wc-aplazame-gateway.php:348 264 276 msgid "CSS selector pointing to variable product price" 265 277 msgstr "" 266 278 267 #: classes/wc-aplazame-gateway.php:35 0279 #: classes/wc-aplazame-gateway.php:356 268 280 msgid "Cart widget" 269 281 msgstr "" 270 282 271 #: classes/wc-aplazame-gateway.php:3 57283 #: classes/wc-aplazame-gateway.php:363 272 284 msgid "Widget place on cart page" 273 285 msgstr "" 274 286 275 #: classes/wc-aplazame-gateway.php:36 0287 #: classes/wc-aplazame-gateway.php:366 276 288 msgid "Before cart totals" 277 289 msgstr "" 278 290 279 #: classes/wc-aplazame-gateway.php:36 1291 #: classes/wc-aplazame-gateway.php:367 280 292 msgid "After cart totals" 281 293 msgstr "" 282 294 283 #: classes/wc-aplazame-gateway.php:3 69295 #: classes/wc-aplazame-gateway.php:375 284 296 msgid "Number of default instalments in cart widget" 285 297 msgstr "" 286 298 287 #: classes/wc-aplazame-gateway.php:375 299 #: classes/wc-aplazame-gateway.php:381 300 msgid "Show downpayment info in cart widget" 301 msgstr "" 302 303 #: classes/wc-aplazame-gateway.php:387 288 304 msgid "Show legal notice in cart widget" 289 305 msgstr "" 290 306 291 #: classes/wc-aplazame-gateway.php:3 81307 #: classes/wc-aplazame-gateway.php:393 292 308 msgid "Enable cart widget pay in 4 (if available)" 293 309 msgstr "" 294 310 295 #: classes/wc-aplazame-gateway.php: 389311 #: classes/wc-aplazame-gateway.php:401 296 312 msgid "Primary color hexadecimal code for cart widget (only new widget)" 297 313 msgstr "" 298 314 299 #: classes/wc-aplazame-gateway.php: 396315 #: classes/wc-aplazame-gateway.php:408 300 316 msgid "Layout of cart widget (only new widget)" 301 317 msgstr "" 302 318 303 #: classes/wc-aplazame-gateway.php:4 06319 #: classes/wc-aplazame-gateway.php:418 304 320 msgid "Cart widget alignment (only new widget)" 305 321 msgstr "" 306 322 307 #: classes/wc-aplazame-gateway.php:4 15323 #: classes/wc-aplazame-gateway.php:427 308 324 msgid "Button" 309 325 msgstr "" 310 326 311 #: classes/wc-aplazame-gateway.php:4 21327 #: classes/wc-aplazame-gateway.php:433 312 328 msgid "Button Selector" 313 329 msgstr "" 314 330 315 #: classes/wc-aplazame-gateway.php:4 22331 #: classes/wc-aplazame-gateway.php:434 316 332 msgid "Aplazame Button CSS Selector" 317 333 msgstr "" 318 334 319 #: classes/wc-aplazame-gateway.php:4 30335 #: classes/wc-aplazame-gateway.php:442 320 336 msgid "Button Image" 321 337 msgstr "" 322 338 323 #: classes/wc-aplazame-gateway.php:4 31339 #: classes/wc-aplazame-gateway.php:443 324 340 msgid "Aplazame Button Image that you want to show" 325 341 msgstr "" -
aplazame/trunk/templates/widgets/cart.php
r2647768 r2864472 30 30 <?php endif; ?> 31 31 data-option-legal-advice="<?php echo esc_attr( $aplazame->settings['cart_legal_advice'] === 'yes' ? 'true' : 'false' ); ?>" 32 data-option-downpayment-info="<?php echo esc_attr( $aplazame->settings['cart_downpayment_info'] === 'yes' ? 'true' : 'false' ); ?>" 32 33 data-option-out-of-limits="<?php echo esc_attr( $aplazame->settings['widget_out_of_limits'] ); ?>" 33 34 <?php if ( $aplazame->settings['cart_pay_in_4'] === 'yes' ) : ?> -
aplazame/trunk/templates/widgets/product.php
r2647768 r2864472 59 59 <?php endif; ?> 60 60 data-option-legal-advice="<?php echo esc_attr( $aplazame->settings['product_legal_advice'] === 'yes' ? 'true' : 'false' ); ?>" 61 data-option-downpayment-info="<?php echo esc_attr( $aplazame->settings['product_downpayment_info'] === 'yes' ? 'true' : 'false' ); ?>" 61 62 data-option-out-of-limits="<?php echo esc_attr( $aplazame->settings['widget_out_of_limits'] ); ?>" 62 63 <?php if ( $aplazame->settings['product_pay_in_4'] === 'yes' ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.