Jump to content

PrestaCenter XML Export - feeds for price comparison services


Recommended Posts

PM sent. The cron txt does not say anything, at least for my understanding, but i also sent the text in PM

 

Besides this issues i am still having another one now

 

I've setup a new expert with the intent of exporting only One category, where i moved all the products i wanted to be exported to (not parent category)

 

Nevertheless it is exporting all the files, ignoring the choosen category to be exported.

 

First i though it was an issue of not being the parent / main category, but it if it is so, it should not had exported any product, since that category is not main for anyone, right?

 

 

EDIT: I tried to put has main category in some of the products to test and it still exports everything. 

 

It is like ot ignores the "categories" rule.

Edited by nspinheiro (see edit history)

Share this post


Link to post
Share on other sites
  • 2 weeks later...

 

<?xml version="1.0" encoding="UTF-8" ?>

<SINCRO_DETAILS>

<COUNTRY>106</COUNTRY>

<PRODUCTS ps_block="product">

<PRODUCT>

<PRODUCT_ID>{reference}</PRODUCT_ID>

<TITLE><![CDATA[{name}]]></TITLE>

<DESCRIPTION><![CDATA[{name}<br />Prodotto acquistabile presso {url}]]></DESCRIPTION>

<SECTOR>180799</SECTOR>

<PRICE>{price_local}</PRICE>

<SHIPPING>72</SHIPPING>

<MINIMUM>1</MINIMUM>

<UNIT_TYPE>10</UNIT_TYPE>

<PHOTOS>

<PHOTO>{img_url}</PHOTO>

</PHOTOS>

</PRODUCT>

</PRODUCTS>

</SINCRO_DETAILS>

i  use prestacenter xml export pro,  and i need export xml feed for solostocks.it

 

 

i  use prestacenter xml export pro,  and i need export xml feed for solostocks.it

 

You need use <PRODUCT ps_block="product">, but in the module is bug (if block="product" is nested within another tag). We working to correction this bug - only for Pro and Multi versions.

 

Your question is about paid module Pro. We will notify about the upgrade within a week in here:

https://www.prestashop.com/forums/topic/315357-prestacenter-xml-export-feeds-for-price-comparison-services/page-6?hl=+xml%20+export%20+pro

Please repeat your contribution in this topic.

 

i 've got this problem, this is replace from another topic.

wait for solution  thanks

 

Share this post


Link to post
Share on other sites

Google Merchant Center

 


<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
	<title>{shop_name}</title>
	<link rel="self" href="{shop_url}"/>
	<updated>{update_feed}</updated> 
		
	
	<entry ps_block="product variant">
		<g:id>{id}</g:id>
		<g:title>{name:CDATA} {variant_description:CDATA}</g:title>
		<g:description>{description_short:CDATA}</g:description>
		<g:link>{url:CDATA}</g:link>
		<g:image_link>{img_url}</g:image_link>
		<g:condition>{condition:"new,used,refurbished"}</g:condition>
		<g:availability>{availability: "in stock, available for order, out of stock"}</g:availability>
		<g:price>{price_vat_iso}</g:price>
		<g:shipping>
			<g:country>US</g:country>
			<g:service>Standard</g:service>
			<g:price>8.00 USD</g:price>
		</g:shipping>
			
		
		<g:gtin>{ean}</g:gtin>
		<g:brand>{manufacturer}</g:brand>
		<g:mpn>{reference}</g:mpn>
			
		<g:google_product_category>{categories: ">"}</g:google_product_category>
		<g:product_type>{categories: LAST_ONLY} </g:product_type>
	</entry>
	
</feed>
Edited by Şahin YILDIZ (see edit history)

Share this post


Link to post
Share on other sites

Hello,

this issue has gone viral since my affiliate network does not allow me to include sizes with no quantity and disables all my products.

 

Can you help solve this?

Thanks

 

 

Hello, I just installed version 2.0.1.2
 
a new feature that I would like is to hide the available combinations of a product with zero quantity.
eg. I have a shoe with size combinations (36,37,38,39) but only 36 is available. The others have zero quantity.
 

Can I exclude these combinations?

 

Thanks in advance.

 

 

And what should it export for products that have more than one attribute, in many different combinations? We aimed at exporting product variants (= unique combinations of attributes) rather than a list of all possible values for given attribute. It is possible to do what you asked, using XML template like this:

<shop>
<product ps_block="product">
<size><_hidden ps_block="variant">{attrib: "size"}, </_hidden></size>
<color><_hidden ps_block="variant">{attrib: "color"}, </_hidden></color>
</product>
</shop>

Then you get a feed like:

<?xml version="1.0" encoding="utf-8" ?><shop>
<product>
<size>... all available sizes</size>
<color>... all available colors</color>
</product>
<product> ... other product </product>
</shop>

