[Skip to main content](#vessel-content)

#   Is it possible to change a price with a script ?

##

- **[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")**
- [![Sciuridae's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30791-sciuridae "View Sciuridae's Profile") Topic Author
- [ Offline](/forum/user/30791-sciuridae)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#219972](#219972) by [Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")  *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#219972 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")* was created by *[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5

Hello,
I have a list of product come from another website (not Joomla).
Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

10 years 11 months ago [\#219979](#219979) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#219979 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

Hi,

Yes, you can use the donation plugin for that:
[ demo.hikashop.com/index.php/en/hikashop/...t-page/donation-page](http://demo.hikashop.com/index.php/en/hikashop/product-page/donation-page)

And you can use the add to cart URL of your product to populate the price in the custom item field automatically:
[ www.hikashop.com/forum/2-general-talk-ab...-product-fields.html](http://www.hikashop.com/forum/2-general-talk-about-hikashop/16216-add-to-cart-link-and-custom-product-fields.html)

The following user(s) said Thank You: [Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")**
- [![Sciuridae's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30791-sciuridae "View Sciuridae's Profile") Topic Author
- [ Offline](/forum/user/30791-sciuridae)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#220180](#220180) by [Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")  Replied by *[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#220180 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

Thank you Nicolas.
the donation pluggin is only available with the business pack isn't it ?

if I upgrade my hikashop version do I have the licence one years more from now ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

10 years 11 months ago [\#220283](#220283) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#220283 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

Hi,

1. That's right.

2. Yes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")**
- [![Sciuridae's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30791-sciuridae "View Sciuridae's Profile") Topic Author
- [ Offline](/forum/user/30791-sciuridae)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#221174](#221174) by [Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")  Replied by *[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#221174 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

in the donation-page the two links "this product" and "custom field" doesn't work.
Where can I find how to configure a donation product ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 11 months ago -  10 years 11 months ago [\#221213](#221213) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#221213 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

Hello,
Then checking that thread will probably help you : [ hikashop.com/forum/4-how-to/83889-donation-plugin.html#109822](https://hikashop.com/forum/4-how-to/83889-donation-plugin.html#109822)

> Here is the custom price plugin, if you want to use is you'll have to :
> \- create a category named donation
> \- create a product named donation set the price to 0 and the category to donation
>
> \- go to "Hikashop -&gt; Display -&gt; Custom fields"
> \- create a new field
> \- set the "label" field to amount
> \- set the "table" field to item
> \- set the "Column name" field to amount
> \- set the "field type" to texte
> \- set the "default value" to 0
> \- add the donation category
>
> \- add the custom price plugin and enable it.

Last edit: 10 years 11 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")**
- [![Sciuridae's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30791-sciuridae "View Sciuridae's Profile") Topic Author
- [ Offline](/forum/user/30791-sciuridae)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#221348](#221348) by [Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")  Replied by *[Sciuridae](/forum/user/30791-sciuridae "View Sciuridae's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#221348 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

Thank you Mohamed,
Now I have a variable to alow my customers to pay only a 30% deposit or the totality.
Can I add my javascript function to this product page?
because if I display this product in another article there is no variation of product right ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

10 years 11 months ago [\#221357](#221357) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change a price with a script ?](/forum/31-development/880350-is-it-possible-to-change-a-price-with-a-script#221357 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5  Hello, I have a list of product come from another website (not Joomla). Is-it possible to allow my customers to pay in my Joomla website with this custom price (populate by a script) ?")*

Sure. You can edit the file "show_default" via the menu Display&gt;views and add your custom javascript in there.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MDM1MC1pcy1pdC1wb3NzaWJsZS10by1jaGFuZ2UtYS1wcmljZS13aXRoLWEtc2NyaXB0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.096 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
