Jump to content

Data Feeds


BAJI26

Recommended Posts

Thanks! WORKS!

 

 

Got another question for yah!

 

How can I add an input field to pass the info to the configurable options field from an external page?

 

Example: If a customer type a number in an input field in a form for a quantity when they hit the buy button and the whmcs cart page loads the quantity that they enter is already filled in the configurable options field.

Edited by BAJI26
Link to comment
Share on other sites

  • 3 weeks later...
Is there anyway to remove "USD" from the price and leave "$" from the Data Feed?

couple of ways to do it depending on if you're using other currencies - you could either not format it as a currency e.g., remove code from post #2 and just add a $ before price... or if using other currencies (or even if you're not), format the currency by leaving that line in, but then add the following line after it...

 

    $price = str_replace('USD','',$price);

that would remove USD from the output, but leave other currencies unaffected.

Link to comment
Share on other sites

  • 5 years later...

Por favor pido ayuda a todos los expertos

Estoy usando el siguiente código de feed whmcs

<script language="javascript" src="../clientes/feeds/cartnumitems.php"></script>

Esto lo he insertado en un pagina llamada demo.php y al cargar el link no se visualiza el contenido, lo que hago es clic derecho ver código fuente, allí veo el link y al hacer clic en el link ...

../clientes/feeds/cartnumitems.php

Se muestra el mensaje de  document.write('Tiene 0 elementos en su cesta');

Porque al cargar mi pagina demo.php no me muestra en mensaje?

 

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