Tag <_hidden> is never exported, only its contents. {attrib: "attribute name"} exports value of that attribute, the name MUST be lowercase and in the language of that feed - e.g. use {attrib: "color"} for english feed and {attrib: "farbe"} for german feed.

 

However, there are some gottchas you should be aware of: I can't think of any way how to remove the comma after last of the values. All possible sizes/colors/... for this product are exported, no matter what combinations you set. If you have combinations with more than one attribute, it is possible, that some values will be repeated (e. g.: You export a single product, shoe size 38, in both green and grey version. Inside <size> will probably be "38, 38, ", because there are two combinations, "green 38" and "grey 38".) And finally, exporting several attributes this way will probably slow down the export. How much exactly, that depends on number of products and attributes in your shop.

Share this post


Link to post
Share on other sites

Hello,

this issue has gone viral since my affiliate network does not allow me to include sizes with no quantity and disables all my products.

 

Can you help solve this?

Thanks

 

 

For export only variants on stock you must insert only two values in block "variant" for variable {availability}, like this:

<AVAILABILITY>{availability: "in stock, available for order"}</AVAILABILITY>

If you need disable output of this tag and {availability} value, you can put this line:

<_hidden>{availability: " "," "}</_hidden>

Tag <_hidden> generate no output.

Share this post


Link to post
Share on other sites

Hello,

thank you for your answer, but this is not the problem.

 

I have product X with sizes (36, 37, 38) where only 38 has quantity.

 

The xml export shows all sizes, but I need to show only 38. If the xml export show all the sizes, the affiliate network disables my product entirely.

 

 

For export only variants on stock you must insert only two values in block "variant" for variable {availability}, like this:

<AVAILABILITY>{availability: "in stock, available for order"}</AVAILABILITY>

If you need disable output of this tag and {availability} value, you can put this line:

<_hidden>{availability: " "," "}</_hidden>

Tag <_hidden> generate no output.

Share this post


Link to post
Share on other sites

Hello,

thank you for your answer, but this is not the problem.

 

I have product X with sizes (36, 37, 38) where only 38 has quantity.

 

The xml export shows all sizes, but I need to show only 38. If the xml export show all the sizes, the affiliate network disables my product entirely.

 

Yes, it solves your problem - try it. When in XML template is variable {availability} with the two values (must by in the block variant) then are exported only variants that are in stock. Variable {availability} with three values export all variants. See help in the module.

 

If you do not know how to set template, send your XML template - I adjust it.

Share this post


Link to post
Share on other sites

Yes it resolves the issue in a way. But I get "Availability" repeated. If I put availability in hidden tags I get an error. And also I need <availability> tag once in xml export. How to achieve that?

 

Thanks in advance

<?xml version="1.0" encoding="utf-8" ?>
<store>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <description>{description: HTML, CDATA}</description>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories: "->"}</categoryPath>
    <stock>Y</stock>
    <size><_hidden ps_block="variant">
              <availability>{availability: "available, unvailable"}</availability>
              {attrib: "size"}{attrib: "clothes_size"}, 
    </_hidden></size>
    <color>{attrib: "color"}</color>
  </product>
</store>

Yes, it solves your problem - try it. When in XML template is variable {availability} with the two values (must by in the block variant) then are exported only variants that are in stock. Variable {availability} with three values export all variants. See help in the module.

If you do not know how to set template, send your XML template - I adjust it.

Share this post


Link to post
Share on other sites

 

Yes it resolves the issue in a way. But I get "Availability" repeated. If I put availability in hidden tags I get an error. And also I need <availability> tag once in xml export. How to achieve that?

 

Thanks in advance

<?xml version="1.0" encoding="utf-8" ?>
<store>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <description>{description: HTML, CDATA}</description>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories: "->"}</categoryPath>
    <stock>Y</stock>
    <size><_hidden ps_block="variant">
              <availability>{availability: "available, unvailable"}</availability>
              {attrib: "size"}{attrib: "clothes_size"}, 
    </_hidden></size>
    <color>{attrib: "color"}</color>
  </product>
</store>

 

Please send an example of real XML export product item with data. Your XML template's not certain.

Edited by PrestaCS.cz (see edit history)

Share this post


Link to post
Share on other sites

The first is what I get and the second is how I want it. Thanks

<product>
	<productId>1351</productId>
	<title>shoe 1</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size>
		<availability>Available</availability>
		41
	</size>
	<color>Beige</color>
</product>
<product>
	<productId>1352</productId>
	<title>shoe 2</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size>
		<availability>Available</availability>
		37
		<availability>Available</availability>
		41
	</size>
	<color>Red</color>
</product>

2.

<product>
	<productId>1351</productId>
	<title>shoe 1</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size>41, </size>
	<color>Beige</color>
	<availability>Available</availability>
</product>
<product>
	<productId>1352</productId>
	<title>shoe 2</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size> 37, 41, </size>
	<color>Red</color>
	<availability>Available</availability>
