- Posts: 63
- Thank you received: 1
Change Product Preview ?
I'm trying to change the view of presenting a product, for example:
I want the product will be displayed before entering it only with a headline, picture, and description, without the price and item code etc..
I of course Vanish general settings and there are several options but none of them corresponds to what I mentioned above. In addition to that I choose something from the drop down general settings and change it and keeps nothing changes ...
What am I missing? How do I make what i described above?
link wwww.marry-me-love.com/noni
Thanks to all...
Please Log in or Create an account to join the conversation.
To change the product display, you can edit the view "product / show_default" and move the divs as you want to change the display of the product page.
One reason why the previous changes were not displayed could be a cache issue. Try to clear the cache, or do a Ctrl + F5
Please Log in or Create an account to join the conversation.
what could it be?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
If you edit a view and you do not see any modification, just check that you're editing the view for the right template.
I made this mistake a lot of time !
If you want to be sure that you're editing the right view (file), just put a
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
I am thinking we miss each other.
I'm trying to change the display settings through the preliminary product overall management system, there is the possibility of choosing such a picture and description, just viewing an image, an image and a title, etc ... So I want to just change out and choose option saves and it's just a variable. I want to display the product preview when you see a picture and description product theory.
Crouched there is no connection to the php file editing
Hope you understand me?
Please Log in or Create an account to join the conversation.
You are talking about the products listing.
To change the style of display, you have to edit your content menu or content module in HikaShop > Display > Content menus / modules.
Hope I understood you, and this will help you.
Please Log in or Create an account to join the conversation.
i need to display the divs of the introduction product just with picture title and short description....
Please Log in or Create an account to join the conversation.
You have to set the view configuration to "div" and "image and description" in your content menu/module edition view.
Then edit the view "product / listing_img_desc" and add code like: "echo $this->row->product_name;"
Please Log in or Create an account to join the conversation.
and i changed in the configuration to div and to pic+description but again it showing the code and the price ...
whitaout php coding it is not posibole?
Please Log in or Create an account to join the conversation.
To hide the code and the price, remove the blocks:
The blocks are indicated by tags, you just have to move or remove these blocks to have what you need.
Please Log in or Create an account to join the conversation.
last thing , how can i take just 5 6 word from the discription... ? it takes all the discription
thanks for your time!!
Please Log in or Create an account to join the conversation.
php.net/substr
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
i have puted this code :
<!-- PRODUCT DESCRIPTION -->
<div class="hikashop_product_desc" style="text-align:<?php echo $this->align; ?>">
<?php
echo substr ($this->row->product_description,0,20);
?>
</div>
<!-- EO PRODUCT DESCRIPTION -->
but this what i got in the pic that added
Please Log in or Create an account to join the conversation.
I tried to access to your website in order to see your problem but I can't see your modification.
Did you removed the modification ?
(Your domain with "www" does not exists but marry-me-love.com does, You may need to create a DNS entry for "www")
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
for some reason the file which is also estimated when editing the file is:
listing_img_title.php
I added the code I sent the previous post after the image area.
And now there's a bug in the display ..and one from tow product do not get the shor discription.
And seems only one product get short description ...
marry-me-love.com/noni
and i can open a user account login for you if you want for the specific folder? and send you the login detailes on privete?
thank u !!!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Your page have some broken HTML, that's why the layout is strange.
When you display the 20 first characters of the description, you have to keep in mind that the description could contains HTML.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.