Plugin Directory

Changeset 1959824


Ignore:
Timestamp:
10/20/2018 03:25:06 PM (7 years ago)
Author:
labschool
Message:

1.1.3

Location:
pixel-de-facebook-para-wocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pixel-de-facebook-para-wocommerce/trunk/fb-conf.php

    r1819926 r1959824  
    44Plugin URI: https://www.labschool.es
    55Description: Agrega fácilmente el pixel de Facebook, además de eventos estándar y personalizados a tu Woocommerce (ViewShop, ViewCategory, ViewTag, ViewContent, AddToCart, InitiateCheckout y Purchase).
    6 Version: 1.1.2
     6Version: 1.1.3
    77Requires at least: 3.0
    8 Tested up to: 4.9
     8Tested up to: 4.9.8
    99WC requires at least: 3.0
    1010WC tested up to: 3.3
     
    9393    content_category: '<?php echo $product_category ?>',
    9494    content_ids:    ['<?php echo (isset($options['product_ref']) && $options['product_ref']) ? $content_id : $content_sku; ?>'],
    95     value: <?php echo (isset($options['taxes']) && $options['taxes']) ? $price : $price_ex; ?>,
     95    value: <?php echo (isset($options['taxes']) && $options['taxes']) ? number_format($price,2,'.','') : number_format($price_ex,2,'.',''); ?>,
    9696    currency:'<?php echo $options['currency'];?>'
    9797});
     
    196196    content_type: 'product',
    197197    content_ids: [<?php echo (isset($options['product_ref']) && $options['product_ref']) ? implode( ', ',$content_id) : implode( ', ',$content_sku); ?>],
    198     value: <?php echo (isset($options['taxes']) && $options['taxes']) ? $cart_total : $cart_total_ex; ?>,
     198    value: <?php echo (isset($options['taxes']) && $options['taxes']) ? number_format($cart_total,2,'.','') : number_format($cart_total_ex,2,'.',''); ?>,
    199199    currency:'<?php echo $options['currency'];?>'
    200200});
     
    224224    content_type: 'product',
    225225    content_ids: [<?php echo (isset($options['product_ref']) && $options['product_ref']) ? implode( ', ',$content_id) : implode( ', ',$content_sku); ?>],
    226     value: <?php echo (isset($options['taxes']) && $options['taxes']) ? $cart_total : $cart_total_ex; ?>, 
     226    value: <?php echo (isset($options['taxes']) && $options['taxes']) ? number_format($cart_total,2,'.','') : number_format($cart_total_ex,2,'.',''); ?>,
    227227    currency:'<?php echo $options['currency'];?>'
    228228});
     
    257257    content_type: 'product',
    258258    content_ids: [<?php echo (isset($options['product_ref']) && $options['product_ref']) ? implode( ', ',$content_id) : implode( ', ',$content_sku); ?>],
    259     value: <?php echo (isset($options['taxes']) && $options['taxes']) ? $order_total : $order_total_ex; ?>,
     259    value: <?php echo (isset($options['taxes']) && $options['taxes']) ? number_format($order_total,2,'.','') : number_format($order_total_ex,2,'.',''); ?>,
    260260    currency:'<?php echo $options['currency'];?>'
    261261});
  • pixel-de-facebook-para-wocommerce/trunk/readme.txt

    r1819926 r1959824  
    44Tags: woocommerce, ecommerce, facebook, pixel, facebook pixel, events, tracking, facebook tracking, facebook events, viewcontent, addtocart, initiatecheckout, purchase, remarketing
    55Requires at least: 3.0
    6 Tested up to: 4.9
     6Tested up to: 4.9.8
    77Stable tag: 4.3
    88License: GPLv2 or later
     
    3939
    4040== Changelog ==
     41= Version 1.1.3 =
     42Disponible 20/10/2018
     43
     44- Solucionado error menor gracias a la detección y solución propuesta por @shojen. Gracias
     45
    4146= Version 1.1.2 =
    4247Disponible 11/02/2018
Note: See TracChangeset for help on using the changeset viewer.