</product>

Share this post


Link to post
Share on other sites

Besides this issues i am still having another one now

 

I've setup a new expert with the intent of exporting only One category, where i moved all the products i wanted to be exported to (not parent category)

 

Nevertheless it is exporting all the files, ignoring the choosen category to be exported.

 

First i though it was an issue of not being the parent / main category, but it if it is so, it should not had exported any product, since that category is not main for anyone, right?

 

 

EDIT: I tried to put has main category in some of the products to test and it still exports everything. 

 

It is like ot ignores the "categories" rule.

 

 

Hi

 

I still have this problems to solve. I can solve the cron issue by manually making the file, but i have no alternative for this last problem

Share this post


Link to post
Share on other sites

How can i solve this problem ?

 

Failed to create XML files (error description: Output XML files are not defined.). XML feeds have been restored to the previous state.

Share this post


Link to post
Share on other sites

The xml I would like to work with is

<?xml version="1.0" encoding="utf-8" ?>
<store>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories: "->"}</categoryPath>
    <stock>Y</stock>
    <size><_hidden ps_block="variant">
              <_hidden>{availability: " "," "}</_hidden>{attrib: "shoes"}, 
    </_hidden></size>
    <color>{attrib: "color"}</color>
    <availability>{availability: "Available","Unavailable"}</availability>
  </product>
</store>

But it does not work. I don't get the color and I have the following error

This page contains the following errors:


error on line 1440 at column 25: Opening and ending tag mismatch: size line 0 and store
Below is a rendering of the page up to the first error.

 

 

The first is what I get and the second is how I want it. Thanks

<product>
	<productId>1351</productId>
	<title>shoe 1</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size>
		<availability>Available</availability>
		41
	</size>
	<color>Beige</color>
</product>
<product>
	<productId>1352</productId>
	<title>shoe 2</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size>
		<availability>Available</availability>
		37
		<availability>Available</availability>
		41
	</size>
	<color>Red</color>
</product>

2.

<product>
	<productId>1351</productId>
	<title>shoe 1</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size>41, </size>
	<color>Beige</color>
	<availability>Available</availability>
</product>
<product>
	<productId>1352</productId>
	<title>shoe 2</title>
	<description>
		<![CDATA[ ]]>
	</description>
	<productURL>
		http://url
	</productURL>
	<imageURL>
		http://imgurl
	</imageURL>
	<price>20.00</price>
	<categoryPath>women -> shoes</categoryPath>
	<stock>Y</stock>
	<size> 37, 41, </size>
	<color>Red</color>
	<availability>Available</availability>
</product>

Share this post


Link to post
Share on other sites
  • 4 weeks later...
  • 3 weeks later...

 

The xml I would like to work with is

<?xml version="1.0" encoding="utf-8" ?>
<store>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories: "->"}</categoryPath>
    <stock>Y</stock>
    <size><_hidden ps_block="variant">
              <_hidden>{availability: " "," "}</_hidden>{attrib: "shoes"}, 
    </_hidden></size>
    <color>{attrib: "color"}</color>
    <availability>{availability: "Available","Unavailable"}</availability>
  </product>
</store>

But it does not work. I don't get the color and I have the following error

This page contains the following errors:


error on line 1440 at column 25: Opening and ending tag mismatch: size line 0 and store
Below is a rendering of the page up to the first error.

 

Did you found a schema that exports such a structure?

Share this post


Link to post
Share on other sites
  • 3 weeks later...
  • 2 weeks later...

I have problems  generate xml with attributes:

Failed to create XML files (error description: XML template uses the undefined property {attrib}. (general-pl-pln.xml)). XML feeds have been restored to the previous state.
    <size><_hidden ps_block="variant">
              <availability>{availability: "available, unvailable"}</availability>
              {attrib: "size"}, 
    </_hidden></size>

Share this post


Link to post
Share on other sites
  • 3 weeks later...
  • 2 weeks later...

Update of module PrestaCenter XML Export for PrestaShop 1.6.1.x is available

 

 

The new version of the module PrestaCenter XML Export (Professional and Free) is available now. Update PrestaCenter XML Export Multi will be available in a few days.

Customers who have purchased the Pro version - update can be downloaded from their original order in e-shop.

 

http://www.prestacs.cz/en/modules/21-module-prestacenter-xml-export-pro.html

Edited by PrestaCS.cz (see edit history)

Share this post


Link to post
Share on other sites

Hmmm. How do we update?

The link only goes to where you can pay for the module.

No update funktion on the site ør in PS BO module list.

 

1. Login into your account

2. Click to Order history

3. Select order

4. Download new version of module (click to Modul Prestacenter XML Export Pro)

5. Install module in Back Office of your e-shop

 

Notice: If you have an earlier version of the module, the original feeds are preserved.

