<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Item Syncing]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4477&amp;type=atom" />
	<updated>2013-11-07T14:49:32Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4477</id>
		<entry>
			<title type="html"><![CDATA[Re: Item Syncing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18370#p18370" />
			<content type="html"><![CDATA[<p>Thanks tm, I also will have to remember that little poke to the system. I have about 13,400 products to sync!</p>]]></content>
			<author>
				<name><![CDATA[pubman]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16449</uri>
			</author>
			<updated>2013-11-07T14:49:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18370#p18370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Item Syncing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18194#p18194" />
			<content type="html"><![CDATA[<p>OMG tm! You are the smartest person on the planet!!! How will I ever repay you? I&#039;ve been stuck on this for like 3 days straight. Now I can go to sleep!! LOL&nbsp; THANK YOU THANK YOU THANK YOU!!!!</p>]]></content>
			<author>
				<name><![CDATA[macmike78]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18661</uri>
			</author>
			<updated>2013-10-23T21:01:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18194#p18194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Item Syncing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18193#p18193" />
			<content type="html"><![CDATA[<p>Aha. I may have misread your original post somewhat. So all synchronisation is triggered by that php page? And it only works for items which you have edited/saved from OpenCart?</p><p>Then it would have to keep track of previously synced items, presumably by looking at their &quot;modified&quot; timestamps. Are they set by the import script? Even so, if they are equal to the &quot;created&quot; timestamp they could be (wrongly, in this case) assumed to not need to be synced.</p><p>You could update them all from phpmyadmin (or whatever tool you use) by a simple SQL statement, like &quot;UPDATE oc_product SET date_modified=NOW() where 1&quot;</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2013-10-23T20:21:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18193#p18193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Item Syncing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18191#p18191" />
			<content type="html"><![CDATA[<p>Thanks tm for your input! I would think the trigger, from what little I understand - would be the php page I load to do my initial sync. I really think the answer&#039;s in that page somewhere but don&#039;t know enough to know what I&#039;m looking for. LOL</p><p>Here&#039;s the process.<br />1. Upload my excel sheet.<br />2. All products are automatically populated in opencart.<br />3. Enter the url in my browser to the initial sync php file.<br />4. Check FrontAccouting for my products. - hmm - Nothing there!?<br />5. Go back into OpenCart Admin, click &quot;edit&quot; on any product, click &quot;save&quot; on any product.<br />6. Run my php file again<br />7. Go to FrontAccounting - What do you know! The product I just edited magically appears (even though I technically didn&#039;t edit a thing).</p><p>So I don&#039;t think it&#039;s the &quot;save&quot; button that is the key to all this. It&#039;s likely the php file called sync-opencart-fa.php (which I&#039;d be more than happy to send someone if they want to look at it).</p><p>Thanks again for your input! I&#039;ve really got to figure this one out.</p><p>Mike</p>]]></content>
			<author>
				<name><![CDATA[macmike78]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18661</uri>
			</author>
			<updated>2013-10-23T18:02:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18191#p18191</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Item Syncing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18190#p18190" />
			<content type="html"><![CDATA[<p>It seems the synchronisation is triggered by the &quot;save&quot; action. Unfortunately, it also seems the import bypasses this completely. </p><p>I guess Cartbooks simply ignores products already in the database, until it detects an update (identified by a click on the &quot;save&quot; button). That means you would have had the same problem if your products had already been in the database. </p><p>I can see the following possible solutions:<br />1. Cartbooks could implement a &quot;forced&quot; sync option to upload all items currently in the database.<br />2. Excelport could import the items through the web interface, or at least generate a &quot;save&quot; click/event for each item to allow OpenCart and/or its plugins to respond to the change.</p><p>Both are features which would not be unreasonable to expect. </p><p>But if you have any programming background you could probably explicitly invoke the sync function of Cartbooks from a script of your own. Or at least script the clicking of the save button.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2013-10-23T17:30:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18190#p18190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Item Syncing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18188#p18188" />
			<content type="html"><![CDATA[<p>I&#039;m not sure if anyone here can help me out or not but you seem like a smart bunch!</p><p>I have an OpenCart website that is synced to FrontAccounting using the Cartbooks syncing solution. I&#039;ve loaded my 1000 products in OpenCart using Excelport (imported via excel spreadsheet). Everything works fine except for the fact that my products don&#039;t sync to FrontAccounting unless I &quot;edit&quot; &amp; &quot;save&quot; a product in OpenCart backend. I don&#039;t even need to make changes to my product, just click &quot;edit&quot; &amp; &quot;save&quot;. Then it magically syncs to my FrontAccounting (upon loading the php sync page). I&#039;ve talked to both Cartbooks &amp; ExcelPort and obviously they&#039;re pointing the finger at each other. I can&#039;t manually edit &amp; save 1000+ products.</p><p>Hope someone can help.</p><p>Thanks FrontAccounting! - Your software is awesome!!</p>]]></content>
			<author>
				<name><![CDATA[macmike78]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18661</uri>
			</author>
			<updated>2013-10-23T16:45:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18188#p18188</id>
		</entry>
</feed>
