Can this be added to include Credit card payments.
We will be calling customers to get their card details to manually take payment and then arrange collection or delivery details once we process their order.
I will try and add it myself if I have some guidance.
That sounds like something you can do by overriding the language file. Look at what it says. Figure out what you want it to say. It should be as simple as copying the file over and editing it.
It may be nicer to make up a whole new module based on (eg) the cash on delivery module.
By doing a new module you could then see the % of people paying by Card over the phone etc.
I am not here to build for you.
I am here to build with you. Let's help each other.
I've been trying to find a thread I was using regarding the overrides but can't find it.
If I make a new payment module, should it reside in overrides somewhere ?
Will it only be an issue if the files were replaced rather than updated, maybe "a la 1.0.08 ?"
Nigel wrote: ↑Thu Mar 04, 2021 12:02 pm
If I make a new payment module, should it reside in overrides somewhere ?
Will it only be an issue if the files were replaced rather than updated, maybe "a la 1.0.08 ?"
If you were making a new module i.e. with a new name and so it is not part of core code, it will not be overwritten in an update so there is no reason to put it in a template and can reside in the standard folder structure as indicated in previous post by burt.
That is the main reason for making a new module instead of editing an existing one.
See https://phoenixcart.org/phoenixcartwiki ... ent_Module which might help if you have not made a new content module before but note that payment modules do not have a tpl_ file so the process is simpler than the example shown.
Is there an easy way to know which files relate to specific modules so you know which ones to clone and where they reside ?
Is this really something we learn over time ?
Nigel wrote: ↑Thu Mar 04, 2021 12:58 pm
Is there an easy way to know which files relate to specific modules so you know which ones to clone ?
Mostly, but not always, the clue is in the file name e.g. for payment, Check/Money Order is moneyorder.php, Cash on Delivery is cod.php - it is fairly intuitive.