[Skip to main content](#vessel-content)

#   Art Zoomin integration

##

- **[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")**
- [![unclefudgly's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1739-unclefudgly "View unclefudgly's Profile") Topic Author
- [ Offline](/forum/user/1739-unclefudgly)

Less More

- Posts: 26
- Thank you received: 0
-
-

14 years 4 months ago [\#54778](#54778) by [unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")  *[Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#54778 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")* was created by *[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")*

Hi

I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).

How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 4 months ago [\#54826](#54826) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#54826 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")*

You will have to restyle the file "show" of the view "product" via the menu Display-&gt;Views.

The best of course would be to ask artetics to update their integration in order to use the new "show_block_img" view file that's we include in HikaShop. That way, when you replace it, you still keep all the rest of your product page customizations.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")**
- [![unclefudgly's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1739-unclefudgly "View unclefudgly's Profile") Topic Author
- [ Offline](/forum/user/1739-unclefudgly)

Less More

- Posts: 26
- Thank you received: 0
-
-

14 years 4 months ago [\#55086](#55086) by [unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")  Replied by *[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")* on topic *[Re: Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#55086 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")*

I can confirm that the Artetics plugin is now working well with my Hikashop install. Actually it turns out Artetics do use the "show_block_img" view file. And I have now resolved my customization issues. So all is good for product page styling.

One thing I would like to do though is have more control over the zoomin plugin, and have it show only for certain categories whose products really need to be zoomed in ie jewellery, whereas others don't. How could I do that?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 4 months ago [\#55119](#55119) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#55119 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")*

You would have to create a yes/no custom field of the table "product" and then set it for each product.
Then, you could add a simple condition in the show_default view file of the product page so that it uses one or the other show_block_img based on that custom field value for the current product. It should be something like that:
if($this-&gt;element-&gt;CUSTOM_FIELD_COLUMN_NAME){
$this-&gt;setLayout('show_block_img');
}else{
$this-&gt;setLayout('show_block_img2');
}
echo $this-&gt;loadTemplate();

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")**
- [![unclefudgly's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1739-unclefudgly "View unclefudgly's Profile") Topic Author
- [ Offline](/forum/user/1739-unclefudgly)

Less More

- Posts: 26
- Thank you received: 0
-
-

14 years 4 months ago [\#55135](#55135) by [unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")  Replied by *[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")* on topic *[Re: Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#55135 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")*

That did sound a bit complex, but it turned out to be reasonably straightforward, and now I have it working on a per product basis, which is brilliant!

Thanks very much!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")**
- [![unclefudgly's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1739-unclefudgly "View unclefudgly's Profile") Topic Author
- [ Offline](/forum/user/1739-unclefudgly)

Less More

- Posts: 26
- Thank you received: 0
-
-

14 years 3 weeks ago [\#69299](#69299) by [unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")  Replied by *[unclefudgly](/forum/user/1739-unclefudgly "View unclefudgly's Profile")* on topic *[Re: Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#69299 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")*

I'm not sure why, but this is now not working as planned. This how I have implemented the code you gave me and it does work. The problem is if I set the custom field I created to "NO", it still loads the 'show_block_img_zoom' file.
Code:

&lt;?php if($this-&gt;element-&gt;image_zoom){ $this-&gt;setLayout('show_block_img_zoom'); }else{ $this-&gt;setLayout('show_block_img'); } echo $this-&gt;loadTemplate(); ?&gt;

How can I check it is resetting value to "NO"?

many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 3 weeks ago [\#69471](#69471) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Art Zoomin integration](/forum/4-how-to/54778-art-zoomin-integration#69471 "Hi  I am trying to integrate product zoom on the website using the Artetics Module/plugin. So far the only way I can get it to work at all, is to delete my custom product/show.php and use the one supplied by Artetics. If I do this, and try to restyle my product page the way I did previously, I cannot as the product/show.php in version 1.5.8 is nothing like that in 1.5.4 ( my customized version).  How can I edit my product page again? Which file do I need to edit to rearrange my product page the way I like it?  Thanks")*

That's simple. In the values of your custom field, instead of leaving the "value" of the "no" choice empty, you must have written "no" into it. So the check I gave must return always true.
You can change the line:
if($this-&gt;element-&gt;image_zoom){

to:
if($this-&gt;element-&gt;image_zoom=='yes'){

so that if "no" is selected that it doesn't match.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU0Nzc4LWFydC16b29taW4taW50ZWdyYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
