Custom Javascript application integration

  • Posts: 1
  • Thank you received: 0
10 years 10 months ago #138680

-- HikaShop version -- : Starter 2.2.3
-- Joomla version -- : 3.1
-- PHP version -- : 5.x.x

I have created a custom Javascript application for my website. A customer can choose different products (not affiliated with HikaShop), the application calculates an overall price and shows it as a string. My question is: Can I make HikaShop read that string as a product price and then pass it to PayPal for processing?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 10 months ago #138683

Hi,

You can do that by calling the add to cart URL of a product and having a custom item field with the calculated price in it and then having the donation plugin use that price for the product:
www.hikashop.com/forum/2-general-talk-ab...-product-fields.html
demo.hikashop.com/index.php?option=com_h...ct&task=show&cid=214

The following user(s) said Thank You: Visovsiouk

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum