Search found 11 matches

Page 1 of 1

Search found 11 matches

Re: How to display price/4 on Products page?

johnp wrote:
Fri Jan 24, 2020 6:23 am
Doh! I think you missed the joke. :)
Haha, yep missed that, cheque's in the mail....

Jump to post
  • Fri Jan 24, 2020 7:03 am
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

You're welcome. Where does the invoice get sent to? Lol. :) Customer gets purchase email as normal. Customers installs app on their phone or creates account online which generates an ID We follow up with customer manually to obtain their app ID We enter order details manually into 'Buy Now Pay Late...

Jump to post
  • Fri Jan 24, 2020 6:17 am
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

johnp wrote:
Thu Jan 23, 2020 8:44 pm
Ok. Try this. It may or may not work. A clever friend of mine suggested it:
<?php echo str_replace("£", "", $price) / 4 ; ?>
THIS WORKS !!!
I had to replace the pound symbol for a dollar symbol and it works perfectly

Thank you for your help and thank you to everyone for their inputs.

Jump to post
  • Fri Jan 24, 2020 5:06 am
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

well there are a variety of ways this could be done .. but you have not considered a few things that make this quite a lot of work .. why not use the product options and divide it manually i.e. use the % ? Hi, Just to be clear, all I want to do is display the the price divided by 4 on the product p...

Jump to post
  • Fri Jan 24, 2020 4:54 am
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

by mona wrote:
Thu Jan 23, 2020 6:42 pm
because you should be doing it in the controller !
and you have not posted your OC version .. so ..
I'm using Version 1.5.6.4
What exactly do we put in the controller?

Jump to post
  • Thu Jan 23, 2020 7:02 pm
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

johnp wrote:
Thu Jan 23, 2020 5:51 pm
Ah. Ok. I'll try and take a look when I'm on my coffee break. Maybe one of the other guys can get you a faster answer. :)
It would be appreciated, dont understand why a simple division does not work in php or is $price not a numerical variable on products.tpl?

Jump to post
  • Thu Jan 23, 2020 6:12 pm
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

johnp wrote:
Thu Jan 23, 2020 5:45 pm
If you don't have many products and want a quick fix why not add a custom field extension and add a line on each product page manually.
I have over 6000 products...

Jump to post
  • Thu Jan 23, 2020 5:49 pm
  • Replies 18
  • Views 677
Re: How to display price/4 on Products page?

johnp wrote:
Thu Jan 23, 2020 5:31 pm
Save yourself the bother and put some money in a developer's pocket. :-)
Yea, there's a reason I'm doing this myself, if I had the funds to pay for someone to do it I wouldnt be posting.
Just a simple division of the price is all I need...

Jump to post
  • Thu Jan 23, 2020 5:42 pm
  • Replies 18
  • Views 677
How to display price/4 on Products page?

Hi,
I am trying to modify products.tpl to display price/4 for a buy now pay later option, I am a noob at php and have used the following but it displays zero, any pointers what I am doing wrong?

<div>Four Fortnightly Payments of $<?php echo ($price / 4); ?></div>

Thanks

Jump to post
  • Thu Jan 23, 2020 11:25 am
  • Replies 18
  • Views 677
How to Add a text field to a Payment Module

Hi, I am trying to modify a payment module to be used for various 'buy now pay later' providers using their web-portal-manual-order-entry methods, all that is needed is to collect the customers ID from their app as they checkout, so I just need to add a text field. Can anyone help with the code need...

Jump to post
  • Sat Jan 11, 2020 2:18 pm
  • Replies 1
  • Views 441
How to add input field to a payment module?

Hi,
I am wanting to collect a text input from user after checkout, like a purchase order system. I was going to modify a simple payment module but not sure how to add the field, any suggestions..?

Jump to post
  • Fri Jan 10, 2020 8:42 am
  • Replies 1
  • Views 123

Page 1 of 1

Search found 11 matches