Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 10th, 2012, 09:55 AM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default images both local and from merchant servers

Hi,
I have a merchant who's images are not showing
Belle Lingerie,
I've emailed them and they replied saying that their images are fine.

Could the problem be that they do not allow them to be stored locally, if so how would I go about linking to their images when I have all other merchant images stored locally, can I call both local and merchant server images?

Regards,
Pauline.
__________________
ptom
  #2  
Old October 10th, 2012, 10:01 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

It's hard to say... Do you have a link to a product from Belle Lingerie on your site? I couldn't find any.

One issue might be your Permalink settings. They are currently set to "Default". This is not search engine friendly. I would suggest setting your Permalink settings to something other than "Default" such as "Post name" here: WordPress Admin Area > Settings > Permalinks.

Eric
  #3  
Old October 10th, 2012, 10:13 AM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

Hi Eric,
No I don't have a link to Bella Lingerie, I didn't add any because of the images problem.

I cannot change the permalinks because of the intergration with xcart, I have tried but it just breaks the blog side of the site, I thinks it's just a css problem, I'm going to try and sort it out now!

Regards,
Pauline.
__________________
ptom
  #4  
Old October 10th, 2012, 10:31 AM
paulinethomas paulinethomas is offline
 
Join Date: Sep 2012
Posts: 84
Default

Hi Eric

I cannot change the permalinks but I am not to concerned with this, is there a way of grabbing the images from the merchant server as well as storing them locally,

Regards,
Pauline.
__________________
ptom
  #5  
Old October 10th, 2012, 10:52 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Yes, it's possible but takes a little bit of tweaking to your Views.

You will need to change all occurrences of this:

Code:
[product.thumbnail tag='1']
With this:

Code:
<?php if ($product->merchant_id == 21156) : ?>[product.thumbnail tag='1' direct='1']<?php else : ?>[product.thumbnail tag='1']<?php endif; ?>
And all occurrences of this:

Code:
[product.image tag='1']
With this:

Code:
<?php if ($product->merchant_id == 21156) : ?>[product.image tag='1' direct='1']<?php else : ?>[product.image tag='1']<?php endif; ?>
In this post I've outlined all of the views where the image tag exists. Don't follow the instructions on that page, just the paths to find the [product.image] and [product.thumbnail] codes.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving images on local server does not work if they have the extension ".jpeg" firstprod Problems 5 March 14th, 2012 12:55 PM


All times are GMT -5. The time now is 11:02 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.