The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 04-29-2015, 03:25 AM
Aircon Off's Avatar
Aircon Off is offline
 
Join Date: Jul 2014
Posts: 1
Default

Removing the word "OR" from shopping cart


Hi I have tried everything suggested to remove the word "or"from cart page to no avail
http://smartremoteplus.ecwid.com/#!/~/checkoutSA

I have tried this code as suggested but only removes in the Email section: please help:

Code used as suggested was:
div.ecwid-productBrowser-auth { display: none; }
table.ecwid-Checkout-blockTitle button, div.ecwid-Checkout-PasswordBlock {
display:none;
}
div.ecwid-Checkout-blockTitle button.gwt-Button{
display: none;
}
  #2  
Old 04-29-2015, 02:33 PM
Arthur Belostotsky's Avatar
Arthur Belostotsky Arthur Belostotsky is offline
 
Join Date: Jun 2014
Posts: 466
Default

Quote:
Originally Posted by Aircon Off View Post
Hi I have tried everything suggested to remove the word "or"from cart page to no avail
http://smartremoteplus.ecwid.com/#!/~/checkoutSA

I have tried this code as suggested but only removes in the Email section: please help:

Code used as suggested was:
div.ecwid-productBrowser-auth { display: none; }
table.ecwid-Checkout-blockTitle button, div.ecwid-Checkout-PasswordBlock {
display:none;
}
div.ecwid-Checkout-blockTitle button.gwt-Button{
display: none;
}
Hello,

Thank you for your question.
Ecwid allows to change the wording of standard interface elements with help of custom translation script.
You can find the detailed instruction on how to do it here: http://help.ecwid.com/customer/porta...m-translations

It's not possible to remove the "or" word in the above-mentioned CSS-code as this word is not the single element, but the part of the element
Code:
table.ecwid-Checkout-blockTitle .gwt-HTML
There are two possible solutions for your case:
1) Use the following custom translation script:
Code:
<script type="text/javascript">
  ecwidMessages = { 
    "ShippingDetails.enter_address_or":"Enter shipping address"
  }; 
</script>
The custom translation script should be added to the store page source code before Ecwid widget code. It's not possible to add this script to the Starter Site that you use at the moment, sorry.

2) Hide the whole label with help of CSS. You can do it by adding the following CSS-rule to your custom CSS theme (Ecwid Control Panel > System Settings > Design > CSS themes):
Code:
/* hide the label */
html#ecwid_html body#ecwid_body table.ecwid-Checkout-blockTitle .gwt-HTML {
  display: none;
}

/* moves the shipping address form */
html#ecwid_html body#ecwid_body div.ecwid-AddressForm div.ecwid-form {
  margin-top: 38px;
}
I hope that it helps. Please let me know if you have anymore questions. I'll be glad to help you.

Last edited by Liza; 04-30-2015 at 05:45 PM.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:01 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.