- Posts: 77
- Thank you received: 1
TABS / Product code
-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.4
-- Browser(s) name and version -- : firefox newest
I have a few small issues
1) Tabs
2) hikashop ratings
3) product codes
1)
a) I want to REMOVE the specifications tab. what code do i exactly need to delete in my show_blocks file?
b) I want to also COMBINE the "Post a comment" and "COMMENTS" tab.
2) Can I make a module to display all recent comments from ALL hikashop products? This would be a really cool feature to have on my homepage!
3) My product codes dont change when I select a variant from the drop down lists, can you tell me how to fix this exactly?
Thank you very much hikashop team!
Please Log in or Create an account to join the conversation.
1.
a) You have to edit the file "product / show_tabular" and add the part:
And remove:
2. This is not yet available but on our TODO list.
3. How do you have displayed this product code ?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
1. a/ Using some CSS code will probably do the job : www.hikashop.com/support/documentation/1...ize-the-display.html
1. b/ & 2. To do that you'll have to use some code customization, which will require some development skills.
3. Your product code (next to your product title)is changing regarding the value of your variant dropdown, Did you use some code customization to display the "product code :" text through your product page ?
Please Log in or Create an account to join the conversation.
Thanks so much! As you can see here, it looks like it worked perfectly!
You are amazing!
As far as the product code goes:
</span>
<?php if ($this->config->get('show_code')) { ?>
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>
I think this is what i have in there?
I included a full txt attachment of the file, so that you can see it all.
If it was easier for you, then trying to explain it, if you re-upload it with the fix in it, i'll simply replace the txt i have in the editor and it should be fixed!
Im trying to get the product code to change, when i select a variant etc.
Thanks again!
How much work would it be to have a module where the NEWEST product reviews would show up on the homepage etc?
Please Log in or Create an account to join the conversation.
What would the price be?
Do you guys have any nicer buttons for the product pages? I purchased the full STYLE pack from you guys, but not 100% sure what would make my page look the best.
Should I make the images bigger? thumb nails bigger too?
The CONTACT US FOR INFO button seems huge... and the ADD TO CART button isn't so big.
What would you recommend to really make the page nicer?
Please Log in or Create an account to join the conversation.
The product coed must be in a "span" or a "div" with the id "hikashop_product_code_main" because it is edited dynamically via Javascript. So thanks to add a span or div around the code
Regarding the display, we are developer, so not really designers
We can't really help you on this point, it is customization and the forum don't support that.
Please Log in or Create an account to join the conversation.
i'm a little confused on how to change this " Product Code: <?php echo $this->element->product_code; ?> "
Can you please advise me on what to do?
Thanks again!
Please Log in or Create an account to join the conversation.
As Xavier said
Regarding the display, we are developer, so not really designers
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I dont quite know what you mean about changing this code though to make it work properly.
" Product Code: <?php echo $this->element->product_code; ?> "
Can you please advise me on what to do?
Thanks.
What in my code file do i exactly need to do, to ensure the product codes change when a user selects a product variant?
Please Log in or Create an account to join the conversation.
In your code, you have to remove:
Please Log in or Create an account to join the conversation.
Thank you for editing the code.
imgur.com/DZPfOzE
here is an image of whats happening.
Code looks fine... but still doesn't change properly.
here is a FULL code log... attached.
www.lockharttactical.com/component/hikas...lic-safety-toe-boots
link the view the exact same product
The code isn't changing yet.
Please Log in or Create an account to join the conversation.
I fixed the Xavier code.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
but still no change.
product codes are not changing when selecting variants.
Thanks
See problem here: www.lockharttactical.com/component/hikas...lic-safety-toe-boots
Please Log in or Create an account to join the conversation.
You would have to change the line:
if ($this->config->get('show_code') &&!empty($variant->product_code)){ ?>
of the view product/show.php to remove the check on the configuration option or turn on the option if you want that to work.
Please Log in or Create an account to join the conversation.
but what code do I exactly have to modify. What to I replace, with what. etc.
Thanks!
Please Log in or Create an account to join the conversation.
if ($this->config->get('show_code') &&!empty($variant->product_code)){ ?>
with:
if (!empty($variant->product_code)){ ?>
Please Log in or Create an account to join the conversation.
GIANT KISS!!! HAHA
My only other related question now..
Is for product codes, can hikashop use the variant name?
Example: lockharttactical.com/recent/product/6684...fleece-storm-32-pant
for variant: COLOR: BLACK, SIZE: X-Small
the code is: KR-UA-1239181_10481_10160
Could hikashop not automatically use the variant names for the codes?
So it would look like this:
KR-UA-1239181_Black_XSmall
Please Log in or Create an account to join the conversation.
No, the product in your cart/order is the variant so the variant product code is used.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
thanks
Please Log in or Create an account to join the conversation.
Nothing is impossible, but it require time and development.
If you want to change the variant product codes, you can edit your variants and change that value.
You can also import your variants using a CSV with the product_code you want.
But the way that HikaShop generate the variant product code should follow a specific rule to be unique.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.