Jump to content

Need to add price to generated URL


Sinauth

Recommended Posts

Hi there,

 

I need a little bit of help. I am trying to create a pricing table for my website, see here: http://www.vault-backup.com/test.html

 

My problem is when I click on BUY my generated URL from my javascript file needs to be in a slightly different format.

 

I need it to also output the price, something like this for example: https://vaultbackup.foxycart.com/cart?name=premier&price=10&duration=36&additionalstorageamount=0

 


 

My javascript code: http://pastebin.com/aiDNHwZD  (LINE 66 - This is what outputs my URL - LINES 278,279 and 280 - Have my pricing)

 

Any ideas would be greatly appreciated!

Link to comment
Share on other sites

For what purpose? You're not going to want to rely on the price given by the client, otherwise the client can just change the price.

 

 

This is how foxycart works. Please reply if you know how to correct my error.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.