Edited by PrestaCS.cz (see edit history)

Share this post


Link to post
Share on other sites

Hi, I have already written prestacs either on Prestashop addons or in its site, but I did not receive any response. I really appreciate a helping hand.
We are a company that have bought your module PrestaCenter XML Export  Pro, since we need to create a data feed for Google Merchant (Google Shopping), and our portfolio has more than 35000 products. As it is said in the module description, PrestaCenter XML Export  Pro is able to work over 100000 articles, then, it should work well in our e-commerce. Nevertheless, we are getting 3593 products in our feed.

Within the section "Export batch processing - how many products are inserted into the feed at once", it is written 45000, we also tried it with 35000. Furthermore, we contacted our hosting server, and it is sure that .xml file is created without any problem, it means that there is not a  PHP capacity problem.

On the other hand, we've got a shipping error in the products that have been processed, it doesn't exist. I guess this attribute is not specified on the .xml file ¿could someone help me?

P.S: Our Prestashop is a 1.6.0.14 version

Thank you in advance

Edited by DudasPrestashop2015 (see edit history)

Share this post


Link to post
Share on other sites

 

Hi, I have already written prestacs either on Prestashop addons or in its site, but I did not receive any response. I really appreciate a helping hand.

We are a company that have bought your module PrestaCenter XML Export  Pro, since we need to create a data feed for Google Merchant (Google Shopping), and our portfolio has more than 35000 products. As it is said in the module description, PrestaCenter XML Export  Pro is able to work over 100000 articles, then, it should work well in our e-commerce. Nevertheless, we are getting 3593 products in our feed.

Within the section "Export batch processing - how many products are inserted into the feed at once", it is written 45000, we also tried it with 35000. Furthermore, we contacted our hosting server, and it is sure that .xml file is created without any problem, it means that there is not a  PHP capacity problem.

On the other hand, we've got a shipping error in the products that have been processed, it doesn't exist. I guess this attribute is not specified on the .xml file ¿could someone help me?

P.S: Our Prestashop is a 1.6.0.14 version

Thank you in advance

There is an error in the .xml file I didn't see. "

This page contains the following errors:
error on line 7054 at column 123: Input is not proper UTF-8, indicate encoding ! Bytes: 0x12 0x3F 0x3F 0x3F
Below is a rendering of the page up to the first error.

"

Share this post


Link to post
Share on other sites

There is an error in the .xml file I didn't see. "

This page contains the following errors:
error on line 7054 at column 123: Input is not proper UTF-8, indicate encoding ! Bytes: 0x12 0x3F 0x3F 0x3F
Below is a rendering of the page up to the first error.

"

 

Your PrestaShop data contains characters that are not encoded in UTF-8. You must correct your data in PrestaShop. If you can not find a bug, please send me PM with the generated feed or feed URL.

Edited by PrestaCS.cz (see edit history)

Share this post


Link to post
Share on other sites

Hello,

 

Thanks for this great working module. I have already set up Merchant campaign and it's working like a charm.

 

I would like to ask about one thing though, how to export products only in selected category? I'd like to have different feed template for every product's category. At the moment all the products are exported in one file using the same template and I have to cut them and paste into different files manually. 

 

How can I select in template that only products from CategoryA goes into exported files?

 

Looking forward hearing from you,

Kind regards.

Share this post


Link to post
Share on other sites

Hello,

 

Thanks for this great working module. I have already set up Merchant campaign and it's working like a charm.

 

I would like to ask about one thing though, how to export products only in selected category? I'd like to have different feed template for every product's category. At the moment all the products are exported in one file using the same template and I have to cut them and paste into different files manually. 

 

How can I select in template that only products from CategoryA goes into exported files?

 

Looking forward hearing from you,

Kind regards.

 

You can use Advanced categories setting for feed. If it is set <export>0</export> for product default category, products from this category will not be exported. In this case you must use variable {assigned_category} in product feed to activate this feature.

 

e.g. <NEW_CATEGORY>{assigned_category}</NEW_CATEGORY>

Share this post


Link to post
Share on other sites

Thanks a lot. Can you please post an example feed with this setting included? We will probably purchase pro version anyway but I'd like how to use free version in different stores I manage.

 

Regards

Share this post


Link to post
Share on other sites

Thanks a lot. Can you please post an example feed with this setting included? We will probably purchase pro version anyway but I'd like how to use free version in different stores I manage.

 

Regards

 

Categories feed is automatically generated in the Pro and Multi version from e-shop category tree. This topic is only to paid module Pro a Multi. Free version does not include this option.

 

Sample of default generated categories feed:

