IMPORTANT NOTE: In the case that you prefer to use existing Google Product Feeds from your store instead of our module built-in export feature, please inform our technical team and provide them with the product feed URLs alongside their language codes and store IDs.
1.Exporting the Store Product Feed
Once our module has been installed, the next step is to export your Store Product Feed to be integrated with your Photoslurp account.
Click on the Photoslurp tab in the main admin menu (horizontal in Magento 1, vertical in Magento 2) and select Export
Here you can now click the ‘Export Products’ button which will export your product catalogue in the format we require and provide you with a link from where you can download it, and later import it into the Photoslurp dashboard when you are creating your product catalogue there.
2.Setting up Automatic Product Feed Export
Head to System -> Configuration (Magento 1) or Stores -> Configuration (Magento 2) and you will see a Photoslurp entry in the left-hand vertical menu. Click on this, and here is where you will be able to set the ‘Auto Export’ to 'Yes'. This will create a 'Cron job' on your server that will ensure the latest product catalogue details are exported every 24 hours to the file that was previously created with the Export product catalogue function.
How to configure Multi-language and/or Multi-currency Sites?
Our platform detects the enabled languages and provides a language-specific field for each product attribute, allowing the widget to display product information in different languages and locales.
We can configure and manage all available languages in the stores from one single campaign:
- 1 catalogue with ALL country data in it (descriptions/URLs/price in all languages that are supported by the company)
- 1 campaign where ALL media is collected
- All media accept/reject/linking can be done from one single campaign
- The same media is shown on all country websites, ensuring that the product description/URL's etc.. are relevant for that country. Ensuring, for example, that a UK user would not be re-directed to a Spanish product page when clicking on the "Shop This Look" section.
- When using our stock synchronization feature, media that has been linked to a product that is out of stock in that locale will be hidden.
Frequently Asked Questions
How can I check that the cron job that exports the product feed daily is working correctly?
Once the Automatic Feed Export has been set, wait at least 24 hours so the feed can be generated. Then, open the csv file that has been generated and check the export date located in the first row. If the date is equal to the current day, the cron job is working fine. In the case it doesn't work, please contact your tech team so they can follow the next steps.
How can I troubleshoot the export cron job?
In the case that the export cron job is not running as expected, follow these steps:
- First of all, make sure that your cron jobs are up and running. Go to the main directory of your Magento installation and use the following:
php bin/magento cron:run
Then, check the table cron_schedule of your Magento database by using the following query:SELECT * FROM cron_schedule;
You can also check the cron log file found in /your_magento_installation/var/log/cron.log - Check the content of the crontab file located in:
/your_magento_installation/app/code/Photoslurp/Pswidget/etc/crontab.xml
Make sure that the method that the cron job is calling is named "photoslurpExport". Rename it if that's not the case.<job name="photoslurp_export" instance="Photoslurp\Pswidget\Model\Export" method="photoslurpExport">
<schedule>* 2 * * *</schedule>
</job>You will also see the schedule tags. By default, it's set at "* 2 * * *", which means that the cron job is scheduled to run every day at 2:00 am. For troubleshooting purposes, change it to "*/5 * * * *" which means that it's scheduled to run every 5 minutes. - Flush the cache.
php bin/magento cache:flush
Then, run the cron jobs again.php bin/magento cron:run
- Check the table cron_schedule of your Magento database again and use the following query:
SELECT * FROM cron_schedule WHERE job_code ="photoslurp_export";
The scheduled Photoslurp export jobs should appear here now, each one of them having a 5 minutes difference between each other in the column "scheduled_at". - Finally, change the schedule tags of the crontab.xml file to the frequency for which you want the feed to be exported. Each of the 5 values of the schedule represents minutes, hours, month days, months, and week days. For more information on how to set up the schedule, check this link.
When you're done, save the changes and flush the cache again.