Webshop Plus! v.3.2 for WWB8

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Thu Jan 12, 2012 10:24 pm

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?

User avatar
Navaldesign
 
 
Posts: 905
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Thu Jan 12, 2012 10:39 pm

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
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Thu Jan 12, 2012 10:57 pm

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
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.

Regards

/Patrik.

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Sat Jan 14, 2012 6:13 pm

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

User avatar
Navaldesign
 
 
Posts: 905
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sat Jan 14, 2012 8:18 pm

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.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Sat Jan 14, 2012 9:23 pm

Great. Thank you.

User avatar
Navaldesign
 
 
Posts: 905
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sat Jan 14, 2012 10:22 pm

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

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Sun Jan 15, 2012 3:47 pm

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

User avatar
Navaldesign
 
 
Posts: 905
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sun Jan 15, 2012 9:19 pm

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 ??
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Sun Jan 15, 2012 10:41 pm

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 ??
I figuerd it out now:

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;
}


?> 
I just want a pay by invoice image link to appear if a user has choosen to pay by invoice. Like if a user chooses to pay with Paypal then the PayPal pay button would appear.
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.

User avatar
Navaldesign
 
 
Posts: 905
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sun Jan 15, 2012 10:48 pm

You can use a button (not submit) or an image, linked to the invoice details page.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Sun Jan 15, 2012 10:57 pm

Navaldesign wrote:You can use a button (not submit) or an image, linked to the invoice details page.
Yes i got it, the code i posted works.

Thank you.

User avatar
Navaldesign
 
 
Posts: 905
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Navaldesign » Sun Jan 15, 2012 11:06 pm

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

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Sun Jan 15, 2012 11:12 pm

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 !
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.

Thank you i'l change this.

User avatar
Patrik iden
 
 
Posts: 511
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Webshop Plus! v.3.0 RC (Release Candidate)

Post by Patrik iden » Tue Jan 17, 2012 3:53 pm

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?

Image

Post Reply