Results 1 to 10 of 695

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I would really like to display the Nett Price in facebook. The price that is displayed comes from price_sorter in the database, but the nett price is not stored in the database (or I can't find it).

  2. #2
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by coopco View Post
    I would really like to display the Nett Price in facebook. The price that is displayed comes from price_sorter in the database, but the nett price is not stored in the database (or I can't find it).
    hi i got this to work with the zen_get_products_actual_price($products_id) i did have to use the substring to get rid of the zeros

    not sure what way this would work with taxes etc but give it a try

    PHP Code:
    $price substr(zen_get_products_actual_price($products_id),0,-2); 
    bn

  3. #3
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by bn17311 View Post
    hi i got this to work with the zen_get_products_actual_price($products_id) i did have to use the substring to get rid of the zeros

    not sure what way this would work with taxes etc but give it a try

    PHP Code:
    $price substr(zen_get_products_actual_price($products_id),0,-2); 
    bn
    Thanks bn17311

    That worked.

  4. #4
    Join Date
    Jun 2009
    Location
    Thessaloniki, Greece
    Posts
    41
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by coopco View Post
    I would really like to display the Nett Price in facebook. The price that is displayed comes from price_sorter in the database, but the nett price is not stored in the database (or I can't find it).

    I guess you need the total price with taxes :)
    Just use replace with this

    Code:
    //$price = $products_price;
                  $price = $_POST['products_price_gross'];
    My Online Store thanks to Zen Cart
    If everything else fails.... read the f@#$%ing manual :)
    And always remember before any change!!! Backup to be able to go back!

  5. #5
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by infogate View Post
    I guess you need the total price with taxes :)
    Just use replace with this

    Code:
    //$price = $products_price;
                  $price = $_POST['products_price_gross'];
    Hi infogate
    Thank you.This works and I will go with this solution.

 

 

Similar Threads

  1. v151 autofacebook help
    By sean g in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Nov 2014, 08:52 PM
  2. AutoFacebook and Canada Post Modules
    By DJLQD in forum General Questions
    Replies: 0
    Last Post: 27 Feb 2013, 02:32 PM
  3. v139h Help please with Autofacebook - Support thread is no longer supported
    By shags38 in forum General Questions
    Replies: 0
    Last Post: 18 Jul 2012, 01:49 PM
  4. Problems with AutoFacebook
    By amanda099 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 31 Aug 2010, 10:12 AM
  5. AutoFacebook OG 1.3.9 addon problems
    By eOstrE in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Jul 2010, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg