Jump to content

Ecopa

Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • First Name
    Martin
  • Last Name
    Hansen

Ecopa's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Har skrevet en lille smule med Kjeld om det via mail, men vi har endnu ikke fået det til at virke på nogen måde. Han kunne fortælle at prestashop som sådan ikke kan trække produkter/varenumre over fra e-conomic med deres tilknyttede varebeholdning, så det ret øv. Jeg har dog besluttet at vente med at gøre mere indtil vores shop går live - og rykker over på det endelige domæne, som vi stadig venter på bliver sat op fra en 3. part - og der begynder at komme ordre ind. - Martin
  2. Thx Nemo, Though - I exported -> imported the database again and it seemed to work now without doing further :-s On another note, can i change the prefix used in the database easily? Looks kinda non-pro to have it at "pstest" now when we are out of testing and on a seperate database. Best regards
  3. Hey We are about to launch our testshop - testshop.one-k.dk - and doing so i was advised by our hosting service that the webshop should be on a seperate database. During development and testing we used the same as the existing webshop, just used another prefix - pstest. I now exported -> imported all the pstest files to the new database along with the "_PREFIX_loffc_block" ones that was present in the old database. I switched database by changing database name in settings.inc.php in config folder - only change was the database name as the provider, user and password is the same. All good i thought, but i get an error along with an grafical error when i go to the log-in page. See attached file. the error code is: Warning: Invalid argument suppiled for foreach() in /var/www....../classes/country.php on line 131 And in that file, surrounding line 131 reads: public static function getCountries($id_lang, $active = false, $contain_states = false, $list_states = true) { $countries = array(); $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT cl.*,c.*, cl.`name` country, z.`name` zone FROM `'._DB_PREFIX_.'country` c '.Shop::addSqlAssociation('country', 'c').' LEFT JOIN `'._DB_PREFIX_.'country_lang` cl ON (c.`id_country` = cl.`id_country` AND cl.`id_lang` = '.(int)$id_lang.') LEFT JOIN `'._DB_PREFIX_.'zone` z ON (z.`id_zone` = c.`id_zone`) WHERE 1'.($active ? ' AND c.active = 1' : '').($contain_states ? ' AND c.`contains_states` = '.(int)$contain_states : '').' ORDER BY cl.name ASC'); Line 131: foreach ($result as $row) $countries[$row['id_country']] = $row; if ($list_states) { $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM `'._DB_PREFIX_.'state` ORDER BY `name` ASC'); foreach ($result as $row) if (isset($countries[$row['id_country']]) && $row['active'] == 1) /* Does not keep the state if its country has been disabled and not selected */ $countries[$row['id_country']]['states'][] = $row; } return $countries; So writing this up i kinda realise it must (or not..?) be something to do with the non prefixed pstest files in the new database. What do i need to do with them? I changed back to the old database until the issue is resolved so you cant see the error youself.
  4. Hej Alle. Jeg står og skal til at lancere en webshop som skal sælge vare som allerede er oprettet og lagerført i E-conomic (da det har været brugt og fortsat skal bruges ved engros salg). Mit spørgsmål er om Prestashop kan trække lagerbeholdningen ud af E-conomic - kun 4-5 katagorier ud af mange (disse vare som nu også skal sælges online) - automatisk. Og om de kontinuerligt kan snakke sammen og holde hinanden opdateret? Har været inde i E-conomic og oprette den webhook som står beskrevet i Kjelds manual til e-conomic integrationsmodulet, men synes ikke det giver mig nogen mulighed for at eksportere disse informationer til Prestashop? Eller er det bare mig der er for grøn til E-conomic? Mvh. Martin
  5. I'm troubled with this issue as well. Any one got it resolved yet?
  6. Nope, have already managed to make it non-full width when you load up the page as you see. The issue is now when you scroll the page down, then - when the menu is sticking to the top - becomes full width. We would like it to continue to stick to the top, but not in full width mode, but at the same place as in starting position - eg centered with a width of 1250px (i think it was 1250 i ended up with). Hope i made the issue clear.
  7. When i do this, the top menu moves to the left instead of remaining in the centered position upon scrolling down. Tried both removing the .IsStruck command aswell as giving it the same width in pixels as .stickUpTop :-) Thx for input though.
  8. Hey there. I'm pretty new to Prestashop, and have little coding experience, i have succesfully been able to change background and stuff like that by reading other topics, but even though there is alot of topics regarding the Top Horisontal Menu, i cannot crack how to fix my issue. We bought a theme that is build with a full width - stick on top (when scrolling down) - top menu. We need the stick on top functionality, but we would like it NOT to be full width. I have been able to set it to a certain px width, but then it is placed wrongly to the left - and this is only the case when in its standard position - when scrolling down it changes to full width, stick to top mode. See attached image, representation of how the menu should look, with red boxes being the background.. - eg.: it would be cool if the top menu could be 20px wider than the rest. Link http://testshop.one-k.dk Hope you guys can help.
×
×
  • Create New...