<?xml version="1.0" encoding="utf-8"?>
<categories>
    <category id="3">
        <source>Women</source>
        <destination>#3</destination>
        <export>1</export>
    </category>
    <category id="4">
        <source>Women | Tops</source>
        <destination>#4</destination>
        <export>1</export>
    </category>
    <category id="5">
        <source>Women | Tops | T-shirts</source>
        <destination>#5</destination>
        <export>1</export>
    </category>
    <category id="6">
        <source>Women | Tops</source>
        <destination>#6</destination>
        <export>1</export>
    </category>
    <category id="7">
        <source>Women | Tops | Blouses</source>
        <destination>#7</destination>
        <export>1</export>
    </category>
    <category id="8">
        <source>Women | Dresses</source>
        <destination>#8</destination>
        <export>1</export>
    </category>
    <category id="9">
        <source>Women | Dresses | Casual Dresses</source>
        <destination>#9</destination>
        <export>1</export>
    </category>
    <category id="10">
        <source>Women | Dresses | Evening Dresses</source>
        <destination>#10</destination>
        <export>1</export>
    </category>
    <category id="11">
        <source>Women | Dresses | Summer Dresses</source>
        <destination>#11</destination>
        <export>1</export>
    </category>
</categories>

Share this post


Link to post
Share on other sites

Hi i need help to setting the module up.

As I understand the feed is setup automatically.

And i need to set a cron job with the URL provider in the module.

But is this the Feed URL? The one i need to provide for my Affilliate provider?

 

/Lasse

Share this post


Link to post
Share on other sites

Hi i need help to setting the module up.

As I understand the feed is setup automatically.

And i need to set a cron job with the URL provider in the module.

But is this the Feed URL? The one i need to provide for my Affilliate provider?

 

/Lasse

 

After installing the module are automatically created feed templates for Google Merchant and General (as sample). You can create new templates, clone and edit feed templates.

 

Cron for module is set like any other cron job in PrestaShop. You can use Cron Task Manager or ask your provider about setting up cron.

 

Feed URL is displayed in several places of module administration (when you display a list of the feed, you can click on the link as well).

e.g. http://myshopurl.com/xml/general-en-eur.xml

 

Edited by PrestaCS.cz (see edit history)

Share this post


Link to post
Share on other sites

After installing the module are automatically created feed templates for Google Merchant and General (as sample). You can create new templates, clone and edit feed templates.

 

Cron for module is set like any other cron job in PrestaShop. You can use Cron Task Manager or ask your provider about setting up cron.

 

Feed URL is displayed in several places of module administration (when you display a list of the feed, you can click on the link as well).

e.g. http://myshopurl.com/xml/general-en-eur.xml

 

I get a 404 on the feed URL

 

Both on:

 

http:/techstore.dk/xml/general-da-dkk.xml

 

http:/techstore.dk/general-da-dkk.xml

Edited by Runge1980 (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

Your PrestaShop data contains characters that are not encoded in UTF-8. You must correct your data in PrestaShop. If you can not find a bug, please send me PM with the generated feed or feed URL.

Thank you so much PrestaCS.cs, I have already created the whole feed, but still there is a problem with the id attribute, there is not a single product with a correct ID. 

On the code I tried first with <g:item_group_id>{id}</g:item_group_id>   <g:id>{id_combination}</g:id>"" ,then with "  <productId>{id}</productId>"instead.

 

This is the result I've got in our products on Google Merchant Center:  <productId>1</productId>

Share this post


Link to post
Share on other sites

Thank you so much PrestaCS.cs, I have already created the whole feed, but still there is a problem with the id attribute, there is not a single product with a correct ID. 

On the code I tried first with <g:item_group_id>{id}</g:item_group_id>   <g:id>{id_combination}</g:id>"" ,then with "  <productId>{id}</productId>"instead.

 

This is the result I've got in our products on Google Merchant Center:  <productId>1</productId>

 

In the current module version is an XML template for Google Merchant designed to operate for export simple products and also product variants.

  • Like 1

Share this post


Link to post
Share on other sites

Module PrestaCenter XML Export Multi 2.0.2.3 is compatible with PrestaShop versions 1.5.2.x - 1.6.1.x

 

The new version of the module PrestaCenter XML Export Multi is available too. Customers who have purchased the Multi version (in our e-shop http://www.prestacs.cz/en/ ) - new module version 2.0.2.3 can be downloaded from your original order.

http://www.prestacs.cz/en/modules/24-module-prestacenter-xml-export-multi.html

Share this post


Link to post
Share on other sites
  • 2 weeks later...

After the update to version 2.0.2.2 the xml is successfully created with all available product features. Though I still have a minor problem.

 

Using as xml

<?xml version="1.0" encoding="utf-8" ?>
<store>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <description>{description: HTML, CDATA}</description>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories: "->"}</categoryPath>
    <stock>Y</stock>
     <availability>{availability: "available, unavailable"}</availability>
     <size><_hidden ps_block="variant">{availability: "-"}{attrib: "size"}{attrib: "clothes_size"}, </_hidden></size>
     <color>{attrib: "color"}</color>
  </product>
</store>

I cannot use {availability: " "} because the xml output shows a 0 (zero) instead. I have to use {availability: "-"}

Can we fix this?

Thanks!

Share this post


Link to post
Share on other sites

Hi,

 

Great module for Google feed :)

 

