Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Put A Table With Mysql Data In Product Page Rate Topic   - - - - -

 
  • lolo212
  • Advanced Member
  • Members
  • Join Date: 07-Aug 12
  • 70 posts

Posted 29 August 2016 - 08:08 AM #1

Hi, is there any way to put a table with MySQL data in product page in versions 4.*.*? Thanks in advance! :)


albahurt.pl - wholesale distribution of promotional clothing - t-shirts, sweatshirts, polos...


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19775 posts

Posted 29 August 2016 - 08:20 AM #2

Hi, is there any way to put a table with MySQL data in product page in versions 4.*.*? Thanks in advance! :)

 

Very bad solution from my point of view, but it should work

{$data = "SELECT * FROM ?:table_name"|db_get_array}
<table>
{foreach from=$data item=d}
<tr>
    {foreach from=$d item=value}
        <td>{$value}</td>
    {/foreach}
</tr>
{/foreach}
</table>

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • lolo212
  • Advanced Member
  • Members
  • Join Date: 07-Aug 12
  • 70 posts

Posted 29 August 2016 - 12:53 PM #3

Is there any better way? Could you make an addon? Of course I would pay for that.


albahurt.pl - wholesale distribution of promotional clothing - t-shirts, sweatshirts, polos...


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19775 posts

Posted 29 August 2016 - 02:24 PM #4

Is there any better way? Could you make an addon? Of course I would pay for that.

 

Sure, we can create module using CS-Cart standards. Feel free to contact us


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.