some questions

  • Posts: 7
  • Thank you received: 0
11 years 7 months ago #68223

Hi,
I have some questions about customizing hikashop:
1. I would like to add some links to pages "Delivery", "How to order", "Order by phone"- telephone ... beside information about price, weight, button "Add to cart"... and it should be on every product page (former there was such customization but after installing new version of hikashop it disappears, is there any way to preserve customizations after installing newer version). Also, these articles "Delivery", "How to order", "Order by phone" are joomla articles, how to make them be recognized as part of hika component? So hika content module or other modules would be displayed on these pages.
2. Button "add to wishlist" leads to blank page, what could be the problem? Also Hikashop wishlist module leads to blank page.
3. There is button " Ask about product" that is not styled like other buttons (there is one hika style chosen now), could this button be turned to normal link or styled in different way, and how to do that?
4. Pictures on product pages are displayed very small and on first page, where products are listed in divs, some pictures are bigger than frame for that product. Where can this be adjusted?

Regards,
Jovana

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

  • Posts: 81598
  • Thank you received: 13082
  • MODERATOR
11 years 7 months ago #68401

Hi,

1. You can add these links in the file "show_default" via the menu Display>Views. They won't be removed when you update if you do it like that.

2. Hard to say. Can turn on the debug mode and the error reporting options of the joomla configuration and give a link to your page or tell us the error you have after that ?

3. All the buttons should look the same. Can you give a link to a product page so that we can see that ?

4. You can change their size in the tab "Files/Images" of the configuration.

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

  • Posts: 7
  • Thank you received: 0
11 years 7 months ago #68505

Thank you for your reply. I resolved task number 1 and 4.

2. After clicking "Add to cart" error is
Fatal error: Call to undefined method CartViewCart::_getCheckoutURL() in /home/prirodn1/public_html/components/com_hikashop/views/cart/view.html.php on line 381

or you can see it at link http://prirodnilek.com/prodavnica/product/2-astragalus-caj-suseni-koren-200-g49

3. You can see on the same page button "Ask about product" in blue color.

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

  • Posts: 81598
  • Thank you received: 13082
  • MODERATOR
11 years 7 months ago #68562

2. Please add the code:
function _getCheckoutURL(){
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
}
return hikashop_completeLink('checkout'.$url_itemid,false,true);
}


after the line :
class CartViewCart extends HikaShopView {

in the file components/com_hikashop/views/cart/view.html.php and that will solve the problem.

3. That comes from your template's CSS code:
.button {
padding: 5px 10px;
border: none;
font-weight: bold;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
background: #6079AB;
color: white;
text-transform: uppercase;
cursor: pointer;
}

which is in the file prirodnilek.com/templates/ja_purity/css/template.css

If you remove it, it will display properly.

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

  • Posts: 7
  • Thank you received: 0
11 years 7 months ago #68711

2. I have added code and wishlist is working now, only template is not showing properly when an user account is displayed. You can see it at this link
http://prirodnilek.com/prodavnica/user/cpanel

3. Button "Ask about produst" is now better, but not completely as other buttons, as you can see, there is one line too much
http://prirodnilek.com/prodavnica/product/2-astragalus-caj-suseni-koren-200-g49

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

  • Posts: 81598
  • Thank you received: 13082
  • MODERATOR
11 years 6 months ago #68917

2. You can add that CSS to avoid that :
.hikashopcpanel {
width: auto !important;
}

3. I still the exact same CSS on your website. Please remove it from that file and that will fix the problem.

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

Time to create page: 0.046 seconds
Powered by Kunena Forum