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: 651
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: 651
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

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

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

Post by Navaldesign » Tue Jan 17, 2012 6:35 pm

1. You can edit the admin_mail_webshop.php and auto_mail_webshop.php templates in the cart/dbts_includes folder.

2. Not sure what you mean
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 651
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 7:03 pm

Navaldesign wrote:1. You can edit the admin_mail_webshop.php and auto_mail_webshop.php templates in the cart/dbts_includes folder.

2. Not sure what you mean
1. So do they bouth containe the comma i want to remove?

2. Well normaly the currency symbol is ahead of the amount like this: $5012.00 but i want it like this: 5012.00 skr

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

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

Post by Navaldesign » Tue Jan 17, 2012 7:13 pm

The comma is part of the template.

To change the currency symbol order you also need to modify the codes.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 651
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 7:31 pm

Navaldesign wrote:The comma is part of the template.

To change the currency symbol order you also need to modify the codes.
OK can you tell how?

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

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

Post by Navaldesign » Tue Jan 17, 2012 7:46 pm

Patrik please understand that all this is a free extra to WWB. They are provided "AS IS". It is impossible to teach you how to code in PHP or how to modify the standard tools, at least not without losing valuable time.

Just open the files, and have a look, then try at least to find out by yourself.
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 651
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 8:10 pm

Navaldesign wrote:Patrik please understand that all this is a free extra to WWB. They are provided "AS IS". It is impossible to teach you how to code in PHP or how to modify the standard tools, at least not without losing valuable time.

Just open the files, and have a look, then try at least to find out by yourself.
OK i'l do that. If finde the time, could you possibly chow how to make a emty entire cart button in the cart.php page or meybe implement it in the Shop?
Thank's

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

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

Post by Navaldesign » Tue Jan 17, 2012 8:16 pm

Just add a link to the "cancel" page, this empties the entire cart.
www.dbtechnosystems.com

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

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

Post by Patrik iden » Wed Jan 18, 2012 2:42 pm

Navaldesign wrote:Just add a link to the "cancel" page, this empties the entire cart.
OK, Thanks.

Can i make it so when cart is emty, and if a user go to cart i want to go to another page then cart insdead of showing the message Cart is emty in cart page?

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

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

Post by Patrik iden » Wed Jan 18, 2012 2:42 pm

Image

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

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

Post by Navaldesign » Wed Jan 18, 2012 2:51 pm

First post: Yes, but you need to edit the code in the cart.php page

Second post: because the template centers verically the content in each table cell, "middle"

You can change the email templates code to allign "top".
www.dbtechnosystems.com

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

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

Post by Patrik iden » Wed Jan 18, 2012 9:47 pm

Navaldesign wrote:First post: Yes, but you need to edit the code in the cart.php page

Second post: because the template centers verically the content in each table cell, "middle"

You can change the email templates code to allign "top".
1. Is it this $strHTML = "<H3>".$empty_cart_label."</H3>"; i change for emty cart to show another page? Do i only put a h ref inside "" ?

2. So is it this code i change middle to top?

Code: Select all

$HTMLmessage .= '<tr>
<td align="center" valign="middle" style="border: '.$border_width.'px '.$border_clr.' '.$border_type.'" bgcolor="'.$header_bgrd_clr.'" height="30">';
$HTMLmessage .=  stripslashes($htmlbodystart);
$HTMLmessage .= '</td>
</tr>';
New question: If i make changes in admin_mail_webshop.php and auto_mail_webshop.php will thows settings be erased if i publish the cart project/site after i made changes?

User avatar
Navaldesign
 
 
Posts: 1193
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 19, 2012 6:21 am

@ Patrik:

Patrik, some knowledge of PHP is required to change scripts, otherwise, the author (me, in this case) must change it for you. But please understand that there is no time for this, as I have my own work that I do for living so I can't dedicate hours (literally) just to code / test / debug requests of a single user.
If you need technical assistance, you already know how I work and what my fees are.

To answer your question, you need to replace the line

$strHTML = "<h3>".$empty_cart_label."</h3>";

with a Javascript window.open statement.

Changes to the email templates will not be lost if you republish.


@Kerri: Sorry, what you are asking for requires custom coding. Actually I don't think there is any cart in the world capable of doing this.

Aren't the standard fields provided with each product (you have 8 of thm) enough to gather enough info for each product ?
www.dbtechnosystems.com

User avatar
Patrik iden
 
 
Posts: 651
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 19, 2012 1:01 pm

Hey, i replaced this: $strHTML = "<h3>".$empty_cart_label."</h3>";

With this:
echo '<script type="text/javascript">'."\n";
echo 'location.href="http://test3.fcab.se/cart/emtycart.php"'."\n";
echo '</script>'."\n";

And that worked. Thank you for your hints George.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests