News:

Looking for documentation? Take a look on our wiki

Main Menu

child products in table - show stock

Started by marvays, January 21, 2019, 14:15:00 PM

Previous topic - Next topic

marvays

Hi all.
I have eshop with child products. I need show this product in table bottom product page.

A few years ago I bought the "catproduct" plugin from http://sm-planet.net. . . today dead.
http://sm-planet.net/index.php?option=com_content&view=article&id=2:catproduct&catid=8&Itemid=110

I have to edit the table to show the availability of the goods. I managed to modify but just for text. Can you advise on how to view the availability image?


if ($parametri["show_stock"] == 1) { echo $currency->showTableField('td','cell_stock',$product['child']['product_availability'], 'data-title="'.JText::_('CATPRODUCT_TABLE_STOCK').'"');}


Studio 42

You should use the same code as the product details
See file /components/com_virtuemart/sublayouts/stockhandle.php

bunglehaze

I have the same issue in that I bought catproduct a few years ago to display child product tables and it is now causing issues to display what I need it to but seems unsupported at best.

Did you find a way to have VM display products as a table in the end? I only need text also but cannot see this already available within VM as a layout option.

Studio 42

I wrote this plugin https://shop.st42.fr/en/products/product-child-variants.htm
I can do a specific layout to display children in a table if you buy the product.

bunglehaze

#4
Quote from: Studio 42 on April 29, 2019, 17:18:14 PM
I wrote this plugin https://shop.st42.fr/en/products/product-child-variants.htm
I can do a specific layout to display children in a table if you buy the product.

Done and paid! I have no real need for images though I assume that keeping the functionality available for other buyers may be worthwhile.

My typical setup is that I offer the parent and child options in the same table so hopefully this is something that you can incorporate. The most important thing for me is that the option is there for a quantity box for each variant so there's no additional page loading to simply tab through each option and pick the variant required with the quantity needed.

How would you like me to contact you for the updated layout?

Leigh

Studio 42

Quote from: bunglehaze on April 30, 2019, 12:22:26 PM
Quote from: Studio 42 on April 29, 2019, 17:18:14 PM
I wrote this plugin https://shop.st42.fr/en/products/product-child-variants.htm
I can do a specific layout to display children in a table if you buy the product.

Done and paid! I have no real need for images though I assume that keeping the functionality available for other buyers may be worthwhile.

My typical setup is that I offer the parent and child options in the same table so hopefully this is something that you can incorporate. The most important thing for me is that the option is there for a quantity box for each variant so there's no additional page loading to simply tab through each option and pick the variant required with the quantity needed.

How would you like me to contact you for the updated layout?

Leigh
Hi,
Use the shop order confirmation email and send request directly, so i know the right user.
Regards,
Patrick