No rounded corners, css-button to the left and..

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1303

Hi!

I found some errors (I believe):

-There are no rounded corners with the product-box
-When I choose the CSS-button it is aligned to the left
-No image is displayed with the shipping (although I choosed one)
-Is there a way to include a image to the cart-module? Or is that function coming in next version? :)


Sorry for "complaining", thanks for a great component!!!! The best out there!

Last edit: 8 years 3 months ago by jonthee.

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

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

Hi,

1/ did you specify a margin value in the options of the module/menu ? If you look on this page www.demo.hikashop.com/index.php?option=c...ng&Itemid=58&lang=ja there are rounded corners.

2/ Probably just some CSS which needs to be tweaked. If you could provide the URL where you have the problem we would be able to tell you what CSS to add.

3/ That's a first. No one reported such problem so far. Again, a URL would be great in order to look at the problem.

4/ You can modify the file cart.php of the view product via the menu Display->Views in order to display it the way you want.

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1306

Hi!

You are very quick to reply, awesome! :)

The rounded corners do only work in Firefox, not in IE :(

My URL is *deleted*

Thanks again!

Last edit: 8 years 3 months ago by jonthee.

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

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

If you edit your CSS (you can go in the configuration under the tab display for that) and add:

.hikashop_products a.hikashop_cart_button,.hikashop_products a.hikashop_cart_button:hover{
float:none;
}
That should center the button.

Yes, CSS rounded corners are not yet supported by Internet explorer before version 9. If you really want rounded corners in all versions of internet explorer you should follow the article below and add some CSS and a htc file: jonraasch.com/blog/css-rounded-corners-in-all-browsers

For the images of shipping methods, that's indeed the case. We didn't had the code to display them so far. You can replace the file components/com_hikashop/views/checkout/shipping.php by the file in the package enclosed in this post.

File Attachment:

File Name: shipping.zip
File Size:1 KB

Attachments:
Last edit: 14 years 2 weeks ago by nicolas.

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1308

Thank you very much!

The sipping-images work now!

Thanks on the info about rounded corners in IE ;)

But the css-button center didnt work :(

Last edit: 8 years 3 months ago by jonthee.

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

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

Right, use this CSS instead:

.hikashop_products a.hikashop_cart_button,.hikashop_products a.hikashop_cart_button:hover{
float:none;
}

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1310

Thank you!!!

That did work, but now it interfer with the text above :/

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1312

Hi again!

Do you know a fix for this? :)

Also, is there a way to change the font-color of the text for the css-buttons? I would like them white because I've changed the background to black :)

Thanks in advance!

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

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

You can search in the css file for hikashop_cart_button
You just need to change the css code related to this class so that it meet your needs.

Last edit: 14 years 2 weeks ago by nicolas.

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1323

Hi again!

Neither of it worked :(

The button-font-color didnt change to white and the fix for the "over-the-text" just multiplied the buttons :(

Thanks in advance!

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

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

Please remove your modification for the add to cart button over the text issue. That was indeed not the good way to do it. I was a bit too fast and didn't read what was the text above the button ( without syaing that it was in swedish which didn't help me to notice ). The fact that the button is now in double is because you didn't do the correct modification.


Instead of the previous modification, edit the file components/com_hikashop/views/product/tmpl/quantity.php near line 35 and change the code

echo JText::sprintf('X_ITEMS_IN_STOCK',$this->row->product_quantity);
						echo '<br/>';
to
echo JText::sprintf('X_ITEMS_IN_STOCK',$this->row->product_quantity);
						echo '<br/>';
						$config =& hikashop::config();
						if($config->get('button_style','normal')=='css'){
							echo '<br />';
						}

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1325

YEAHH! It worked fine :) I'll guess you put that into the next version as well? :)

Could you please help me with the font-color in the button? Now it takes the color from my joomla-template, but I would like the color white=#FFFFFF; :)

Thanks in advance!

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

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

That's really something related to your template. You could add the css below:

#hikashop_category_information_menu_1 a.hikashop_cart_button, #hikashop_category_information_menu_1 a.hikashop_cart_button:hover{
color:#FFFFFF;
}

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1327

WOOW!! Awesome!! :) Thank you!!

PS, will you implement the improvements for:

-Shipping-images
-Css-button-fix (center and above-align)

..in the next version? :)

Last edit: 8 years 3 months ago by jonthee.

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

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

Yes, they are already in our dev environment :)

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

  • Posts: 57
  • Thank you received: 0
14 years 2 weeks ago #1329

Awesome :) Then I wont have to put it in the code again :)

This must be the best e-commerce out there, I have tried Redshop, Virtuemart (tragic), Tienda, Zencart, OsCommerce etc..

This shopping cart just works fantastic!

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

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

Yes. You could also have modified the views via our interface in Display->Views. Using that, the modifications are not overwritten when updating as we use the view override system of Joomla. But as I knew that we would integrate the modifications into the next release, I didn't mentioned it.

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

  • Posts: 9
  • Thank you received: 0
11 years 6 months ago #101287

Hi I tried to make the change as you have suggested above but no luck am I putting the code in the wrong place ?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #101406

Hi,

What are you needing ?
You want to customize the modules ?

Then you have to edit the file "Frontend CSS file" ion Config > Display > CSS.
Here is a tutorial about layout customizations:
www.hikashop.com/fr/support/documentatio...ize-the-display.html

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

Time to create page: 0.102 seconds
Powered by Kunena Forum