heet Posted January 19, 2018 Share Posted January 19, 2018 hello i want to change product info page when my payment module is active can you plz help me how can i do see the screenshot below this was done in opencart i ant same like this is it possible give me the idea if any one knows anything thanks Quote Link to comment Share on other sites More sharing options...
BrockleyJohn Posted January 19, 2018 Share Posted January 19, 2018 Ah - I thought you wanted help with a payment module, but this is done separately from the payment module. The easiest way to do it is with a box module. Copy one of the existing ones from your version of oscommerce - I suggest product notifications as this already contains code to display on the product info page. look in includes/modules/boxes and make a copy of bm_product_notifications.php eg. bm_product_finance.php do the same for includes/languages/???/modules/boxes/bm_product_notifications.php in bm_product_finance.php rename the class to bm_product_finance (and if code is set explicitly, change that too) do a global edit in both copy files to replace _NOTIFICATIONS_ with _FINANCE_ in the community responsive bootstrap version of osc there is another file in includes/modules/boxes/templates called product_notifications.php make a copy of this eg. product_finance.php edit the language file and the text for the configuration values to go with your module instead of the notifications edit the execute function in bm_product_finance.php (and maybe the template file too) to display the code you want on your product info page Your execute function should probably check that the payment module is installed and enabled before displaying something Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
heet Posted January 19, 2018 Author Share Posted January 19, 2018 Hey Brockley John thanks a lot for reply ohk and this all file i want to add in my payment module right ?? ow just want to crate another module ???? Quote Link to comment Share on other sites More sharing options...
BrockleyJohn Posted January 19, 2018 Share Posted January 19, 2018 This is a separate box module. It will display at the side of the screen (in a box!). Do you already have a payment module? Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
heet Posted January 22, 2018 Author Share Posted January 22, 2018 Hello how to change checkout_payment form action url can i give my costume url plz see the screenshot Quote Link to comment Share on other sites More sharing options...
BrockleyJohn Posted January 25, 2018 Share Posted January 25, 2018 Your payment module class should be setting the property form_action_url to this value. Are you writing the module yourself? Quote Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.