But, I've a problem for a generic feed XML (to subscribe it in others websites), here my code :

 

<?xml version="1.0" encoding="utf-8"?>
<shop>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <description>{description: HTML, CDATA}</description>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories}</categoryPath>
     <availability>{availability: "available, unavailable"}</availability>
  </product>
</shop>
 
 

This feed does not validate.

  • line 1, column 39: Undefined root element: shop [help]

    <?xml version="1.0" encoding="utf-8" ?><shop><date>2015-09-21T09:19:46+00:00 ...                                       ^

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.

  • "application/xml" media type is not specific enough [help]

 

The website is : https://www.glamourious.com

 

Thanks you for your help.

Share this post


Link to post
Share on other sites

 

Hi,

 

Great module for Google feed :)

 

But, I've a problem for a generic feed XML (to subscribe it in others websites), here my code :

 

<?xml version="1.0" encoding="utf-8"?>
<shop>
<date>{update_feed}</date>
  <product ps_block="product">
    <productId>{id}</productId>
    <title>{name}</title>
    <description>{description: HTML, CDATA}</description>
    <productURL>{url}</productURL>
    <imageURL>{img_url}</imageURL>
    <price>{price_vat}</price>
    <categoryPath>{categories}</categoryPath>
     <availability>{availability: "available, unavailable"}</availability>
  </product>
</shop>
 
 

This feed does not validate.

  • line 1, column 39: Undefined root element: shop [help]

    <?xml version="1.0" encoding="utf-8" ?><shop><date>2015-09-21T09:19:46+00:00 ...                                       ^

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.

  • "application/xml" media type is not specific enough [help]

 

The website is : https://www.glamourious.com

 

Thanks you for your help.

 

 

Exported feed is OK, but it is not Atom or RSS feed format. You can not use this validator W3C Feed Validation Service, for Atom and RSS.

 

Alternative validator:

http://www.validome.org/xml/validate/?lang=en&url=http://www.glamourious.com/xml/xml.xml&onlyWellFormed=1 - check Well-Formedness only

Share this post


Link to post
Share on other sites
  • 4 weeks later...

New version PrestaCenter XML Export version 2.1 (Pro and Multi)

 

Available demo for module PrestaCenter XML Export Pro 2.1 (PrestaShop 1.6.1):

 

http://demo.web01.cz/admin9999/

 

English demo

Email address: demoen@web01.cz

Password: qwerty98765

Menu: Catalog > PrestaCenter XML Export Pro

 

Czech demo

Email address: democs@web01.cz

Password: qwerty98765

Menu: Katalog > PrestaCenter XML Export Pro

 

Link to purchase

http://www.prestacs.cz/en/modules/21-module-prestacenter-xml-export-pro.html

Edited by PrestaCS.cz (see edit history)

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 2 weeks later...

Hi Stanislav,

 

There two months since I bought your module and I can use it.  I am in version 2.1.2 of XML EXPORT PRO and I am trying to generate a XML with a tag named <PRODUCTS> above <product ps_block="product"> and your XML Template generator fails.

 

After many attempts of contact by mail I finally posted a complaint on PrestaShop and you promised to deliver a correction by 4th of November.  

 

We are on 9th of November and no update was posted.  Please, could you support your customers ?

 

I hope you have the fix because I trusted on your product for my E-commerce.

 

KR,

 

Diego. :) 

 

 

Share this post


Link to post
Share on other sites

 

Hi Stanislav,

 

There two months since I bought your module and I can use it.  I am in version 2.1.2 of XML EXPORT PRO and I am trying to generate a XML with a tag named <PRODUCTS> above <product ps_block="product"> and your XML Template generator fails.

 

After many attempts of contact by mail I finally posted a complaint on PrestaShop and you promised to deliver a correction by 4th of November.  

 

We are on 9th of November and no update was posted.  Please, could you support your customers ?

 

I hope you have the fix because I trusted on your product for my E-commerce.

 

KR,

 

Diego. :)

 

The new version of the module will be released on November 15.

  • Like 1

Share this post


Link to post
Share on other sites

I'm still waiting answer

 

Set destination categories for price comparison service

{assigned_category} - Product categories used by the price comparison service. For correct use of this variable, you need to set Advanced categories setting to Yes and assign categories pairs in this XML template. For each category corresponds category ID in <category>. The element <source> is the full name of your store category. To set element <destination>, type the name or ID of the category by destination service. In the element <export> you can set if products in the current category will be exported (value 0 for No or value 1 for Yes).

 

Example:

