Jump to content

Use 'Data Feeds' with products that are priced via configurable options, e.g. SSL Certs?


elijahpaul

Recommended Posts

I've seen that this has been asked a couple of times on these forums, but there's not been an answer (that I can see) thus far.

 

I'm trying to use the Data Feeds to dynamically display the price of some SSL products on an external page.

 

But couldn't find any information as to whether or not this is possible.?

 

Does anyone have any idea on how this could be done, or if it's possible?

Link to comment
Share on other sites

Had a closer look and...

 

I've seen that in the

/feeds/productinfo.php

file there's a line:

 

if ($get=="configoption") widgetoutput($data['configoption']. (int) $configoptionnum);

 

So I tried the following:

 

<script language="javascript" src="https://example.com/feeds/productsinfo.php?pid=1&get=configoption"></script>

 

and

 

<script language="javascript" src="https://example.com/feeds/productsinfo.php?pid=1&get=configoption&configoptionnum='some integer'"></script>

 

But all this gives me is the value '0'.

 

On viewing the WHMCS database, I'm not sure where this value comes from.

 

Again, any suggestions appreciated.

Edited by WHMCS TedX
Removed client details
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated