News:

Support the VirtueMart project and become a member

Main Menu

icecat live

Started by Skani, September 18, 2015, 02:06:31 AM

Previous topic - Next topic

Skani

hello recently I received an email from  Icecat promoting their service  Icecat live and sent me the following sample code:

<html>
    <head>
       <script src="http://live.icecat.biz/js/live-current.js"></script>
    </head>
    <body>
       <div id="loadLiveIcecat"></div>
       <script type="text/javascript">
          setTimeout(function() {
            IcecatLive.getDatasheet('#loadLiveIcecat',{'shopname':
             'openIcecat-live','icecat_id':'14598403'},'es');
         }, 200);
       </script>
    </body>
</html>

also he said to have other search options such as:

Example:
IcecatLive.getDatasheet('#loadliveicecat',{'shopname': ' openIcecatlive','
icecat_id':'18253015'},'en');
b. Do a call by Brand + Manufacturer Part Code combination. We will try to recognize the
product even for a known variations of Manufacturer Part Code.
IcecatLive.getDatasheet('#loadliveicecat',{'shopname': ' openIcecat-live',
'brand':'Philips','part_code':'123456789'},'en');
c. Do a call by GTIN bar code (EAN/UPC)
IcecatLive.getDatasheet('#loadliveicecat',{'shopname': ' openIcecat-live','ean_upc':
'8478097595798729'},'en');

I know how to integrate the code in my template but do not know how to call virtuemart variables for this code can be adjusted automatically to all my products.
and not have to do it product by product, someone could guide me?

More information about this service Icecat:
http://icecat.biz/get_attachment.cgi?6752


Update:
as I can do to get where it says 'brand':'(take virtuemart manufacturer)','part_code':'(take Product Sku)' ?


thank you for your help

Joomla 3.4.4
VM 3.0.9
PHP  6.2