Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Facebook feed
 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-16-2019, 03:02 AM
 
welly welly is online now
 

Senior Member
  
Join Date: Mar 2011
Location: UK
Posts: 199
 

Default Facebook feed

Hi there

Just recently I have created a Facebook shop and started using the 'Facebook and Instagram' product feed in conjunction with the Google feed for variants.

It seems to work quite well, aside from a problem with product details (like changes to product images) not being updated in Facebook even though the feed file itself is updated (this appears to be a common FB problem across multiple platforms, not just XC), but there are one or two issues.

The main one is that FB is complaining that my product prices have too many decimal places.

When I check my feed file, I can see why this is. My on-page prices include tax/VAT, but when the product prices are generated in the feed, the tax/VAT is removed, and the calculation leaves about 10 decimal places in the price field. £6.40 calculates to £5.3333333333333

Is there a simple way to restrict the number of decimal places in the feed without having to get under the bonnet and rewrite the feed code in some way? I can do that if I have to (er, possibly), but it will just make life more painful in future when the feed module(s) need to upgrade.

I should add that the products still show in the shop - it is a warning rather than a failure - but I would prefer not to keep receiving notifications to fix it and, to be honest, I don't think it should happen.

Many thanks

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:34 PM.

   

 
X-Cart forums © 2001-2018