Catproduct plug-in

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jan 08, 2014 1:43 am
Reply with quote
Report this post
Hi,

Has anybody tried catproduct plug-in (http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display/22355) with this template?

The plug-in works fine in the default template, but I couldn't manage to integrate it with the bike store. It doesn't show the child products. Your help is appreciated.

Cheers,
User avatar
Fresh Boarder

teitbite
Wed Jan 08, 2014 4:56 pm
Reply with quote
Report this post
Hi

I'm sorry but I do not know this plugin, but if it's an addon for a product page than please make a small test. Please rename /html/com_virtuemart/productdetails to /html/com_virtuemart/_productdetails and see if this script works than. Let me know, revert the change and show me a direct page with an example.
User avatar
Moderator

GK User
Fri Jan 10, 2014 2:01 am
Reply with quote
Report this post
Hi,

I applied the change and it worked (attached 1).

Just to add more information, once I add a child to a product, and enable this plug-in which is in custom field, I lose the Add to Cart button. And like I said, it doesn't show the child product as well (attached 2).

This is the sample page:
http://gazellebicycles.com.au/_new/inde ... 9aa-detail

Thanks for helping me.

Cheers,
User avatar
Fresh Boarder

teitbite
Sun Jan 12, 2014 5:36 am
Reply with quote
Report this post
Hi

Renaming a folder name to /html/com_virtuemart/_productdetails means that the template override is not used which means that this plugin may not be compatible with this VM version. Please try change template to the joomla default one for tests. If it will work with it than please send me an access to ftp and joomla panel so I'll try to adjust it.
User avatar
Moderator

GK User
Tue Jan 14, 2014 6:20 am
Reply with quote
Report this post
Hi,

Sorry for the delay. Like I said in the first post, plug-in works fine in a Joomla default template (Atomic - attached).

I will send you ftp access information to your email.

Cheers,
User avatar
Fresh Boarder

teitbite
Tue Jan 14, 2014 6:24 pm
Reply with quote
Report this post
Hi

I figured it out :)

Here is what I've done:

1. copied file default_customfields.php from VM default templates of /productdetails to /html/com_virtuemart/productdetails/
2. edited /html/com_virtuemart/productdetails/default.php and added this code at the end of this file

Code: Select all
<?php
    if (!empty($this->product->customfieldsSorted['ontop'])) {
   $this->position = 'ontop';
   echo $this->loadTemplate('customfields');
    } // Product Custom ontop end

    if (!empty($this->product->customfieldsSorted['normal'])) {
   $this->position = 'normal';
   echo $this->loadTemplate('customfields');
    } // Product custom_fields END

    if (!empty($this->product->customfieldsSorted['onbot'])) {
       $this->position='onbot';
       echo $this->loadTemplate('customfields');
    } // Product Custom ontop end
?>


This way an exact part from default VM where this plugin worked is used instead of the template modified one.
User avatar
Moderator

GK User
Wed Jan 15, 2014 1:11 am
Reply with quote
Report this post
Hi,

Thanks a lot. You were very helpful.

Cheers,
User avatar
Fresh Boarder

teitbite
Thu Jan 16, 2014 5:13 am
Reply with quote
Report this post
Hi

I'm glad I could help :)
User avatar
Moderator


cron