WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Overwrite global shipping settings
  • Print
Pages: [1]   Go Down

Author Topic: Overwrite global shipping settings  (Read 4625 times)

Offline HeidemanMedia

  • Posts: 51
  • Gender: Male
    • Heideman Media
Overwrite global shipping settings
« on: August 27, 2012, 09:16:48 AM »
Hi,

for a client i use global shipping settings in bakery so for each product you pay the same shipping.. but now the client has a new category that needs a different shipping price. When i add shipping to a product this will be added to the global shipping. Is there a solution to use global shipping except one category?

greetz heidekeal
Logged
___________________ ___________________ ___
Heideman Media - Holland

jacobi22

  • Guest
Re: Overwrite global shipping settings
« Reply #1 on: August 27, 2012, 01:53:22 PM »
i see only one solution: dont use global shipping settings - set the shipping price to each product - sorry ;-)

P.S. maybe, there its another way, if you use not the same shop, but i cannot test this for the moment (some lttle Problems with my local WB)
Logged

Offline HeidemanMedia

  • Posts: 51
  • Gender: Male
    • Heideman Media
Re: Overwrite global shipping settings
« Reply #2 on: August 27, 2012, 02:31:16 PM »
aaah there are more than 6000 products so that's not a solution;) but mayme an idee to use a subdomain but i hope for an anther solution..
Logged
___________________ ___________________ ___
Heideman Media - Holland

Offline Bug

  • Posts: 237
Re: Overwrite global shipping settings
« Reply #3 on: September 01, 2012, 09:40:16 AM »
Search for the sjipping options in view_summary.php

Look for stuff like f_shipping somewhere at 75% down the page

There you can add and change everything, I did it once where items from one page needed free shipping.

What i did,
I added a databasefield to the items table called shippingvalue,
For the 'other' page i gave this a standard value of 1, the others i gave 0
(in the modify item i added a hidden formfield and a 'if page_id ==...$shippingvalue =1 thingy...)
In the view summery i add up the shippingvalues from the items in the cart, if the value is more than 0 the other shippingvalue is used, also with some ' if shippingvalue >0 ....

It will be a few hours before you understand how the view.. Files and the htt files work together and another few to understand what is going on in the view_summery.php but it will be worth it.

Also think about how shipping for combined orders have to be handled, if combined orders (with items that require regular shipping and items that require the alternative shipping) should not have the regular shipping  the above will do, if combined orders need the regular shipping i think you should count the items and count the shippingvalue, if thereare more items than the value of the shippingvalue it would mean the order is a combined order....

If you need to change the confirmation mail you will also find it at the bottom of the view_summary.php, some values and handy stuff resides in view_confirmation.p hp


Good luck!
(as always, make a backup first, you will fukk up here and there once or twice....)




Logged

Offline HeidemanMedia

  • Posts: 51
  • Gender: Male
    • Heideman Media
Re: Overwrite global shipping settings
« Reply #4 on: September 03, 2012, 03:51:07 PM »
Hello Bug,

Thank you for your suggestions! I gonna look to it and hope ill will fix it:)

I let you know

greetz heidekeal
Logged
___________________ ___________________ ___
Heideman Media - Holland

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Overwrite global shipping settings
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2