Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
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 June 7th, 2012, 12:19 PM
rksy81 rksy81 is offline
 
Join Date: May 2012
Posts: 1
Default Hardcoded Variables Directly Inside WP Template

Store ID: 37941
Website URL: http://www.koreanfashionclothing.com
URL to page in question: http://www.koreanfashionclothing.com

Hai. Is it possible to insert/parse code directly into template without going through the factory?

For example, on store > views mode

<a href="[product.url]" title="[product.name]" target="_blank" rel="nofollow"><img src="[product.image]" alt="[product.name]" class="aligncenter" /></a>

but i want to directly echo [product.url] and others directly inside my template.

can it be done such as "get_post_meta($post->ID, product_url, true); ?>" or any other method?

also how to call the stored local image directly? I don't want to use the one inside custom field "store_image" from aff.ysi.biz or something..

Please advise. Thanks.
  #2  
Old June 7th, 2012, 12:24 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Welcome to the forums!

No, you're not going to be able to access specific product information in your template files.

I've posted how to store images locally here: /showthread.php?t=5770

Also, please see the posting guidelines regarding multiple issues in one thread.

Thanks,
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
Custom Variables tkh378 Feature Requests 1 March 2nd, 2011 06:05 PM
Embed Product Image inside Post patagonia Questions 7 January 31st, 2011 08:11 PM
Is there a hardcoded clearingdiv? patagonia Problems 5 January 10th, 2011 09:25 PM


All times are GMT -5. The time now is 01:27 PM.


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