We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

SCM custom price in template

Development and Programming

Sam Sullivan's avatar
Sam Sullivan
64 posts
13 years ago
Sam Sullivan's avatar Sam Sullivan

Is there a way to send the price amount to Paypal from a hidden input in a template, and override the price in the Simple Commerce Module item?

{exp:simple_commerce:purchase entry_id="69" success="site/success" cancel="site/index"}
       
<input type="hidden" name="amount" value="100"/> 

<input type="submit"  class="button" value="Pay now" />

{/exp:simple_commerce:purchase}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.