Upgrade to Version 2.1.2 - Will this effect Alpha

  • Posts: 10
  • Thank you received: 0
11 years 6 months ago #99701

I had to edit 2 files in HikaShop to allow me to customize the product CSS display. Each time I update, these files are overwritten and I must add the edits back to the new version of the file. I've recently installed AlphaUser Points V. 1.8.3 and I wanted to check if I upgrade Hikashop 2.1.0 to version 2.1.2, would there be any issues? Thank you very much. :)

Hugs,

Natalie

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 6 months ago #99750

All the version of HikaShop are compatible with AlphaUserPoints so no problem.

There is probably a way to modify the display without loosing your changes after each update but I would need to know what changes you did to say anythhing on that.

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

  • Posts: 10
  • Thank you received: 0
11 years 6 months ago #100114

Hi Nicholas, below are the files and edits that I have to recreate on each update. In addition, I'd made minor edits to the /language/en-GBen-GB.com_hikashop.ini file along with customer email responses which show on customer invoices, etc. All edits were rewritten by the update as well. It's not a huge problem because I know that it's going to happen, so I do the updates very late at night and have the files open and ready to edit. We're now getting a huge amount of traffic and orders, so I do worry a bit that something may go wrong. I've worked with Joomla for a while now, but I've had countless random and mysterious issues appear from updates that are unexplained. I, of course, back everything up before doing anything but it's still a concern.


Front End Style Edits: (Product and Category Title Edits to match template)

/components/com_hikashop/views/product/tmpl/show_default.php

LINE 19 - 23:
<div id="hikashop_product_top_part" class="hikashop_product_top_part article-header">
<?php if(!empty($this->element->extraData->topBegin)) { echo implode("\r\n",$this->element->extraData->topBegin); } ?>
<h1 class="title">

/components/com_hikashop/views/category/tmpl/listing.php

LINE 33:
$titleType='h1 class="title"';

LINE 237:
<div id="<?php echo $this->params->get('main_div_name');?>" class="hikashop_category_information hikashop_categories_listing_main article-header">

Stylesheet Edits: ( Product buttons, etc.)

/public_html/media/com_hikashop/css/frontend_default.css

LINE 256:
/* cart buttons NAKE*/

a.hikashop_cart_button, a.hikashop_compare_button, a.hikashop_compare_button:hover{color: #fff;text-shadow: 1px 1px 1px rgba(0,0,0,0.3); display: inline-block;margin: 0;overflow: visible;border: none;background-position: 100% 0;background-repeat: no-repeat;margin-left: 6px;
color:#fff;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;
padding:5px 8px;
text-decoration:none;
cursor:pointer;
float:left;
white-space:nowrap;
border: 4px solid #e6e6e6;
}

a.hikashop_cart_button {background-image: url(../images/orange/button1.png);}
a.hikashop_cart_button:hover{background-image: url(../images/orange/button3.png);}

}
a.hikashop_cart_button:hover, a.hikashop_compare_button:hover{
outline: 2px solid #f38a01;
}

/* a.hikashop_cart_button, a.hikashop_cart_button:hover, a.hikashop_compare_button, a.hikashop_compare_button:hover{
background-image:url(../images/button.jpg);
border:1px solid #356AA0;
color:#000000;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;
padding:5px 8px;
text-decoration:none;
cursor:pointer;
float:left;
white-space:nowrap;
}
a.hikashop_cart_button:hover, a.hikashop_compare_button:hover{
outline: 2px solid #92C1FF;
}
*/

Last edit: 11 years 6 months ago by Nat.Adams.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 6 months ago #100126

Instead of editing the files directly, you should edit the view files via the menu Display->Views as we always recommend. That way, you won't loose your changes when you update HikaShop.


For /components/com_hikashop/views/product/tmpl/show_default.php it's the file "show_default".
For /components/com_hikashop/views/category/tmpl/listing.php it's the file "listing" of the view "category".

For the CSS, you should edit it via the Display tab of the configuration. That way you won't loose your changes either.

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

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 4 months ago #111346

hi Nicolas,

to do changes in the CSS is more easy when the line numbers are visible. can you fix that

thanks

Marius

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #111354

Hi,

Yes. That is actually already added on our end for next version of HikaShop.

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

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 4 months ago #111374

hi,

Nice, i look forward for the line nrs.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum