Bienvenue, Invité
Nom d'utilisateur: Mot de passe: Se souvenir de moi
  • Page:
  • 1

SUJET: Zone Publishing

Zone Publishing il y a 2 ans 7 mois #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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 7 mois #1085

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30642
  • Remerciements reçus 2558
  • 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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 7 mois #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.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 7 mois #1089

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30642
  • Remerciements reçus 2558
  • MODERATOR
Go to Display->custom fields and edit the address_country field. There, you can select a default value.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #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....
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #15280

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30642
  • Remerciements reçus 2558
  • 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 }
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #15281

Works perfectly thankyou!

HH.
always look on the bright side....
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #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....
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #15290

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30642
  • Remerciements reçus 2558
  • MODERATOR
I suppose that you're talking about the fieldset.
You can change the CSS:
.hikashop_checkout_login_right_part {
width: 440px;
float: left;
}
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #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....
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #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....
Dernière édition: il y a 2 ans 1 mois par HappyHammer.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #15308

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30642
  • Remerciements reçus 2558
  • 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.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Zone Publishing il y a 2 ans 1 mois #15394

Thanks Nicolas all looking good now.

HH.
always look on the bright side....
L'administrateur à désactivé l'accès en écriture pour le public.
  • Page:
  • 1
Temps de génération de la page: 0.281 secondes

Follow hikashop on Twitter