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 »
  • Where to remove "abroad" shipping option
  • Print
Pages: [1]   Go Down

Author Topic: Where to remove "abroad" shipping option  (Read 9465 times)

Offline Pippy

  • Posts: 4
Where to remove "abroad" shipping option
« on: July 20, 2012, 07:06:44 AM »
I have done a website for a client but they do not want "abroad" showing under the shipping. In fact my client will be limiting sales to her own country.

Could someone please advise where to remove this from showing on the shop pages please.

The website will go live once I work out how to remove "abroad" from the code.

Thank you in advance.

Pip
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Where to remove "abroad" shipping option
« Reply #1 on: July 20, 2012, 10:46:37 AM »
The output uses template blocks that can be changed through the page-settings panel.
http://www.bakery-shop.ch/#page_settings

Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Pippy

  • Posts: 4
Re: Where to remove "abroad" shipping option
« Reply #2 on: July 23, 2012, 06:40:54 AM »
Quote from: Ruud on July 20, 2012, 10:46:37 AM
The output uses template blocks that can be changed through the page-settings panel.
http://www.bakery-shop.ch/#page_settings

Thanks.

I actually managed to find what I needed to do by commenting out the "abroad shipping" text in the certain bakery files. Now everything looks fine.

Pip
Logged

apple

  • Guest
Re: Where to remove "abroad" shipping option
« Reply #3 on: January 26, 2013, 12:55:45 PM »
Quote from: Pippy on July 23, 2012, 06:40:54 AM

I actually managed to find what I needed to do by commenting out the "abroad shipping" text in the certain bakery files. Now everything looks fine.


Hi, I am having same issue. Can you share which files you have commented the out the "abroad shipping" text? Thanks.
Logged

jacobi22

  • Guest
Re: Where to remove "abroad" shipping option
« Reply #4 on: January 26, 2013, 06:10:05 PM »
a simple solution is a look into the template-files and the page-settings from bakery
another way: change the select for the countrys. if your shop- (home-) country == germany, comment out all other countrys in the file bakery/languages/countrys/DE.php and use only this code

Code: [Select]
$MOD_BAKERY['TXT_COUNTRY_CODE'][1] = 'DE'; $MOD_BAKERY['TXT_COUNTRY_NAME'][1] = 'Deutschland';(watch at DE and Deutschland for germany)

if your Shop-Home-Country like France use the france Code in the file FR.php , like
Code: [Select]
$MOD_BAKERY['TXT_COUNTRY_CODE'][1] = 'FR'; $MOD_BAKERY['TXT_COUNTRY_NAME'][1] = 'France';if you have only one entry in this file or you change the countries in this file, be carefull: the first entry (and only this line) needs the 1 behind $MOD_BAKERY['TXT_COUNTRY_CODE'] and $MOD_BAKERY['TXT_COUNTRY_NAME']

if your Shop-Home-Country are the same with the entry in this file, you have no abroad shipping text

Logged

apple

  • Guest
Re: Where to remove "abroad" shipping option
« Reply #5 on: January 28, 2013, 11:30:37 PM »
Thank you. That was very helpful. The other question. Where do I delete the text 'Stock:' below the thumbnail page. I dont want the stock showing but dont know where to get rid of the word 'Stock:'on the page.
Thanks in advance.
Logged

apple

  • Guest
Re: Where to remove "abroad" shipping option
« Reply #6 on: January 28, 2013, 11:50:35 PM »
Quote from: applepie on January 28, 2013, 11:30:37 PM
The other question. Where do I delete the text 'Stock:' below the thumbnail page.

Dont worry, I found the answer. I looked at the shop admin and in the page settings. Thanks
Logged

Offline owk444

  • Posts: 20
  • Gender: Male
Re: Where to remove "abroad" shipping option
« Reply #7 on: February 14, 2013, 12:15:38 PM »
Quote from: jacobi22 on January 26, 2013, 06:10:05 PM
a simple solution is a look into the template-files and the page-settings from bakery
another way: change the select for the countrys. if your shop- (home-) country == germany, comment out all other countrys in the file bakery/languages/countrys/DE.php and use only this code

Code: [Select]
$MOD_BAKERY['TXT_COUNTRY_CODE'][1] = 'DE'; $MOD_BAKERY['TXT_COUNTRY_NAME'][1] = 'Deutschland';(watch at DE and Deutschland for germany)

if your Shop-Home-Country like France use the france Code in the file FR.php , like
Code: [Select]
$MOD_BAKERY['TXT_COUNTRY_CODE'][1] = 'FR'; $MOD_BAKERY['TXT_COUNTRY_NAME'][1] = 'France';if you have only one entry in this file or you change the countries in this file, be carefull: the first entry (and only this line) needs the 1 behind $MOD_BAKERY['TXT_COUNTRY_CODE'] and $MOD_BAKERY['TXT_COUNTRY_NAME']

if your Shop-Home-Country are the same with the entry in this file, you have no abroad shipping text



It is does not work.

I have only one string
$MOD_BAKERY['TXT_COUNTRY_CODE'][1] = 'RU'; $MOD_BAKERY['TXT_COUNTRY_NAME'][1] = 'Russia';
in languages/countries/RU.php

Shop country also Russia ( impossible to choose another one, because we have only one country in a RU.php ), but I still see "abroad shipping".

Good idea is to remove all types of these shipping, because always we need three type of shipping: pickup in the store, shipping by courier, by post. Two type of shipping "domestic" and "abroad" is too small.
Logged

jacobi22

  • Guest
Re: Where to remove "abroad" shipping option
« Reply #8 on: February 14, 2013, 02:14:35 PM »
i check my last bakery shop again

i delete only the other countrys in the language file in in languages/countries/RU.php btw the shop language file in this folder.

after that, you have a empty country list in the bottom of general setting in the field     ... to specific Countries (Multiple Choice):


no other changes in other files. the result is a 1-point-select-field in the customer adress mask in adress country and shipping country. the user cannot changes this (home)-Country

if you dont need abroad shipping in Item Detail , you can change the code in bakery page setting for item details
from
Code: [Select]
<tr>       
<td align="left" valign="top"><span class="mod_bakery_shipping_cost_f">[TXT_SHIPPING_COST]:</span></td>
<td align="left" valign="top">
[TXT_DOMESTIC]: [CURRENCY] [SHIPPING_DOMESTIC]<br />
[TXT_ABROAD]: [CURRENCY] [SHIPPING_ABROAD]</td>
</tr>

to
Code: [Select]
<tr>       
<td align="left" valign="top"><span class="mod_bakery_shipping_cost_f">[TXT_SHIPPING_COST]:</span></td>
<td align="left" valign="top">
[TXT_DOMESTIC]: [CURRENCY] [SHIPPING_DOMESTIC]</td>
</tr>


Logged

Offline owk444

  • Posts: 20
  • Gender: Male
Re: Where to remove "abroad" shipping option
« Reply #9 on: February 14, 2013, 02:41:30 PM »
@jacobi22

Yes, I did it already.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Where to remove "abroad" shipping option
 

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