<xml>
  <category id="1">
    <source>Category of the my shop</source>
    <destination>Category of the destination service</destination>
    <export>0</export>
  </category>
  <category id="23">
    <source>Category of the my shop</source>
    <destination>Category of the destination service</destination>
    <export>1</export>
  </category>
</xml>

See demo:

BO URL: http://demo.web01.cz/admin9999/

Email: demoen@web01.cz

Heslo: qwerty98765

 

In feed google-en-eur.xml is exported only category "Women | Tops | T-shirts".

Share this post


Link to post
Share on other sites

The new version of the module will be released on November 15.

Hi Stanislav,

 

Any News? We are on November 15th  and I still can't use the module I bought.

 

Can you send me a ZIP with your new version ?

 

KR,

 

Diego San Felix.

Share this post


Link to post
Share on other sites

Hi Stanislav,

 

Any News? We are on November 15th  and I still can't use the module I bought.

 

Can you send me a ZIP with your new version ?

 

KR,

 

Diego San Felix.

 

A new version of the module will be available November 20. I'll send you the zip file.

Share this post


Link to post
Share on other sites

Set destination categories for price comparison service

{assigned_category} - Product categories used by the price comparison service. For correct use of this variable, you need to set Advanced categories setting to Yes and assign categories pairs in this XML template. For each category corresponds category ID in <category>. The element <source> is the full name of your store category. To set element <destination>, type the name or ID of the category by destination service. In the element <export> you can set if products in the current category will be exported (value 0 for No or value 1 for Yes).

 

Example:

<xml>
  <category id="1">
    <source>Category of the my shop</source>
    <destination>Category of the destination service</destination>
    <export>0</export>
  </category>
  <category id="23">
    <source>Category of the my shop</source>
    <destination>Category of the destination service</destination>
    <export>1</export>
  </category>
</xml>

See demo:

BO URL: http://demo.web01.cz/admin9999/

Email: demoen@web01.cz

Heslo: qwerty98765

 

In feed google-en-eur.xml is exported only category "Women | Tops | T-shirts".

My module don't have that Advanced categories setting  how i can download newest versions is it posbile to send me by mail ?  I'm seding now on pm my e-mail

Share this post


Link to post
Share on other sites

In my xml I send image other than {img_url} for security issues (I send a non watermark small picture to affiliates). Site includes only watermaked pics.

 

my xml is like  <imageURL>http://www.site.com/img/xml/{id}.jpg</imageURL>  but the folder gets full soon.

 

I would like to make an if statement to separate folders by thousand. like

<imageURL>http://www.site.com/img/xml/{if id<=1000}1{/if}{else if id>1000 && id<=2000}2{/if}/{id}.jpg</imageURL>

where it should export

 

<imageURL>http://www.site.com/img/xml/1/533.jpg</imageURL>

<imageURL>http://www.site.com/img/xml/1/989.jpg</imageURL>

<imageURL>http://www.site.com/img/xml/2/1111.jpg</imageURL>

 
Can I make this?
Thanks

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 2 months later...

I wanna ask one question,

 

Is it posible to export specifical price"Discount" ? 

 

 

I am interested also if is possible to export normal price, discount in % and price with discount.

 

I need answer soon.

 

Thanks.

Share this post


Link to post
Share on other sites
  • 3 weeks later...

HI
 
I am using prestaexport pro in my website.
I need to add shipping price(dynamic) in the feed.
And also need to add specific price in the feed.
 
I have also added variable for shipping cart in module file:

prestacenterxmlexportpro.php
 

'base_price_vat_local' => array('key' => 'id_currency', 'context' => self::CONTEXT_VARIANT),
'shipment' => array('key' => 'id_currency', 'context' => self::CONTEXT_VARIANT),

on line 76 &

 $tmp['base_price_vat_local']    = array();
 $tmp['shipment']    = array();

on line 802 &

$output[$i]['base_price_vat_local'] = array();
$output[$i]['shipment'] = array();

on line 904

Where else do i need to add it so i can use in

template like:

 

        <REGULAR_inc_3>{shipment}</REGULAR_inc_3>

 

I know the formula for shipping price but just need to add variable for the template.

Any suggestions?

Edited by psyco killer (see edit history)

Share this post


Link to post
Share on other sites

HI

 

I am using prestaexport pro in my website.

I need to add shipping price(dynamic) in the feed.

And also need to add specific price in the feed.

 

I have also added variable for shipping cart in module file:

prestacenterxmlexportpro.php

 

'base_price_vat_local' => array('key' => 'id_currency', 'context' => self::CONTEXT_VARIANT),
'shipment' => array('key' => 'id_currency', 'context' => self::CONTEXT_VARIANT),

on line 76 &

 $tmp['base_price_vat_local']    = array();
 $tmp['shipment']    = array();

on line 802 &

$output[$i]['base_price_vat_local'] = array();
$output[$i]['shipment'] = array();

