Jump to content

stimpy

Members
  • Posts

    45
  • Joined

  • Last visited

Profile Information

  • Activity
    Project Owner

stimpy's Achievements

Newbie

Newbie (1/14)

6

Reputation

  1. Dan ben je vermoedelijk de aanpassingen vergeten in controllers/admin/AdminAdressesController.php Kijk deze voor de zekerheid nog even na.
  2. Kijk even bij winkelachterkant vertalingen -> AdminAdresses vertaal Address (Line 2) door: Nummer / Bus
  3. Om tijdens de registratie en het opgeven van het adres het huisnummer verplicht te maken + weergeven in het beheergedeelte: verander in classes/address.php 'address2' => array('type' => self::TYPE_STRING, 'validate' => 'isAddress', 'size' => 128), door: 'address2' => array('type' => self::TYPE_STRING, 'validate' => 'isAddress', 'required' => true, 'size' => 128), verander in themes/default/address.tpl {if $field_name eq 'address2'} <p class="required text"> <label for="address2">{l s='Address (Line 2)'} </label> <input type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2}{/if}{/if}" /> </p> {/if} door: {if $field_name eq 'address2'} <p class="required text"> <label for="address2">{l s='Address (Line 2)'} <sup>*</sup></label> <input type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2}{/if}{/if}" /> </p> {/if} verander in themes/default/authentication.tpl {elseif $field_name eq "address1"} <p class="required text"> <label for="address1">{l s='Address'} <sup>*</sup></label> <input type="text" class="text" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" /> <span class="inline-infos">{l s='Street address, P.O. box, company name, c/o'}</span> </p> {elseif $field_name eq "address2"} <p class="text"> <label for="address2">{l s='Address (Line 2)'}</label> <input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" /> <span class="inline-infos">{l s='Apartment, suite, unit, building, floor, etc.'}</span> </p> door: {elseif $field_name eq "address1"} <p class="required text"> <label for="address1">{l s='Address'} <sup>*</sup></label> <input type="text" class="text" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" /> <!-- <span class="inline-infos">{l s='Street address, P.O. box, company name, c/o'}</span> --> </p> {elseif $field_name eq "address2"} <p class="required text"> <label for="address2">{l s='Address (Line 2)'} <sup>*</sup></label> <input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" /> <!-- <span class="inline-infos">{l s='Apartment, suite, unit, building, floor, etc.'}</span> --> </p> verander in controllers/admin/AdminAdressesController.php $this->fields_list = array( 'id_address' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), 'firstname' => array('title' => $this->l('First name'), 'width' => 120, 'filter_key' => 'a!firstname'), 'lastname' => array('title' => $this->l('Last name'), 'width' => 140, 'filter_key' => 'a!lastname'), 'address1' => array('title' => $this->l('Address')), 'postcode' => array('title' => $this->l('Postal Code/Zip Code'), 'align' => 'right', 'width' => 80), 'city' => array('title' => $this->l('City'), 'width' => 150), 'country' => array('title' => $this->l('Country'), 'width' => 100, 'type' => 'select', 'list' => $this->countries_array, 'filter_key' => 'cl!id_country')); door: $this->fields_list = array( 'id_address' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), 'firstname' => array('title' => $this->l('First name'), 'width' => 120, 'filter_key' => 'a!firstname'), 'lastname' => array('title' => $this->l('Last name'), 'width' => 140, 'filter_key' => 'a!lastname'), 'address1' => array('title' => $this->l('Address')), 'address2' => array('title' => $this->l('Address (Line 2)'), 'width' => 50), 'postcode' => array('title' => $this->l('Postal Code/Zip Code'), 'align' => 'right', 'width' => 80), 'city' => array('title' => $this->l('City'), 'width' => 150), 'country' => array('title' => $this->l('Country'), 'width' => 100, 'type' => 'select', 'list' => $this->countries_array, 'filter_key' => 'cl!id_country')); else if ($addr_field_item == 'address2') { $temp_fields[] = array( 'type' => 'text', 'label' => $this->l('Address').' (2)', 'name' => 'address2', 'size' => 33, 'required' => false, ); } door: else if ($addr_field_item == 'address2') { $temp_fields[] = array( 'type' => 'text', 'label' => $this->l('Address (Line 2)'), 'name' => 'address2', 'size' => 33, 'required' => true, ); } in de winkel vertalingen: winkel vertalingen -> address en authentication adres veranderen in: straat adres (lijn 2) veranderen in: nummer / bus winkelachterkant vertalingen -> adminaddress Address 1 veranderen in: Straat Address (Line 2) veranderen in: Nummer / Bus veldnaam vertalingen -> address adres 1 veranderen in: straat adres 2 veranderen in: nummer / bus
  4. Hey guys, Mijn leverancier dropt dagelijks een up-to-date productbestand op mijn server. (+/- 8500 producten) Nu is het de bedoeling dat dit bestand na de nodige aanpassingen te maken, in PS wordt geïmporteerd. Met het importeren zelf heb ik wel enige ervaring. Maar niet met het automatiseren ervan. Mijn vraag is hoe ga ik hierbij best te werk? Het .csv bestand online aanpassen (command-line) Het .csv bestand lokaal aanpassen (macro's maken in open office) Verder zit ik nog met enkele vraagtekens hoe eea technisch op te lossen: Stel:ik voeg aan product A nog enkele extra gegevens toe. De volgende dag staat er een nieuw databestand klaar op onze server. Wanneer ik dit bestand importeer in PS, dan ben ik de extra gegevens die ik zelf heb toegevoegd weer kwijt. Hoe is dit op te lossen? Alle info is welkom! Bedankt om even mee te denken.
  5. Ik heb hiervoor adres regel 2 omgevormd tot huisnummer (en deze ook verplicht in te vullen gemaakt). Vrij simpele oplossing en kost geen geld ;-)
  6. I'm not sure, never tried this myself. I would say, make a test csv with a few lines of data and test it.
  7. There's no need to replace de comma with another character! just make sure, you remove the last comma. ex.: feature1:featurevalue1,feature2:featurevalue2, generates an error When removing the last comma it will not. ex.: feature1:featurevalue1,feature2:featurevalue2
  8. Hi, I know you will run into trouble if you use special characters in the csv imort. Does anyone know which characters I should avoid? The only one I know is + All help appreciated!
  9. I compared both files, my authentication.tpl and the original one. Seems to be no differences between them.
  10. Ik heb in mijn shop 2 landen ingeschakeld (Nederland en België). Bij het registreren van een nieuwe klant staat het standaard land (Belgium) niet geselecteerd, maar staat dit op Netherlands. Wordt dit ergens in de vertalingen hard coded? In de database zie ik dat België standaard is, maar toch wordt Nederland als eerste weergegeven...
  11. Hi, I only have 2 countries enabled in my shop. Belgium (which is the default country) and the Netherlands. The database shows that Belgium in fact is default. (country ID 3 = Belgium) PS_COUNTRY_DEFAULT 3 On a customer registration the pre-selected country is Netherlands. Is there any way to change this to Belgium? Can't find any reference of Netherlands in the database which I could change to Belgium... Kind regards
  12. On the homepage the header is messed up when CCC for CSS is enabled The category pages are a total mess when CCC for CSS is enabled
  13. The product list misses some CSS in IE9. This problem is not fixed by disabling CCC for CSS
  14. When I enable CCC for CSS it brakes the layout of the standard theme in IE9. When disabling CCC for CSS the header looks fine again, only the product listing misses some CSS I guess. For speed issues I rather have CCC for CSS enabled. Earlier I had to remove this line from homefeatured.css also for css problems with the homefeatured module: filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476); /* IE6,IE7 */ Seems to be a lot of CSS problems with the standard theme in IE9 ! All help appreciated!
  15. You're right! Since I run apache as a FastCGI application my folders are on 755 and the files on 644. I'm happy now :-D
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More