Welcome, Guest
Username: Password: Remember me

TOPIC: Zone Publishing

Zone Publishing 3 years 11 months 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
The administrator has disabled public write access.

Re: Zone Publishing 3 years 11 months ago #1085

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 39403
  • Thank you received: 4282
  • MODERATOR
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
The administrator has disabled public write access.

Re: Zone Publishing 3 years 11 months 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.
The administrator has disabled public write access.

Re: Zone Publishing 3 years 11 months ago #1089

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 39403
  • Thank you received: 4282
  • MODERATOR
Go to Display->custom fields and edit the address_country field. There, you can select a default value.
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 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....
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 months ago #15280

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 39403
  • Thank you received: 4282
  • MODERATOR
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 }
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 months ago #15281

Works perfectly thankyou!

HH.
always look on the bright side....
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 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....
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 months ago #15290

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 39403
  • Thank you received: 4282
  • MODERATOR
I suppose that you're talking about the fieldset.
You can change the CSS:
.hikashop_checkout_login_right_part {
width: 440px;
float: left;
}
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 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....
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 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.
RegBordIssue.jpg
always look on the bright side....
Last Edit: 3 years 5 months ago by HappyHammer.
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 months ago #15308

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 39403
  • Thank you received: 4282
  • MODERATOR
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.
The administrator has disabled public write access.

Re: Zone Publishing 3 years 5 months ago #15394

Thanks Nicolas all looking good now.

HH.
always look on the bright side....
The administrator has disabled public write access.
Time to create page: 0.209 seconds
Powered by Kunena Forum