on line 904

Where else do i need to add it so i can use in

template like:

 

        <REGULAR_inc_3>{shipment}</REGULAR_inc_3>

 

I know the formula for shipping price but just need to add variable for the template.

 

Any suggestions?

 

Very bad support . Is there anybody who can solve my issue .????

Share this post


Link to post
Share on other sites

Using "Set destination categories for price comparison service" can we exclude only one category (and subcategories) and leave the rest features intact?

 

 

eg.

<xml>
  <category id="10">
    <export>0</export>
  </category>
</xml>

Share this post


Link to post
Share on other sites
  • 2 weeks later...

I bought your module XML EXPORT PRO (ver 2.1.2) and I have the same problem like other people on this forum: I can't generate a XML with a tag named <PRODUCTS> above <product ps_block="product">.

When I generate XML file I  received: Parse error: syntax error, unexpected 'if' (T_IF) in .../modules/prestacenterxmlexportpro/templates/PcXmlProTemplate.php on line 327. Could you send me new verison?

Share this post


Link to post
Share on other sites

How I can make {vat} tax rate as integer?

 

You can add integer VAT as konstantu only if all product have the same VAT like this:

<VAT>20</VAT>

 

In next version of the module will be able to choose the number of decimal places (even zero places that corresponds to an integer value).

The new version will be released to date May 9, 2016.

Share this post


Link to post
Share on other sites

I bought your module XML EXPORT PRO (ver 2.1.2) and I have the same problem like other people on this forum: I can't generate a XML with a tag named <PRODUCTS> above <product ps_block="product">.

When I generate XML file I  received: Parse error: syntax error, unexpected 'if' (T_IF) in .../modules/prestacenterxmlexportpro/templates/PcXmlProTemplate.php on line 327. Could you send me new verison?

 

This bug will be corrected in the new version, which will be available until 9 May 2016.

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Hi

 

I Have bought the second time this module, for a second website but i am not being able to make it work on this new store.

 

Its PS 1.6.1.5 and the i cannot enter the services to see the feeds or create a new feed.

 

How can i get support to this?

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Is there a way to exclude products from an entire category?

 

 

 

Using "Set destination categories for price comparison service" can we exclude only one category (and subcategories) and leave the rest features intact?

 

 

eg.

<xml>
  <category id="10">
    <export>0</export>
  </category>
</xml>

Share this post


Link to post
Share on other sites

Is there a way to exclude products from an entire category?

 

 It is possible exclude only a whole category. If you want to exclude specific products, set as default category for this product an excluded category..

 

e.g. for demo data in Prestashop 1.6.1.x (in feed export exclude all products in category "Women | Tops | Blouses"):

<category id="7">
        <source>Women | Tops | Blouses</source>
        <destination>#7</destination>
        <export>0</export>
</category>

Share this post


Link to post
Share on other sites

When I enable advanced categories setting, I get 500 error upon save

---
The www.site.com page isn’t working
www.site.com is currently unable to handle this request.
HTTP ERROR 500
 
I cannot even disable advanced categories afterwards..

 

 

 It is possible exclude only a whole category. If you want to exclude specific products, set as default category for this product an excluded category..

 

e.g. for demo data in Prestashop 1.6.1.x (in feed export exclude all products in category "Women | Tops | Blouses"):

<category id="7">
        <source>Women | Tops | Blouses</source>
        <destination>#7</destination>
        <export>0</export>
</category>

Share this post


Link to post
Share on other sites

 

When I enable advanced categories setting, I get 500 error upon save

---
The www.site.com page isn’t working
www.site.com is currently unable to handle this request.
HTTP ERROR 500
 
I cannot even disable advanced categories afterwards..

 

 

For problem detection you set debug mode:

http://www.psfever.com/blog/2014/how-to-enable-debug-mode-prestashop-1-6/

 

If you can disable Advanced categories and module not work:

- reinstall module

- or run MySQL query (for advanced user only):

UPDATE `ps_pc_xmlpro_feed` SET `use_categories` = '0';

Share this post


Link to post
Share on other sites
  • 2 weeks later...

ok the problem was generated because I had Prestashop v. 1.5 After the update it seems to work.

 

Though I put some categories to 0 but the products show up again in xml. Any ideas?

 

 

For problem detection you set debug mode:

http://www.psfever.com/blog/2014/how-to-enable-debug-mode-prestashop-1-6/

 

If you can disable Advanced categories and module not work:

- reinstall module

- or run MySQL query (for advanced user only):

UPDATE `ps_pc_xmlpro_feed` SET `use_categories` = '0';

Share this post


Link to post
Share on other sites

Hello,

 

Is there a way to include all products photos?

The feed only exports 1 image, but for product to sell we have more than 1 image.

 

We use PrestaCenter XML Export Multi v2.1.3

Share this post


Link to post
Share on other sites
  • 2 months later...