Webshop Plus! v.3.2 for WWB8
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
OK i got it working now. I made a thankyou2.php page and put the Payson code in it incl, this befor the form: if ($_SESSION['paymenttype'] == "Payson")
{
$form = '
and this after: echo $form;
and it worked, but i dident get redirected to thankyou2.php page i still come to thankyou.php page and no button at all.
So i put the Payson code in the thankyou.php page as well as the Paypal code. Now if i choos Payson as payment type i get the Payson payment button, but the Paypal button dont show
I would like for bouth the payment buttons to be there or if i can get it to work so that i get redirected to thankyou2.php page for the Payson option?
{
$form = '
and this after: echo $form;
and it worked, but i dident get redirected to thankyou2.php page i still come to thankyou.php page and no button at all.
So i put the Payson code in the thankyou.php page as well as the Paypal code. Now if i choos Payson as payment type i get the Payson payment button, but the Paypal button dont show
I would like for bouth the payment buttons to be there or if i can get it to work so that i get redirected to thankyou2.php page for the Payson option?
- Navaldesign
-
- Posts: 903
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Webshop Plus! v.3.0 RC (Release Candidate)
You can't redirect to any other page than "thankyou"
If you want both, just remove the if statement (leaving in place the part that is between the { and }
if(....) Remove this line
{ Remove this line
........
........
........
........
} Remove this line
If you want both, just remove the if statement (leaving in place the part that is between the { and }
if(....) Remove this line
{ Remove this line
........
........
........
........
} Remove this line
www.dbtechnosystems.com
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
OK. I'l try that. Thank you for your help. I'v been trying to implement this for a long time. So thank you so much.Navaldesign wrote:You can't redirect to any other page than "thankyou"
If you want both, just remove the if statement (leaving in place the part that is between the { and }
if(....) Remove this line
{ Remove this line
........
........
........
........
} Remove this line
Regards
/Patrik.
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Hi, in cart1.php you have this line in the cart Items in Cart: 1.00
Could that bee changed so it says only Items in Cart: 1
Could that bee changed so it says only Items in Cart: 1
- Navaldesign
-
- Posts: 903
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Yes.
Open the cart 1 HTML, Start of page, and edit this line
$tq = number_format($total_quantity, 2);
to
$tq = $total_quantity;
It is almost at the bottom of the code.
Open the cart 1 HTML, Start of page, and edit this line
$tq = number_format($total_quantity, 2);
to
$tq = $total_quantity;
It is almost at the bottom of the code.
www.dbtechnosystems.com
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Great. Thank you.
- Navaldesign
-
- Posts: 903
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Webshop Plus! v.3.0 RC (Release Candidate)
I suggest that you wait a bit, until the final version (stable) is released. I will then include instructions on the upgrade.
www.dbtechnosystems.com
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Hi, i have a question. I have added an option in Payment option (Invoice) in the checkout page.
Now in the thankyou page whare the Paypal button would appear if the user choosed to pay via Paypal, i want a submittbutton to appear if a user choos to pay via Invoice. And that submit bouton chould take the user to invoicethankyou.php page
How could i do that?
Thank's
Now in the thankyou page whare the Paypal button would appear if the user choosed to pay via Paypal, i want a submittbutton to appear if a user choos to pay via Invoice. And that submit bouton chould take the user to invoicethankyou.php page
How could i do that?
Thank's
- Navaldesign
-
- Posts: 903
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Webshop Plus! v.3.0 RC (Release Candidate)
What would a "submit" button do in that page ?? There is no form in that page (other than the PayPal button, which is a form)
So what purpose would this "submit" button serve ??
So what purpose would this "submit" button serve ??
www.dbtechnosystems.com
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
I figuerd it out now:Navaldesign wrote:What would a "submit" button do in that page ?? There is no form in that page (other than the PayPal button, which is a form)
So what purpose would this "submit" button serve ??
Code: Select all
?php
if ($_SESSION['paymenttype'] == "Faktura")
{
$form = '
<form action="./faktsend.php" method="post">
<a href="./faktsend.php"><img src="images/fakturabet2.png" id="Image5" alt="" border="0" style="width:180px;height:66px;"></a></div>
<input type="submit" id="Button1" name="" value="" class="" style="">
</form>
';
echo $form;
}
?>
so it dont need to bee a submit button, could just be a image link to the page faktsend.php
And in the faktsend.php page i will have information about the invoice ex, rules and to let the user know that an invoice will bee sent out in no loger that 48 hrs, etc.
- Navaldesign
-
- Posts: 903
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Webshop Plus! v.3.0 RC (Release Candidate)
You can use a button (not submit) or an image, linked to the invoice details page.
www.dbtechnosystems.com
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Yes i got it, the code i posted works.Navaldesign wrote:You can use a button (not submit) or an image, linked to the invoice details page.
Thank you.
- Navaldesign
-
- Posts: 903
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Code: Select all
<?php
if ($_SESSION['paymenttype'] == "Faktura")
{
?>
<a href="./faktsend.php"><img src="images/fakturabet2.png" id="Image5" alt="" border="0" style="width:180px;height:66px;"></a>
<?php
}
?>
This is enough, you need no form !
www.dbtechnosystems.com
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
Ohh i see i tryed somthing like this but i dident have the php break code so it dident work. That is, i dident have ?> before a href and not <?php after.Navaldesign wrote:Code: Select all
<?php if ($_SESSION['paymenttype'] == "Faktura") { ?> <a href="./faktsend.php"><img src="images/fakturabet2.png" id="Image5" alt="" border="0" style="width:180px;height:66px;"></a> <?php } ?>
This is enough, you need no form !
Thank you i'l change this.
- Patrik iden
-
- Posts: 513
- Joined: Wed Mar 24, 2010 9:07 pm
- Location: Sweden
Re: Webshop Plus! v.3.0 RC (Release Candidate)
How can i do this (see img).
And is it possibe that in Paypal settings to put the curency symbol after the ammount, like ex, 5212.00 kr if i have set the symbol to kr?

And is it possibe that in Paypal settings to put the curency symbol after the ammount, like ex, 5212.00 kr if i have set the symbol to kr?
