Webshop Plus! v.2.0 for WWB7

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
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Sun Feb 13, 2011 8:48 am

I'm sorry, what you want is something that goes beyong the Webshop Plus capabilities. If they need also Order details in the Log History, then you need a full Database driven cart with customer registration section, customer login etc. All this is possible but not with the free Webshop Plus.

You need to either use a ready made cart (OSCommerce, Zen Cart etc) or a custom made like my own Webshop Pro (paid)

Please note that these requirements are rather anusual. CC companies usually only require that IF you hold the cc details on your server, you fullfill the security standard requirements they have adopted, but they certainly do NOT ask to have the order details , or have a customer registration area. Maybe you have misunderstood something ?
www.dbtechnosystems.com

Hrankov
 
 
Posts: 42
Joined: Sun Feb 13, 2011 7:15 am

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Hrankov » Sun Feb 13, 2011 9:38 am

It is absolutelly possible, that I have misunderstood something. Most Banks have usulally they own interface for CC payments, we just need to implement it via iFrame in our Web Shop. But anyway I like to see how your WebShop Pro works, and need for all cases your Customized DBTS Logger, but let me first ask it he hold the Log History as a script too? It will be enaugh, I think so. How my I test your WebShop Pro (I do not have any exeriancve wit MySQL, so I preffer the PHP Version) and how may I recieve both products for wich price (via VISA pay service)? You may use my personal email to answer this qustions, if you preffer. - Email address removedPeter Hrankov

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Sun Feb 13, 2011 10:25 am

You have mail.
www.dbtechnosystems.com

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by kevinp » Mon Mar 07, 2011 7:43 pm

Hi Naval

You kindly showed me how to add Country specific tax to the net cart value using the code below:
This is exactly the same issue as US residents: US sites apply taxes ONLY to residents of the same state where the company is.
Whay you can do:
Set the tax to be 0.

Ad these lines :

if($shiptocountry == $origin_country){
$taxes = $subtotal * 10/ 100;
}

just after


if ($tax_type == "unique") {
$taxes = $subtotal * $unique_tax_percent / 100;
}


where 10 (or whatever else) is the applicable tax percent.
But is it possible for it to be added to the gross value of the cart (including shipping) so that the tax for the specific country would be added to the total cart value.

I've played around with changing the $taxes = $subtotal to $taxes = $total but think I'm missing something as it failed miserably.

Cheers

Kevin

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Mon Mar 07, 2011 9:28 pm

Hi Kevin,

Out of town at the moment, I need to have a look to the code and I'll keep you posted. I'll be back tomorrow eveni ng.
www.dbtechnosystems.com

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by kevinp » Mon Mar 07, 2011 10:29 pm

Thanks Naval. Much appreciated.

I’m not sure why but it seems common for the tax to be added to the whole cart value (including shipping). This seems to be a big alteration in the cart code from what I can see. Any pointers would be appreciated.

Cheers
Kevin

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by kevinp » Thu Mar 17, 2011 9:00 pm

Hi Naval

My client has reported a strange problem. On adding a product to the cart all is well, the product is added and the tax is added for Australian orders only with local rate shipping. When the user selects a country all this would change with the GST 10% removed and international postage removed but unless they click the recalculation button the tax and postage remain the same but they are allowed to proceed to the customer page.

Is ther e a way to require the customer to click the recalculate button if they change the country before continuing to the customer page? I tried using events to unhide the 'checkout' button until the recalculate is pressed but this simply disabled the recalculate button.

Or can the recalculate routine be added to the country selection as an onchange event.

Cheers

Kevin

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Thu Mar 17, 2011 9:18 pm

Yes, the best thing is to use a small Javascript and an "onChange" event to recalculate the tax, shipping etc and populate all fields with the correct values.
www.dbtechnosystems.com

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by kevinp » Thu Mar 17, 2011 10:17 pm

Maybe I could call the recalculate function from ajax. I'll see what I can come up with with a visit to Google.

Cheers

kevin

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Fri Mar 18, 2011 6:23 am

Hi Kevin,

Using Ajax you can recalculate all the cart values and then repopulate the fields as necessary. But is it really worth it for a "free", basic level cart ?
www.dbtechnosystems.com

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by kevinp » Sat Mar 19, 2011 9:51 am

Normally I'd agre, it's not really worth it for the standard cart but the problem is also present on the altered html mail cart and appears to happen with alarming regularity. People do choose their country but then click 'checkout' without using the recalculate button hence the tax and shipping are wrong resulting in somewhat of a mess. For my own site (where I've also made use of the cart) I'm in the process of going back to the mini cart option but unfortunately the client requires the html E-mail/packing slip so I'm kind of stuck with the current configeration.

Cheers

Kevin

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Sat Mar 19, 2011 12:16 pm

Hi Kevin,

I'll see if I can implement an Ajax routine to automatically update the cart on country selection or, at least, to force cart refreshing.
I'll keep you posted.
www.dbtechnosystems.com

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Navaldesign » Sat Mar 19, 2011 3:00 pm

Hi Kevin,

You have a mail with the solution.
www.dbtechnosystems.com

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

Re: Modified version of the WB Webshop!! Webshop_plus

Post by Patrik iden » Sun May 08, 2011 10:03 am

Ohh are you selling that plugin now?

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Re: Modified version of the WB Webshop!! Webshop_plus

Post by kevinp » Thu Nov 17, 2011 8:19 pm

Hi ponderosaprinting/Naval

Would it be possible to use a Combobox instead of a textbox for the quantity. You could then set the values as you wanted e.g. 5, 6, 7, 8, 9 etc. I'm sure I've used this method before, I'll look through my files and see if I can find it.

Cheers

Kevinp

UPDATE:

Yes it is possible. I found a site where I've used this method. Swap the Quantity text box on your form for a combobox with the same name. I'll try and sort out a demo.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests