Jump to content

Snixells

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • First Name
    Sebastian
  • Last Name
    Schäfer

Snixells's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks, but I would like to do it on my own because otherwise I wouldn't learn anything!
  2. Hi, I want to access the manufacturer Email to sent them an Email when they sell a product. I already tried $id_product=$product['product_id']; $id_manufacturer= Db::getInstance()->getValue('SELECT `id_manufacturer` FROM `'._DB_PREFIX_.'product` WHERE `id_product` = '.(int)$id_product); $manufacturer_mail=Db::getInstance()->getValue('SELECT `name` FROM `nnw5_manufacturer` WHERE `id_manufacturer` = '.(int)$id_manufacturer); but i gives me the error: Table 'myDatabase.nnw5_manufacturer' doesn't exist. Did they change the location or are there other ways to access the emails ? Thanks for your replies!
  3. First of all i want to thank you guys! But there is a problem with the facturers email. In Your line $manufacturer_mail=Db::getInstance()->getValue('SELECT `name` FROM `nnw5_manufacturer` WHERE `id_manufacturer` = '.(int)$id_manufacturer); I get an error: Table 'myDBTable.nnw5_manufacturer' doesn't exist. Did they change where the Email is stored or did I do anything wrong ?
×
×
  • Create New...