[Skip to main content](#vessel-content)

#   Full Picture Path and Product Path in CSV Export

##

- **[rwymann](/forum/user/4329-rwymann "View rwymann's Profile")**
- [![rwymann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4329.jpg)](/forum/user/4329-rwymann "View rwymann's Profile") Topic Author
- [ Offline](/forum/user/4329-rwymann)

Less More

- Posts: 6
- Thank you received: 0
-
-
-
- [](https://www.ludibrium.ch)
-

10 years 1 month ago [\#249737](#249737) by [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")  *[Full Picture Path and Product Path in CSV Export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#249737 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")* was created by *[rwymann](/forum/user/4329-rwymann "View rwymann's Profile")*

-- url of the page with the problem -- : [ www.ludibrium.ch](https://www.ludibrium.ch)
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.25
-- Browser(s) name and version -- : Chrome 52

Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered [ www.xxx.ch/pictures/vase.jpg](http://www.xxx.ch/pictures/vase.jpg) .
I try to work with channable.com

I hope you understand the google translate . Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

10 years 1 month ago [\#249740](#249740) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#249740 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

You can edit the file "export" of the view "product" via the menu Display&gt;Views and add the code: Code:

foreach($product-&gt;images as $k =&gt; $v){ $product-&gt;images[$k] = 'http://www.xxx.ch/pictures/'.$product-&gt;images[$k]; }

after the line: Code:

foreach($this-&gt;products as $product) {

The following user(s) said Thank You: [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rwymann](/forum/user/4329-rwymann "View rwymann's Profile")**
- [![rwymann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4329.jpg)](/forum/user/4329-rwymann "View rwymann's Profile") Topic Author
- [ Offline](/forum/user/4329-rwymann)

Less More

- Posts: 6
- Thank you received: 0
-
-
-
- [](https://www.ludibrium.ch)
-

10 years 1 month ago -  10 years 1 month ago [\#249813](#249813) by [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")  Replied by *[rwymann](/forum/user/4329-rwymann "View rwymann's Profile")* on topic *[Full Picture Path and Product Path in CSV Export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#249813 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi Nicolas

This solution don&#96;t work, but i see the problem.
I need this function in the mass action and i think this code is on another place.
Sorry for my fault and i hope you can help me. ![:-)](/media/kunena/emoticons/9.png ":-)")
Ups, i take the [ www.xxx](http://www.xxx)..... as a placeholder, now i see this is a "grmmmpfh" site......
The real path i need is [ www.ludibrium.ch/images/com\_hikashop/upload/](https://www.ludibrium.ch/images/com_hikashop/upload/) .........

Thanks

Roger

Last edit: 10 years 1 month ago by [rwymann](/forum/user/4329-rwymann "View rwymann's Profile"). Reason: correktur

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

10 years 1 month ago [\#249814](#249814) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#249814 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

The modification was for the "export" button of the products listing.
For the export of the mass action system, it is indeed another modification necessary.
You'll have to add the code: Code:

if($data=='product' &amp;&amp; $table == 'images') $element = 'http://www.xxx.ch/pictures/'.$element;

after the line: Code:

foreach($array as $element){

in the file administrator/components/com_hikashop/classes/massaction.php

The following user(s) said Thank You: [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rwymann](/forum/user/4329-rwymann "View rwymann's Profile")**
- [![rwymann's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4329.jpg)](/forum/user/4329-rwymann "View rwymann's Profile") Topic Author
- [ Offline](/forum/user/4329-rwymann)

Less More

- Posts: 6
- Thank you received: 0
-
-
-
- [](https://www.ludibrium.ch)
-

9 years 10 months ago [\#255948](#255948) by [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")  Replied by *[rwymann](/forum/user/4329-rwymann "View rwymann's Profile")* on topic *[Full name of manufacturer in CSV mass action export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#255948 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi Nicolas
I give the csv file from mass action to "channable" to pass the products. Until now, I could make all adjustments with additional fields, but I can not get the manufacturer to get into the csv. I have the IDs in the export, but need the name of the manufacturer. Is there a possibility. Many many thanks. Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

9 years 10 months ago [\#255970](#255970) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full name of manufacturer in CSV mass action export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#255970 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

There is no 1/2 line changes you can add to do that as you need to load the manufacturer data with a MySQL query and then replace the id by the name from the results to the products array in the _loadResults function of the administrator/components/com_hikashop/classes/massaction.php
It will require a developer to help you with that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")**
- [![sarawhite's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6287-sarawhite "View sarawhite's Profile")
- [ Offline](/forum/user/6287-sarawhite)

Less More

- Posts: 44
- Thank you received: 1
-
-

9 years 9 months ago [\#258415](#258415) by [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")  Replied by *[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")* on topic *[Full Picture Path and Product Path in CSV Export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258415 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Thank you, the above solution for a full URL for images in Mass Action works.

However, I still need the full URL to the product for Mass Actions. Can you tell me how to modify the mass action.php to achieve that?

PS: At the moment there is no value in that field

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

9 years 9 months ago [\#258447](#258447) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258447 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

The problem is that when HikaShop/Joomla generates a product page URL, it uses the current menu item to get its alias, etc.
In the backend, when you process a mass action, or when it is triggered automatically, that information is not available.
And it's not possible for HikaShop/Joomla to guess which menu item you want to use for each product so even if it would pick one automatically or ask you to choose one, you might end up with different URLs than what you want if you have several menu items for your shop.

That's why the best way to do that if you want to is to have a canonical URL in your products (HikaShop can generate it automatically with the "Force canonical URLs on listings" setting of the HikaShop configuration), and to use such code : Code:

if($data=='product' &amp;&amp; $table == 'product_canonical') $element = 'http://www.xxx.ch/'.$element;

like explained in [ www.hikashop.com/forum/import-export-csv...v-export.html#249814](https://www.hikashop.com/forum/import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export.html#249814) to get the URL of each product in your massaction CSV.

The following user(s) said Thank You: [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")**
- [![sarawhite's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6287-sarawhite "View sarawhite's Profile")
- [ Offline](/forum/user/6287-sarawhite)

Less More

- Posts: 44
- Thank you received: 1
-
-

9 years 9 months ago [\#258525](#258525) by [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")  Replied by *[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258525 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hello Nicolas

The data that is filled into the "product_url" field in mass action is actually the Brand URL not the Product URL.

I have added the code as you suggested and set the listings to generate the canonical url ...

???

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

9 years 9 months ago [\#258527](#258527) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258527 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

Yes, I know that the product_url contains the Brand URL.
As I said the Product URL isn't stored and I didn't talk about the "product_url" column at all, so I don't see why you bring it up.

If you have a canonical URL in your product and you've done the code modification as explained, then you'll get the product page URL in the product_canonical column of your exported CSV.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")**
- [![sarawhite's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6287-sarawhite "View sarawhite's Profile")
- [ Offline](/forum/user/6287-sarawhite)

Less More

- Posts: 44
- Thank you received: 1
-
-

9 years 9 months ago [\#258560](#258560) by [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")  Replied by *[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258560 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Sorry, my mistake, I did not notice the product_canonical column.

Now I have all the entries in the field, however ...

1. the domain is missing in the front even though we add it in the call

if($data=='product' &amp;&amp; $table == 'product_canonical')
$element = '[ scarvesaustralia.com.au/'.$element](http://scarvesaustralia.com.au/'.$element);

2. some of the entries do not start with '/' some do ....

Would you be able to help me further please? Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

9 years 9 months ago [\#258562](#258562) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258562 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

Hard to say without more details.
Please provide a screenshot of the settings of your mass action and a screenshot of the modification you did in the massaction.php file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")**
- [![sarawhite's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6287-sarawhite "View sarawhite's Profile")
- [ Offline](/forum/user/6287-sarawhite)

Less More

- Posts: 44
- Thank you received: 1
-
-

9 years 9 months ago [\#258613](#258613) by [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")  Replied by *[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258613 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Settings of Mass Action
[ ![MassActionSetup.png](/forum/attachment/35359) ](/forum/attachment/35359 "...ctionSetup.png")

Modifications in massaction.php
[ ![modifications.png](/forum/attachment/35360) ](/forum/attachment/35360 "modifications.png")

CSV file result
[ ![ScreenShot2016-12-31at9.11.33am.png](/forum/attachment/35361) ](/forum/attachment/35361 "...t9.11.33am.png")

Thank you

- [ ![MassActionSetup.png](/forum/attachment/35359) ](/forum/attachment/35359 "...ctionSetup.png") [ ](/forum/attachment/35359?download=1 "...ctionSetup.png")
- [ ![modifications.png](/forum/attachment/35360) ](/forum/attachment/35360 "modifications.png") [ ](/forum/attachment/35360?download=1 "modifications.png")
- [ ![ScreenShot2016-12-31at9.11.33am.png](/forum/attachment/35361) ](/forum/attachment/35361 "...t9.11.33am.png") [ ](/forum/attachment/35361?download=1 "...t9.11.33am.png")

The following user(s) said Thank You: [rwymann](/forum/user/4329-rwymann "View rwymann's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

9 years 9 months ago [\#258640](#258640) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258640 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

Ok, I see now.
For the canonical URL, instead of that modification, add the code:
if($params-&gt;table=='product' &amp;&amp; $column == 'product_canonical')
$element-&gt;$column = 'http://www.xxx.ch'.$element-&gt;$column;

before the line:
if(isset($element-&gt;$column) &amp;&amp; ($key===$k1 &#124;&#124; $key===$params-&gt;table) &amp;&amp; is_string($this-&gt;displayByType($params-&gt;types,$element,$column))){

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")**
- [![sarawhite's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6287-sarawhite "View sarawhite's Profile")
- [ Offline](/forum/user/6287-sarawhite)

Less More

- Posts: 44
- Thank you received: 1
-
-

9 years 9 months ago [\#258645](#258645) by [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")  Replied by *[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258645 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hello Nicholas

Happy New Year to you Nicholas!

That is it. It works now. Thank you.

However, one question. I set the trigger to HOURS but changes to the products are not reflected, meaning the data file is not written. Does this need a cron job to work?

I used AFTER CREATE PRODUCT, UPDATE PRODUCT ... it works but only exports the one product. I need all of them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86284
- Thank you received: 14263
-
-

9 years 9 months ago [\#258662](#258662) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258662 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Hi,

Yes, you need to configure the cron if you want to use period triggers:
[ www.hikashop.com/support/documentation/5...ashop-cron-task.html](https://www.hikashop.com/support/documentation/55-hikashop-cron-task.html)

The following user(s) said Thank You: [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")**
- [![sarawhite's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6287-sarawhite "View sarawhite's Profile")
- [ Offline](/forum/user/6287-sarawhite)

Less More

- Posts: 44
- Thank you received: 1
-
-

9 years 9 months ago [\#258687](#258687) by [sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")  Replied by *[sarawhite](/forum/user/6287-sarawhite "View sarawhite's Profile")* on topic *[Full Picture Path and Product Path in CSV Export Mass Action](/forum/37-import-export-csv-xls/886397-full-picture-path-and-product-path-in-csv-export#258687 "-- url of the page with the problem -- :   www.ludibrium.ch  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.25 -- Browser(s) name and version -- : Chrome 52  Hello everybody. I want to make an export of data . That with the CSV works very well , but I would need for the product and the image of the entire path . Is it somehow possible to set it so , so instead will vase.jpg then entered   www.xxx.ch/pictures/vase.jpg  . I try to work with channable.com  I hope you understand the google translate . Roger")*

Sweet, it works like a charm now.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODYzOTctZnVsbC1waWN0dXJlLXBhdGgtYW5kLXByb2R1Y3QtcGF0aC1pbi1jc3YtZXhwb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.408 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
