Replace NSP GK5 orange circle with my own image

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Jul 26, 2014 11:39 am
Reply with quote
Report this post
Hi, I would like to replace the orange circle which hovers over my product on the home page to an image of my own - is this possible? I cant find where the orange circle image is located!

I also have a small problem with the checkout. When I add something to the cart and checkout I have the option to register or check out as a guest. As soon as I click to checkout as guest, the words Billing address below gets squashed where the 02 should be! Hope that made sense!, but here is the site address for you to see: www.totally80stoys.com

One last thing! Is there anyway to display my product prices on the homepage? I see other people have this problem, but they all seem to be using VM and I am only using K2/K2 store.

Sorry if these questions have been asked and solved before - I did have a good look, but couldn't find the answers myself!

Thanks for your help

Rob
User avatar
Fresh Boarder

teitbite
Mon Jul 28, 2014 10:22 am
Reply with quote
Report this post
Hi

To have an image in the circle please add this code to override.css and make sure override is enabled in template settings:

Code: Select all
.gkNspPM-ProductGallery .gkImage .gkImgOverlay {
    background: url(URL_TO_IMAGE) repeat scroll 0 0 transparent;
}


The field for price is there, but the price must be locked for not registered users maybe.

Show me a screen of this checkout issue.
User avatar
Moderator

GK User
Wed Jul 30, 2014 9:47 am
Reply with quote
Report this post
Thank for your reply - replacing the image worked well.

I still cant seem to get the prices to display, even if i view the page as a registered user.

Have attached a screenshot of my checkout issue.

Thanks again

Rob
Image
User avatar
Fresh Boarder

teitbite
Thu Jul 31, 2014 5:52 pm
Reply with quote
Report this post
Hi

For price please check a tax value. I think if there is no tax applied than price variant called "priceWithTax" is 0, so is not showing. Try add a tax of 0%.

Checkout looks correctly for me, have You fixed it already ?
User avatar
Moderator

GK User
Fri Aug 01, 2014 6:24 pm
Reply with quote
Report this post
Hi, thanks for replying back to me Teitbite.

I still cant get price to show, have tried playing around with tax but still no go!

Checkout issue only occurs when you click on 'checkout as guest'.
User avatar
Fresh Boarder

teitbite
Sat Aug 02, 2014 6:07 pm
Reply with quote
Report this post
I have edited /modules/mod_news_pro_gk5/portal_modes/product_gallery/controller.php and in line 141 I've replaced "priceWithTax" to "basePrice" so now there is:

Code: Select all
        $news_price.= $currency->createPriceDiv('basePrice','',$product->prices);


Should be ok now. Try just add this to css to center the price after change.

Code: Select all
.gkNspPM-ProductGallery .gkPrice {
    text-align: center;
}


Please send me an access to ftp so I'll check the broken checkout issue.
User avatar
Moderator

GK User
Sun Aug 03, 2014 6:24 pm
Reply with quote
Report this post
Thanks. Have had a look at modules/mod_news_pro_gk5/portal_modes/product_gallery/controller.php and I dont see anything like that! Sorry for my ignorance, but this is all fairly new to me! It is not extra important to show price on home page but it would have been nice!

Have sent you a pm with ftp login for checkout issue.

thanks for your assistance
User avatar
Fresh Boarder

teitbite
Mon Aug 04, 2014 9:14 am
Reply with quote
Report this post
Hi

I can see I've made a mistake and told You a solution for product_gallery_2 not the first one You are using. Anyway I think there is a bug in there. I'm sending this to programmers.

For the checkout issue I've added this script to /layout/blocks/head.php

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
   function watchtower() {
      if( $('#billing-address .checkout-heading .gkStep').size() > 0 ) {
         $('#billing-address .checkout-heading .gkStep').html('02');
      }
      setTimeout(watchtower,1);
   }

   $(watchtower);
});})(jQuery)</script>
User avatar
Moderator

teitbite
Mon Aug 04, 2014 3:29 pm
Reply with quote
Report this post
Hi

It's clear about the price now. Programmers informed me that there is no NSP module style which supports Hikashop. Only Normal Style has such option, so You can only display the price with it.
User avatar
Moderator

GK User
Sun Aug 10, 2014 10:45 pm
Reply with quote
Report this post
Hi Teitbite, thanks for all your help, checkout is working well and site is coming together nicely.

I have one more problem (only one more I promise!) When looking at products in category view they are all out of line. Is there any way to get the sales price text to line up with the item next to it without editing all the items sizes? I have attached a screenshot to try and explain what I mean - or visit http://totally80stoys.com/index.php/carded-figures

Thanks

Rob

Screenshot2.png
User avatar
Fresh Boarder

teitbite
Tue Aug 12, 2014 12:41 pm
Reply with quote
Report this post
Hi

Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
.itemImageBlock {
    min-height: 320px;
}
User avatar
Moderator


cron