Zone Publishing

  • Posts: 13
  • Thank you received: 0
14 years 2 weeks ago #1083

I am only selling products in the USA and Canada is there a way to unpublished all other zones without manually selecting unpublish for each one?

thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
14 years 2 weeks ago #1085

First, you only need to do it for countries. So you can filter the listing to display only countries and then do it one by one. There's only 200 countries... It takes 5 minutes to do it.

Otherwise, you can go in your database and run the query "UPDATE jos_hikashop_zone SET zone_published=0" to unpublish all the zones.

We will see to add a global publish/unpublish button on the listing in a future release

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
14 years 2 weeks ago #1086

Great thanks

Also is there a default zone I can set? When someone goes to register I just want the default to be USA and then they can change it / select canada if that is where they are from instead of the USA.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
14 years 2 weeks ago #1089

Go to Display->custom fields and edit the address_country field. There, you can select a default value.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15279

I found this thread in a search on countries and it answered my question about the default value. However my next issue is that the country field is too wide for my template because of the country name translations in ()'s. Is there any way to remove the translations in ()'s?

HH.


always look on the bright side....

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 6 months ago #15280

You can just add the CSS below (in the config under the tab display via the CSS edition interface) to reduce the width of the dropdown:

#address_country{ width: 150px }

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15281

Works perfectly thankyou!

HH.


always look on the bright side....

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15286

Can you please tell me the parameter for the white line around the registration fields please as this is too wide also and did not move in when I adjusted the country field width.

HH.


always look on the bright side....

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 6 months ago #15290

I suppose that you're talking about the fieldset.
You can change the CSS:
.hikashop_checkout_login_right_part {
width: 440px;
float: left;
}

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15304

Thanks this is happening when the billing and shipping address appear. I think it is because my template has a left and a right location. Can you give the parameter for these two as well please?

HH.


always look on the bright side....

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15306

nicolas wrote:

I suppose that you're talking about the fieldset.
You can change the CSS:
.hikashop_checkout_login_right_part {
width: 440px;
float: left;
}

I'm sorry Nicolas I don't know much about the code. I made a change to the width (down to 140px) and it had no affect. The issue is a border line that appears around the registration fields after you have added something to the cart. My template has a right position and the right hand side of the registration border overlaps the right hand column, I hope this makes sense.

I have attached a screen shot. You can see the line running behind the login button and the down through the word password.

HH.


always look on the bright side....
Attachments:
Last edit: 13 years 6 months ago by HappyHammer.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 6 months ago #15308

For the billing and shipping addresses it's:
.hikashop_checkout_address_right_part {
width: 350px;
float: left;
}
and :
.hikashop_checkout_address_left_part {
width: 350px;
float: left;
}

If you don't see your changes, you need to make sure that you flushed your browser's cache.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15394

Thanks Nicolas all looking good now.

HH.


always look on the bright side....

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum