Jump to content

Detelin Markov

Members
  • Posts

    137
  • Joined

  • Last visited

Posts posted by Detelin Markov

  1. Hi,

     

    Today i make several changes to make my shop faster but Google Insights still told me:

    Should Fix:
    Reduce server response time

    In our test, your server responded in 3.8 seconds. There are many factors that can slow down your server response time. Please read our recommendations to learn how you can monitor and measure where your server is spending the most time.

     

    Hide details

     

    I talk with my hosting but they told to me: Problem is in your script or cms system is not in our servers.

     

    I research my shop but don`t see from where is this very big delay. Can someone help me?

     

    My shop: bijutaniki.com

    Presta v. 1.5.6.1

    Theme: default with modifications

     

    Now i talk with my hosting for install of memcached but i don`t now where is problem in my shop, why is this server response time, somewhere need to be something wrong? Some js? 

     

    What other information to post?

    Thank you in advance!

    Detelin

  2. Hi everyone,

     

    I try to optimize my shop bijutaniki.com  to load faster. Today i up speed little bit but still loading slowly,,,

     

    I read this article 10 Best Tips to speed up your PrestaShop store tip 5 is interesting, if i use subdomains my site will be load faster and how much faster will be?

     

    How to set up properly sub-domains in prestashop 1.5.6.1?

    In Advanced Parameters -> Performance:

       Media servers (use only with CCC)

     

    When i create sub domains i need to put new information in this fields alright? But in presta 1.5.6.1 have only 3 filed in this tutorial from presta`s blog talking about 4 sub-domains?

    5. Create sub-domains for Javascript files and CSS files

    1. Create a sub-domain js1.mystore.com and ask your hosting provider to direct it to/js/
    2. Create a sub-domain js2.mystore.com and ask your hosting provider to direct it to/theme/mytheme/js/
    3. Create a sub-domain css1.mystore.com and ask your hosting provider to direct it to /css/
    4. Create a sub-domain css2.mystore.com and ask your hosting provider to direct it to /theme/mytheme/css/

     

    These 4 sub-domains will allow your visitors to load more files at the same time. Basically, a web-browser is limited to 8 parallel downloads. Each sub-domain is adding 8 new parallel downloads, so the total would be 40 (Main domain + 4 sub-domains)

    My result in tools.pingdom.com tools.pingdom.com/fpt/#!/bSnQ5V/bijutaniki.com

    bijutaniki.com

    Tested from Amsterdam, Netherlands on March 3 at 22:11:41

    Page size 1.3MB Load time 5.21s Requests 47 Perf. grade 90/100
    Your website is slower than 71% of all tested websites

     

     

    I improve little bit my load time to 5.21s. Now i will talking with my hosting about memcached and i will turn on cache. But i want to use and sub-domains if will loading faster.

     

    If have topic in forum that have tutorial for presta 1.5 give me a link - i don`t find info and star topic.

     

    Thanks in advance.

    Detelin

  3. Hi,

     

    Two day`s i try to show only instant checkout but without success. I read several posts here but not work for me.

     

    I try to change order-opc.js 
     

    $(function() {
    	// GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT
    	if ((!isLogged) || (isGuest))
    	{
    		if (guestCheckoutEnabled && !isLogged)
    		{
    			$('#opc_account_choice').show();
    			$('#opc_account_form, #opc_invoice_address').show(); /* change here to "show" */
    			
    			$('#opc_createAccount').click(function() {
    				$('.is_customer_param').hide(); /* change here to "hide" */
    				$('#opc_account_form').slideDown('slow');
    				$('#is_new_customer').val('1');
    				$('#opc_account_choice, #opc_invoice_address').hide();
    				updateState();
    				updateNeedIDNumber();
    				updateZipCode();
    			});
    			$('#opc_guestCheckout').click(function() {
    				$('.is_customer_param').show();/* change here to "show" */
    				$('#opc_account_form').slideDown('slow');
    				$('#is_new_customer').val('0');
    				$('#opc_account_choice, #opc_invoice_address').hide();
    				$('#new_account_title').html(txtInstantCheckout);
    				$('#submitAccount').prop({id : 'submitGuestAccount', name : 'submitGuestAccount'});
    				updateState();
    				updateNeedIDNumber();
    				updateZipCode();
    			});
    		}
    		else if (isGuest)
    		{
    			$('.is_customer_param').hide();
    			$('#opc_account_form').show('slow');
    			$('#is_new_customer').val('0');
    			$('#opc_account_choice, #opc_invoice_address').hide();
    			$('#new_account_title').html(txtInstantCheckout);
    			updateState();
    			updateNeedIDNumber();
    			updateZipCode();
    		}
    		else
    		{
    			$('#opc_account_choice').hide();
    			$('#is_new_customer').val('1');
    			$('.is_customer_param, #opc_account_form').show();
    			$('#opc_invoice_address').hide();
    			updateState();
    			updateNeedIDNumber();
    			updateZipCode();
    		}
    		
    

    Try to set 

    <div id="opc_new_account-overlay" class="opc-overlay" style="display: block;"></div>
    

    Try to add auto click function for guest checkout - works but then save button not working.

     

    How show only instant checkout without need to clicking on Guest choice button?

     

    You can see my test shop here: test.detelinmarkov.com

    Prestashop v. 1.5.6.2

    Theme: Default but with modifications.

     

    Suggestion?

     

    P.S: I don`t understend why presta don`t have this function by default - Many merchant sell products that ordinary people buy one at year (why they to register?). Is better this buyers to be fan in merchant fb page or recive newsllatter.

  4. Hi,

     

    Two day`s i try to show only instant checkout but without success. I read several posts here but not work for me.

     

    I try to change order-opc.js 
     

    $(function() {
    	// GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT
    	if ((!isLogged) || (isGuest))
    	{
    		if (guestCheckoutEnabled && !isLogged)
    		{
    			$('#opc_account_choice').show();
    			$('#opc_account_form, #opc_invoice_address').show(); /* change here to "show" */
    			
    			$('#opc_createAccount').click(function() {
    				$('.is_customer_param').hide(); /* change here to "hide" */
    				$('#opc_account_form').slideDown('slow');
    				$('#is_new_customer').val('1');
    				$('#opc_account_choice, #opc_invoice_address').hide();
    				updateState();
    				updateNeedIDNumber();
    				updateZipCode();
    			});
    			$('#opc_guestCheckout').click(function() {
    				$('.is_customer_param').show();/* change here to "show" */
    				$('#opc_account_form').slideDown('slow');
    				$('#is_new_customer').val('0');
    				$('#opc_account_choice, #opc_invoice_address').hide();
    				$('#new_account_title').html(txtInstantCheckout);
    				$('#submitAccount').prop({id : 'submitGuestAccount', name : 'submitGuestAccount'});
    				updateState();
    				updateNeedIDNumber();
    				updateZipCode();
    			});
    		}
    		else if (isGuest)
    		{
    			$('.is_customer_param').hide();
    			$('#opc_account_form').show('slow');
    			$('#is_new_customer').val('0');
    			$('#opc_account_choice, #opc_invoice_address').hide();
    			$('#new_account_title').html(txtInstantCheckout);
    			updateState();
    			updateNeedIDNumber();
    			updateZipCode();
    		}
    		else
    		{
    			$('#opc_account_choice').hide();
    			$('#is_new_customer').val('1');
    			$('.is_customer_param, #opc_account_form').show();
    			$('#opc_invoice_address').hide();
    			updateState();
    			updateNeedIDNumber();
    			updateZipCode();
    		}
    		
    

    Try to set 

    <div id="opc_new_account-overlay" class="opc-overlay" style="display: block;"></div>
    

    Try to add auto click function for guest checkout - works but then save button not working.

     

    How show only instant checkout without need to clicking on Guest choice button?

     

    Suggestion?

     

    P.S: I don`t understend why presta don`t have this function by default - Many merchant sell products that ordinary people buy one at year (why they to register?). Is better this buyers to be fan in merchant fb page or recive newsllatter.

  5. Hi,

     

    Today i adapt and change several things in default presta 1.5.6.2 theme / One page checkout.

     

    First i add this to order-opc.js

    $(function() {
    	// GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT
    	if ((!isLogged) || (isGuest))
    	{
    		if (guestCheckoutEnabled && !isLogged)
    		{
    			$('#opc_account_choice').show();
    			$('#opc_account_form, #opc_invoice_address').hide();
    			
    			$('#opc_createAccount').click(function() {
    				$('.is_customer_param').show();
    				$('#opc_account_form').slideDown('slow');
    				$('#is_new_customer').val('1');
    				$('#opc_account_choice, #opc_invoice_address').hide();
    				updateState();
    				updateNeedIDNumber();
    				updateZipCode();
    			});
    			$('#opc_guestCheckout').click(function() {
    				$('.is_customer_param').hide();
    				$('#opc_account_form').slideDown('slow');
    				$('#is_new_customer').val('0');
    				$('#opc_account_choice, #opc_invoice_address').hide();
    				$('#new_account_title').html(txtInstantCheckout);
    				$('#submitAccount').prop({id : 'submitGuestAccount', name : 'submitGuestAccount'});
    				updateState();
    				updateNeedIDNumber();
    				updateZipCode();
            	});     
           	 	$('#opc_guestCheckout').click(); // I'm calling click button automatically      - ADD THIS ROW HERE
            }   
    

    To show only guest checkout - i try other solutions but only this works. After that i change order of steps in order-opc.tpl to:

    </script>
    	{if $productNumber}
    		{if $isLogged AND !$isGuest}
    			{include file="$tpl_dir./order-address.tpl"}
    		{else}
    			<!-- Create account / Guest account / Login block -->
    			{include file="$tpl_dir./order-opc-new-account.tpl"}
    			<!-- END Create account / Guest account / Login block -->
    		{/if}
    		<!-- Carrier -->
    		{include file="$tpl_dir./order-carrier.tpl"}
    		<!-- END Carrier -->
    		<!-- Shopping Cart -->
    		{include file="$tpl_dir./shopping-cart.tpl"}
    		<!-- End Shopping Cart -->
    		<!-- Payment -->
    		{include file="$tpl_dir./order-payment.tpl"}
    		<!-- END Payment -->
    	{else}
    		{capture name=path}{l s='Your shopping cart'}{/capture}
    		{include file="$tpl_dir./breadcrumb.tpl"}
    		<h2>{l s='Your shopping cart'}</h2>
    		<p class="warning">{l s='Your shopping cart is empty.'}</p>
    	{/if}
    {/if}
    
    

    I finaly i remove some fields from new accout form order-opc-new-account.tpl and how this file looks like:

    {capture name=path}{l s='Your shopping cart'}{/capture}
    {include file="$tpl_dir./breadcrumb.tpl"}
    
    <h1 id="cart_title">{l s='Shopping-cart summary'}</h1>
    <div class="cart_products_quantity">
    <li>{l s='Your shopping cart contains:'} <span id="summary_products_quantity">{$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if}</span></li>
    </div>
    <div id="orderinfo">
    	<div id="step1">
    	<h3>Step 1  - Your ID</h3>
    	<p>Here you can order in 4 simple step. In step one write your first, last name and your email in forms in left.</p>
    	</div>
    	<div id="step2">
    	<h3>Step 2 - Where to delivery your order?</h3>
    	<p>Fild place that your want to receve your order. Can be Econt Office or delivery to home or your work place.</p>
    	</div>
    	<div id="step3">
    	<h3>Step 3 - Save your data</h3>
    	<p>After you fild all fiels click on save button to be saved in our data base.</p>
    	</div>
    	<div id="step4">
    	<h3>Step 4 - Select carrier</h3>
    	<p>If you want cheap and faster delivery, select delivery to Econt Office. If you want to receve your order home or on adress that you want, select delivery to address.</p>
    	</div>
    	<div id="step5">
    	<h3>Step 5 - Here is review of or shopping cart</h3>
    	<p>Hare you can change pqs or remove some product. If everything is fine it`s time to send your order!</p>
    	</div>
    	<div id="step6">
    	<h3>Step 6 - Send your order</h3>
    	<p>If you are done with step from 1 to 5 click on button "Send my order" page will be reloaded and you see confimation message for seccessufully send order. Now you can just relaxt and wait to recive your new Jewelry!
    	</p>
    	</div>
    </div>
    <div id="opc_new_account" class="opc-main-block">
    	<div id="opc_new_account-overlay" class="opc-overlay" style="display: none;"></div>
    	<h2><span>1</span> {l s='Account'}</h2>
    	<form action="javascript:;" method="post" id="new_account_form" class="std" autocomplete="on" autofill="on">
    		<fieldset>
    			<h3 id="new_account_title">{l s='New Customer'}</h3>
    			<div id="opc_account_choice">
    				<div class="opc_float">
    					<p class="title_block">{l s='Instant Checkout'}</p>
    					<p>
    						<input type="button" class="exclusive_large" id="opc_guestCheckout" value="{l s='Guest checkout'}" />
    					</p>
    				</div>
    
    				<div class="opc_float">
    					<p class="title_block">{l s='Create your account today and enjoy:'}</p>
    					<ul class="bullet">
    						<li>{l s='Personalized and secure access'}</li>
    						<li>{l s='A fast and easy check out process'}</li>
    						<li>{l s='Separate billing and shipping addresses'}</li>
    					</ul>
    					<p>
    						<input type="button" class="button_large" id="opc_createAccount" value="{l s='Create an account'}" />
    					</p>
    				</div>
    				<div class="clear"></div>
    			</div>
    			<div id="opc_account_form">
    				{$HOOK_CREATE_ACCOUNT_TOP}
    				<script type="text/javascript">
    				// <![CDATA[
    				idSelectedCountry = {if isset($guestInformations) && $guestInformations.id_state}{$guestInformations.id_state|intval}{else}false{/if};
    				{if isset($countries)}
    					{foreach from=$countries item='country'}
    						{if isset($country.states) && $country.contains_states}
    							countries[{$country.id_country|intval}] = new Array();
    							{foreach from=$country.states item='state' name='states'}
    								countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|escape:'htmlall':'UTF-8'}'{rdelim});
    							{/foreach}
    						{/if}
    						{if $country.need_identification_number}
    							countriesNeedIDNumber.push({$country.id_country|intval});
    						{/if}	
    						{if isset($country.need_zip_code)}
    							countriesNeedZipCode[{$country.id_country|intval}] = {$country.need_zip_code};
    						{/if}
    					{/foreach}
    				{/if}
    				//]]>
    				{literal}
    				function vat_number()
    				{
    					if (($('#company').length) && ($('#company').val() != ''))
    						$('#vat_number_block').show();
    					else
    						$('#vat_number_block').hide();
    				}
    				function vat_number_invoice()
    				{
    					if (($('#company_invoice').length) && ($('#company_invoice').val() != ''))
    						$('#vat_number_block_invoice').show();
    					else
    						$('#vat_number_block_invoice').hide();
    				}
    				$(document).ready(function() {
    					$('#company').on('input',function(){
    						vat_number();
    					});
    					$('#company_invoice').on('input',function(){
    						vat_number_invoice();
    					});
    					vat_number();
    					vat_number_invoice();
    					{/literal}
    					$('.id_state option[value={if isset($guestInformations.id_state)}{$guestInformations.id_state|intval}{/if}]').prop('selected', true);
    					$('.id_state_invoice option[value={if isset($guestInformations.id_state_invoice)}{$guestInformations.id_state_invoice|intval}{/if}]').prop('selected', true);
    					{literal}
    				});
    				{/literal}
    				</script>
    				<!-- Error return block -->
    				<div id="opc_account_errors" class="error" style="display:none;"></div>
    				<!-- END Error return block -->
    				<!-- Account -->
    				<div id="guestid">
    				<input type="hidden" id="is_new_customer" name="is_new_customer" value="0" />
    				<input type="hidden" id="opc_id_customer" name="opc_id_customer" value="{if isset($guestInformations) && $guestInformations.id_customer}{$guestInformations.id_customer}{else}0{/if}" />
    				<input type="hidden" id="opc_id_address_delivery" name="opc_id_address_delivery" value="{if isset($guestInformations) && $guestInformations.id_address_delivery}{$guestInformations.id_address_delivery}{else}0{/if}" />
    				<input type="hidden" id="opc_id_address_invoice" name="opc_id_address_invoice" value="{if isset($guestInformations) && $guestInformations.id_address_delivery}{$guestInformations.id_address_delivery}{else}0{/if}" />
    				<p class="required password is_customer_param">
    					<label for="passwd">{l s='Password'} <sup>*</sup></label>
    					<input type="password" class="text" name="passwd" id="passwd" />
    					<span class="form_info">{l s='(five characters min.)'}</span>
    				</p>
    				<p class="required text">
    					<label for="firstname">{l s='First name'} <sup>*</sup></label>
    					<input type="text" class="text" id="customer_firstname" name="customer_firstname" onblur="$('#firstname').val($(this).val());" value="{if isset($guestInformations) && $guestInformations.customer_firstname}{$guestInformations.customer_firstname}{/if}" />
    				</p>
    				<p class="required text">
    					<label for="lastname">{l s='Last name'} <sup>*</sup></label>
    					<input type="text" class="text" id="customer_lastname" name="customer_lastname" onblur="$('#lastname').val($(this).val());" value="{if isset($guestInformations) && $guestInformations.customer_lastname}{$guestInformations.customer_lastname}{/if}" />
    				</p>
    				<p class="required text">
    				<label for="email">{l s='Email'} <sup>*</sup></label>
    				<input type="text" class="text" id="email" name="email" value="{if isset($guestInformations) && $guestInformations.email}{$guestInformations.email}{/if}" />
    				</p>
    				</div>
    				<div id="deliveryinfo">
    				<h3>{l s='Delivery address'}</h3>
    				{$stateExist = false}
    				{$postCodeExist = false}
    				{$dniExist = false}
    				{foreach from=$dlv_all_fields item=field_name}
    				{if $field_name eq "company" && $b2b_enable}
    				<p class="text">
    					<label for="company">{l s='Company'}</label>
    					<input type="text" class="text" id="company" name="company" value="{if isset($guestInformations) && $guestInformations.company}{$guestInformations.company}{/if}" />
    				</p>
    				{elseif $field_name eq "vat_number"}	
    				<div id="vat_number_block" style="display:none;">
    					<p class="text">
    						<label for="vat_number">{l s='VAT number'}</label>
    						<input type="text" class="text" name="vat_number" id="vat_number" value="{if isset($guestInformations) && $guestInformations.vat_number}{$guestInformations.vat_number}{/if}" />
    					</p>
    				</div>
    				{elseif $field_name eq "dni"}
    				{assign var='dniExist' value=true}
    				<p class="text">
    					<label for="dni">{l s='Identification number'}</label>
    					<input type="text" class="text" name="dni" id="dni" value="{if isset($guestInformations) && $guestInformations.dni}{$guestInformations.dni}{/if}" />
    					<span class="form_info">{l s='DNI / NIF / NIE'}</span>
    				</p>
    				{elseif $field_name eq "firstname"}
    				<p class="required text">
    					<label for="firstname">{l s='First name'} <sup>*</sup></label>
    					<input type="text" class="text" id="firstname" name="firstname" value="{if isset($guestInformations) && $guestInformations.firstname}{$guestInformations.firstname}{/if}" />
    				</p>
    				{elseif $field_name eq "lastname"}
    				<p class="required text">
    					<label for="lastname">{l s='Last name'} <sup>*</sup></label>
    					<input type="text" class="text" id="lastname" name="lastname" value="{if isset($guestInformations) && $guestInformations.lastname}{$guestInformations.lastname}{/if}" />
    				</p>
    				<p class="{if isset($one_phone_at_least) && $one_phone_at_least}required {/if}text">
    				<label for="phone_mobile">{l s='Mobile phone'}{if isset($one_phone_at_least) && $one_phone_at_least} <sup>*</sup>{/if}</label>
    				<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($guestInformations) && $guestInformations.phone_mobile}{$guestInformations.phone_mobile}{/if}" />
    				</p>
    				{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($guestInformations) && $guestInformations.address1}{$guestInformations.address1}{/if}" />
    				</p>
    				{elseif $field_name eq "postcode"}
    				{$postCodeExist = true}
    				<p class="required postcode text">
    					<label for="postcode">{l s='Zip / Postal code'} <sup>*</sup></label>
    					<input type="text" class="text" name="postcode" id="postcode" value="{if isset($guestInformations) && $guestInformations.postcode}{$guestInformations.postcode}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
    				</p>
    				{elseif $field_name eq "city"}
    				<p class="required text">
    					<label for="city">{l s='City'} <sup>*</sup></label>
    					<input type="text" class="text" name="city" id="city" value="{if isset($guestInformations) && $guestInformations.city}{$guestInformations.city}{/if}" />
    				</p>
    				{elseif $field_name eq "country" || $field_name eq "Country:name"}
    				<p class="required select">
    					<label for="id_country">{l s='Country'} <sup>*</sup></label>
    					<select name="id_country" id="id_country">
    						{foreach from=$countries item=v}
    						<option value="{$v.id_country}"{if (isset($guestInformations) AND $guestInformations.id_country == $v.id_country) OR (!isset($guestInformations) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
    						{/foreach}
    					</select>
    				</p>
    				{elseif $field_name eq "state" || $field_name eq 'State:name'}
    				{$stateExist = true}
    				<p class="required id_state select" style="display:none;">
    					<label for="id_state">{l s='State'} <sup>*</sup></label>
    					<select name="id_state" id="id_state">
    						<option value="">-</option>
    					</select>
    				</p>
    				{/if}
    				{/foreach}
    				{if !$postCodeExist}
    				<p class="required postcode text hidden">
    					<label for="postcode">{l s='Zip / Postal code'} <sup>*</sup></label>
    					<input type="text" class="text" name="postcode" id="postcode" value="{if isset($guestInformations) && $guestInformations.postcode}{$guestInformations.postcode}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
    				</p>
    				{/if}				
    				{if !$stateExist}
    				<p class="required id_state select hidden">
    					<label for="id_state">{l s='State'} <sup>*</sup></label>
    					<select name="id_state" id="id_state">
    						<option value="">-</option>
    					</select>
    				</p>
    				{/if}
    				{if !$dniExist}
    				<p class="required text dni">
    					<label for="dni">{l s='Identification number'} <sup>*</sup></label>
    					<input type="text" class="text" name="dni" id="dni" value="{if isset($guestInformations) && $guestInformations.dni}{$guestInformations.dni}{/if}" />
    					<span class="form_info">{l s='DNI / NIF / NIE'}</span>
    				</p>
    				{/if}
    				<input type="hidden" name="alias" id="alias" value="{l s='My address'}"/>
    				</div>
    				<div id="opc_invoice_address" class="is_customer_param">
    					{assign var=stateExist value=false}
    					{assign var=postCodeExist value=false}
    					{assign var=dniExist value=false}
    					<h3>{l s='Invoice address'}</h3>
    					{foreach from=$inv_all_fields item=field_name}
    					{if $field_name eq "company" &&  $b2b_enable}
    					<p class="text">
    						<label for="company_invoice">{l s='Company'}</label>
    						<input type="text" class="text" id="company_invoice" name="company_invoice" value="" />
    					</p>
    					{elseif $field_name eq "vat_number"}
    					<div id="vat_number_block_invoice" class="is_customer_param" style="display:none;">
    						<p class="text">
    							<label for="vat_number_invoice">{l s='VAT number'}</label>
    							<input type="text" class="text" id="vat_number_invoice" name="vat_number_invoice" value="" />
    						</p>
    					</div>
    					{elseif $field_name eq "dni"}
    					{assign var='dniExist' value=true}
    					<p class="text">
    						<label for="dni_invoice">{l s='Identification number'}</label>
    						<input type="text" class="text" name="dni_invoice" id="dni_invoice" value="{if isset($guestInformations) && $guestInformations.dni_invoice}{$guestInformations.dni_invoice}{/if}" />
    						<span class="form_info">{l s='DNI / NIF / NIE'}</span>
    					</p>
    					{elseif $field_name eq "firstname"}
    					<p class="required text">
    						<label for="firstname_invoice">{l s='First name'} <sup>*</sup></label>
    						<input type="text" class="text" id="firstname_invoice" name="firstname_invoice" value="{if isset($guestInformations) && $guestInformations.firstname_invoice}{$guestInformations.firstname_invoice}{/if}" />
    					</p>
    					{elseif $field_name eq "lastname"}
    					<p class="required text">
    						<label for="lastname_invoice">{l s='Last name'} <sup>*</sup></label>
    						<input type="text" class="text" id="lastname_invoice" name="lastname_invoice" value="{if isset($guestInformations) && $guestInformations.lastname_invoice}{$guestInformations.lastname_invoice}{/if}" />
    					</p>
    					{elseif $field_name eq "address1"}
    					<p class="required text">
    						<label for="address1_invoice">{l s='Address'} <sup>*</sup></label>
    						<input type="text" class="text" name="address1_invoice" id="address1_invoice" value="{if isset($guestInformations) && $guestInformations.address1_invoice}{$guestInformations.address1_invoice}{/if}" />
    					</p>
    					{elseif $field_name eq "address2"}
    					<p class="text is_customer_param">
    						<label for="address2_invoice">{l s='Address (Line 2)'}</label>
    						<input type="text" class="text" name="address2_invoice" id="address2_invoice" value="{if isset($guestInformations) && $guestInformations.address2_invoice}{$guestInformations.address2_invoice}{/if}" />
    					</p>
    					{elseif $field_name eq "postcode"}
    					{$postCodeExist = true}
    					<p class="required postcode_invoice text">
    						<label for="postcode_invoice">{l s='Zip / Postal Code'} <sup>*</sup></label>
    						<input type="text" class="text" name="postcode_invoice" id="postcode_invoice" value="{if isset($guestInformations) && $guestInformations.postcode_invoice}{$guestInformations.postcode_invoice}{/if}" onkeyup="$('#postcode_invoice').val($('#postcode_invoice').val().toUpperCase());" />
    					</p>
    					{elseif $field_name eq "city"}
    					<p class="required text">
    						<label for="city_invoice">{l s='City'} <sup>*</sup></label>
    						<input type="text" class="text" name="city_invoice" id="city_invoice" value="{if isset($guestInformations) && $guestInformations.city_invoice}{$guestInformations.city_invoice}{/if}" />
    					</p>
    					{elseif $field_name eq "country" || $field_name eq "Country:name"}
    					<p class="required select">
    						<label for="id_country_invoice">{l s='Country'} <sup>*</sup></label>
    						<select name="id_country_invoice" id="id_country_invoice">
    							<option value="">-</option>
    							{foreach from=$countries item=v}
    							<option value="{$v.id_country}"{if (isset($guestInformations) AND $guestInformations.id_country_invoice == $v.id_country) OR (!isset($guestInformations) && $sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
    							{/foreach}
    						</select>
    					</p>
    					{elseif $field_name eq "state" || $field_name eq 'State:name'}
    					{$stateExist = true}
    					<p class="required id_state_invoice select" style="display:none;">
    						<label for="id_state_invoice">{l s='State'} <sup>*</sup></label>
    						<select name="id_state_invoice" id="id_state_invoice">
    							<option value="">-</option>
    						</select>
    					</p>
    					{/if}
    					{/foreach}
    					{if !$postCodeExist}
    					<p class="required postcode_invoice text hidden">
    						<label for="postcode_invoice">{l s='Zip / Postal Code'} <sup>*</sup></label>
    						<input type="text" class="text" name="postcode_invoice" id="postcode_invoice" value="" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
    					</p>
    					{/if}					
    					{if !$stateExist}
    					<p class="required id_state_invoice select hidden">
    						<label for="id_state_invoice">{l s='State'} <sup>*</sup></label>
    						<select name="id_state_invoice" id="id_state_invoice">
    							<option value="">-</option>
    						</select>
    					</p>
    					{/if}
    					{if !$dniExist}
    					<p class="required text dni_invoice">
    						<label for="dni_invoice">{l s='Identification number'} <sup>*</sup></label>
    						<input type="text" class="text" name="dni_invoice" id="dni_invoice" value="{if isset($guestInformations) && $guestInformations.dni_invoice}{$guestInformations.dni_invoice}{/if}" />
    						<span class="form_info">{l s='DNI / NIF / NIE'}</span>
    					</p>
    					{/if}
    					<p class="textarea is_customer_param">
    						<label for="other_invoice">{l s='Additional information'}</label>
    						<textarea name="other_invoice" id="other_invoice" cols="26" rows="3"></textarea>
    					</p>
    					{if isset($one_phone_at_least) && $one_phone_at_least}
    						<p class="inline-infos required is_customer_param">{l s='You must register at least one phone number.'}</p>
    					{/if}					
    					<p class="text is_customer_param">
    						<label for="phone_invoice">{l s='Home phone'}</label>
    						<input type="text" class="text" name="phone_invoice" id="phone_invoice" value="{if isset($guestInformations) && $guestInformations.phone_invoice}{$guestInformations.phone_invoice}{/if}" />
    					</p>
    					<p class="{if isset($one_phone_at_least) && $one_phone_at_least}required {/if}text">
    						<label for="phone_mobile_invoice">{l s='Mobile phone'}{if isset($one_phone_at_least) && $one_phone_at_least} <sup>*</sup>{/if}</label>
    						<input type="text" class="text" name="phone_mobile_invoice" id="phone_mobile_invoice" value="{if isset($guestInformations) && $guestInformations.phone_mobile_invoice}{$guestInformations.phone_mobile_invoice}{/if}" />
    					</p>
    					<input type="hidden" name="alias_invoice" id="alias_invoice" value="{l s='My Invoice address'}" />
    				</div>
    				{$HOOK_CREATE_ACCOUNT_FORM}
    				<p class="submit">
    					<input type="submit" class="exclusive button" name="submitAccount" id="submitAccount" value="{l s='Save'}" />
    				</p>
    				<p style="display: none;" id="opc_account_saved">
    					{l s='Account information saved successfully'}
    				</p>
    				<p class="required opc-required" style="clear: both;">
    					<sup>*</sup>{l s='Required field'}
    				</p>
    				<!-- END Account -->
    			</div>
    		</fieldset>
    	</form>
    	<div class="clear"></div>
    </div>
    
    

    Yes i not right to add other info in this file but i do it. Also change order-opc.css file but whatever. Save button not work. I try it default files but again not work. Can someone find where i wrong?

    I broke code somewhere but where?

     

    You can see it live: http://test.detelinmarkov.com/en/quick-order

    Presta: 1.5.6.2

    Theme: default but with serious modification

     

    Thanks in advance if someone help me.

    Regards,
    /Detelin Markov

  6. Hi generalexperts,

     

     

    I check your site but your are turn   on CCC (Combine, Compress and Cache) and i can`t see your css files but you can try this:

     

    Search and replace this code in your product.css file. In end of my answer you can see what will be your result.

    .product_attributes {
    display: block;
    float: left;
    width: 200px;
    padding: 10px 0 0;
    
    .content_prices {
    display: block;
    float: right;
    width: 200px;
    text-align: right;
    
    #buy_block p {
    padding: 0px;
    

    about print button - can be moved but need to touch product.tpl file you can search #usefull_link_block - i suggest to disable it

    #usefull_link_block {
    display: none;
    list-style-type: none;
    margin-top: 20px;
    

    You have problem with add to cart button in chrome 34 (dev v) you can see what i see in picture below.

    About Yotpo social widget that you use. I use it for one of my project... before time. Try something better. Now i use Get Kudos.me

     

    Regards from Bulgaria,

    /Detelin Markov

    post-335617-0-31181600-1393796335_thumb.png

  7. Hallo!

     

    How is right way to add more tabs in front office - i want to integrate one tab with "Display products of the same category on the product page." module and i want to know how to add other tabs. For integrating Get Cudos or other modules, manifactures and etc.

     

    I want to put everything on product page in tabs, for this purpose i need to learn how is right way to add new tab with my own code for every new tab for front office. I don`t have need to show this tab in backend.

     

    Search for info but i only find several modules for adding tabs and 2 tuts for adding tabs in back office.

     

    Suggestions?

     

    Thank you in advance!

    Regards

    /Detelin

  8. Hi

     

    I use default reinsurance block for showing 5 banners instead default pictures with text for each.

    Working fine but i like to remove last row item margin right. How to do this?

     

    I try several ways to use default module style but without success.

    - When i use only images:

    - When use 4 images - i can use only #reinsurance_block .width4 li {width:245px} other don`t working.

    - When use 5 images - i can use only #reinsurance_block .width5 li {width:188px;} other don`t working.

     

    I use 5 pictures and disable text desc. Show on only pictures and want instead last row item to hew margin right to be 0.

     

     

    Or may be will be easy to use module with my own code (and div style) for everyone picture that i want to show.

     

    Prestashop: 1.5.6.2

    Livesite: test.detelinmarkov.com

     

    Code is:

    reinsurance.tpl

    <div id="reinsurance_block" class="clearfix">
    	<ul class="width"style=">	
    		{foreach from=$infos item=info}
    			<li><img src="{$module_dir}img/{$info.file_name}" alt="{$info.text|escape:html:'UTF-8'}" /> <span>{$info.text|escape:html:'UTF-8'}</span></li>
    		{/foreach}
    	</ul>
    </div>
    <!-- /MODULE Block reinsurance -->
    {/if}
    

    style.css

    /* BLOCK #reinsurance_block ******************************************************************** */
    #reinsurance_block {background:none;}
    #reinsurance_block li {
    	display:inline-block;
    	padding:10px 0px 10px 0px;            /*Top and bottom padding*/
    }
    #reinsurance_block .width1 li {width:1020px} /*This row not working for me*/
    #reinsurance_block .width2 li {width:765px}  /*This row not working for me*/
    #reinsurance_block .width3 li {width:510px}  /*This row not working for me*/
    #reinsurance_block .width4 li {width:245px}  /*This row not working for me*/
    #reinsurance_block .width5 li {width:188px;}/*Here i set images width*/
    #reinsurance_block li{
    	float:left;
    	margin-right: 13px;                  /*Here i set margin-right*/
    }
    #reinsurance_block li span {display:none;}   /*Disable desc*/
    
    

    Look like:

    post-335617-0-30141300-1393537518_thumb.png

     

    Thank you in advance!

  9. I modified a little bit (or may be not so little :D) default 1.5 theme. :)

     

    In fact: I learn how to transform default theme to that you see now from forum and moderators blogs (sites) - your site, nemo`s site and 1-2 others.

     

    Hmmm. I don`t have problems with page load. ( i see you in zopim dashboard before minutes like visitor )

     

    But i have other question. I find solution to get style of my left column. How to put "write text to search ot something in input field". Now is showing on top of field instead in field? Attach picture.

     

     

    ---- I find my own solution. ----

     

    Override blocksearch.tpl (in my theme folder) to:

    <code>

    <!-- Block search module -->

    <div id="search_block_left" class="block exclusive">

    <form method="get" action="{$link->getPageLink('search', true)}" id="searchbox">

    <p>

    <label for="search_query_block">{l s='Enter a product name' mod='blocksearch'}</label>

    <input type="hidden" name="orderby" value="position" />

    <input type="hidden" name="controller" value="search" />

    <input type="hidden" name="orderway" value="desc" />

    <input class="search_query" type="text" id="search_query_block" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />

    <input type="submit" id="search_button" class="button_mini" value="{l s='' mod='blocksearch'}" />

    </p>

    </form>

    </div>

    {include file="$self/blocksearch-instantsearch.tpl"}

    <!-- /Block search module -->

    </code>

     

    and touch little bit blocksearch.css file (in modules/blocksearch)

    <code>

    #search_block_left { /*add this to change width and height of left search block)*/

    display:block;

    height: 60px;

    }

    form#searchbox input#search_query_block{

    /*here copy style from #search_block_top #search_query_top */

    }

    form#searchbox input#search_button{

    /*here copy style from #search_block_left .button */

    }

    </code>

  10. Hi,

     

    Now i try to move search box from top of pages to left column but in left column this box get different style.

     

    I try to add style with #search_block_left  but working only for title and whole module but not for fields and button.

     

    How to add style that already have to transplanted in left column search box module?

     

    You can see it live at: bijutaniki.com (boat: in top and in the left - now i try to add style in left column and then i remove it from top of pages)

     

    And screenshots:

    post-335617-0-60498200-1393326541_thumb.pngpost-335617-0-61650500-1393326895_thumb.png

     

    Presta: 15.6.1

     

    Thanks.

     

    /Detelin Markov

  11. Hi again

     

    About tabs, my logic is (like merchant and little dev.) quick view -> short description. Erase tabs and leave short description. Other way is to show only data sheet when product have it but only there.

     

    Now i install successfully your module to one other test installation. I don`t have a need to install other modules (clap). Working fine in default 1.5.6.1 installation using default template but only in product list!

     

    After test on default theme i go to one theme that i using (in one of my projects bijutaniki.com) and: When theme is modified links not show on. I try to add it now and in product list is show on but working like button, not like text.

     

    I add little css to style with using your class name. Without add css your links associate like button and get style from global.css

     

    Try several times to add but without success. (try to add after price)

     

    I`m not trying to add in new products page.

     

    May be working perfect with default theme, but who use default theme in old list style? Your module use home_default picture and if this picture is with different dimensions of default one is little messy. I use 480x480px home_default picture and you can see what i looking when pop up show on. Thing about that, may be is better users to add new image dimensions that will be used only from this module.

     

    You use a class... Will be better to be more simple like : <span class="quickview">Product Quick View</span>  - Then merchant (dev) more easy will be adding style to this link.

     

    You can see what i test in tz.detelinmarkov.com 

     

    And i attach some screens:

    post-335617-0-34002100-1393169101_thumb.pngpost-335617-0-06028700-1393169114_thumb.pngpost-335617-0-73899700-1393169127_thumb.pngpost-335617-0-84133600-1393169145_thumb.pngpost-335617-0-41410500-1393169161_thumb.png

     

  12. /* block top search */
    #search_block_top {
    	position:absolute;
    	top:44px;
    	left:0;
    }
    #search_block_top p {padding:0;}
    #search_block_top #search_query_top {
    	padding: 0 10px;
    	height: 33px; /*That is height of your search box*/
    	width:250px;/* 310 */ /*Here is width*/
    	border: 4px solid #666; /*4px is border width you can change it*/
    	border-right: 0 !important;
    	color:#666;
    	background:url(img/bg_search_input.png) repeat-x 0 0 #fff;
    	float: left;
    }
    
    #search_block_top .button {
    	border:none;
    	border-radius:0;
    	padding-right: 20px;
    	color:#fff;
    	font-size: 0px;
    	text-transform:uppercase;
    	background: url(http://png-4.findicons.com/files/icons/1389/g5_system/16/toolbar_find.png) no-repeat 5px 8px; /*Here you need to download magnifier icon and upload  in block search img folder afterthat you need to change url in his line to new icon file  something like: url(img/your_icon name.png)*/
    	float: left;
    	border: 4px solid #666666; /*4px is border width you can change it*/
    	border-left: none;
    	height: 41px; /*height of button*/
    }
    
    

    Hi 

     

    www.zappos.com - don`t have magnifier in search box.

     

    Try this css above (change your modules/blocksearch/ css file with css code above) and you will have:

     

    post-335617-0-18476100-1393145011_thumb.png

     

    Regards

    /Detelin Markov

    • Like 1
  13. Hi,

     

    Before hour ago i browsing in orders and when i click again on shop name to go on back office landing page i received error 404 opened in front office!

     

    Every time that i try to log in (i don`t see log in page to!) i received 404 error in my front office!

    Links is http://bijutaniki.com/admina/index.php?controller=AdminLogin&token=efec9365915e7e9b91a766fd50bd641a&redirect=AdminHome but show me front office error.

    post-335617-0-88417000-1393098763_thumb.png

     

    Now i talking with my hosting to make back up but what can be reason to this crash? I try to replaced admin folder files from default (new instalation) but again error after error...

     

     

    I don`t touch anything today in this shop. Just crash it.

     

    AND FRONT OFFICE WORKING FINE, problem is only in back office.

     

    I download my error log from main folder and admin folder - after minutes will back up. If somebody can tell me why is that big crash 

     

    main folder log file: https://drive.google.com/file/d/0B3bbZ04YwAATaE9FUEFFMUhrYU0/edit?usp=sharing

     

    admin folder log file: https://drive.google.com/file/d/0B3bbZ04YwAATT3I1UjU4SC1jaEU/edit?usp=sharing

     

    Log can be useful for developers of presta.

     

    Thanks

     

    ------

     

    AFTER BACK UP:

    Before minutes hosting support make back up and data base back up but prestashop back office again is gone. I don`t know what to do.  How is possible after back up again to don`t function properly?

     

    What to do? To make new instalation and try to import existing products and data base?

     

     

  14. I installed successfully but for this purpose in need to install two other modules (that i don`t use - will be better if users don`t have need to install something that can`t use) whatever. Install wishlist and favorite products and then success install your module. But i don`t see links in home featured, or product list. I make many changes on theme that i tested - try to show everything that is in default template but again no links.

     

    Now i have problems with my hosting and later i will test again latter or tomorrow on new instalation- or will search in your code, code that will call links and i try to inserted in my theme.

     

    P.S: I thinking for tabs...By my opinion they don`t be in this module - or need to be optional feature in both modules (free and full versions) because this module is quick view right? What mean quick view? Most inportant information about product, not whole product page in pop up.

     

    Regards from Bulgaria

    / Detelin 

  15. I will upgrade but without using new front office theme and i will disable several features in back office - bottom bar is very ugly and use space that can be more useful if hide it..

     

    This update will be only colorful new themes and adding god statistics in backend.

     

    Prestamax: About 4777 clicks - This may suggests that consumers have concerns and apparently did not like some things in upcomin version. 

     
    I hope the next release is to pay more attention to the products they are adding and removing - categories, product generator friendly url addresses and many others. See what modules searching merchant and think why they search for it.
  16. God morning

     

    I download and try to test it but... error!

    post-335617-0-57041300-1393053814_thumb.png

    post-335617-0-93662200-1393053839_thumb.png

     

    My test shop using 1.5.6.1

     

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

     

    I look your screenshots and my opinion from there pictures is:

     

    1. If you think free version to have this red line on top of pop up... this make your module unuseful! No one want client to see something info for modules or other core stuff.

     

    2. Product fancy box - this should be disabled - my opinion.

     

    3. pops up to notification for successfully added product in cart - do you test presta 1.6? see how look this pop up there. Your look to small on the big screen. Add product picture and attribution for product, why not more info for cart like: number of product in cart, total cost and shipping cost in this pop up. 

     

    - I personally follow Milosz (mypresta.eu - one of moderators here) tutorial and add bottom bar to notify clients for successfully added product in cart - i like more bar instead pop up windows. You can see for what i talking about in one of my test shop - testzone.detelinmarkov.com

     

    4. Instead this ugly (1) top (red) information in free module: In free module you can include only this feature 

     

     

    • Allows your customers a to view more information about a certian product without having to actually go to the product page.

     

    Other features you can include in pay version of modules:

     

     

    • Product slideshow inside the product quick view.
    • Customers can comment on products easeir from within product quick view.
    • Product tabs inside the product quick view.
    • Nice JQuery UI dialog box popup to notify user that the product has been added to the cart if the user clicks the add to cart button inside the product quick view.

     

    About this "Beautiful and attractive design to help bring in more customers" - You use default presta 1.5 design theme what is so attractive and beautiful? You can make more attractive design that should be included in pay version.

     

    See and test prestashop 1.6 beta to understand me better for critics verdict - presta 1.6 default theme will have quick view and notification pop up windows after successfully added product in cart.

     

    I will stay tuned for fix to test you module and tell more when i can see it working in my test shop. 

     

    Regards

    Detelin Markov

  17. My mistake. Not what -> why

     

    I wait to see it how work and i will try free version.

     

    What will be included in free version and what in paid? (i understand for pop up in free one but we talking in backend pop up windows in module section right?)

     

    I dislike everything that pop up. That`s the reason to show you kershaw knives site. There quick view is very elegant included in product list without pop up function.

     

    "when add to cart button is pressed colorbox disappears and a jquery ui dialog box pops up to notify user that the product has been added to the cart and the cart gets automatically refreshed to show the new products without page reload" that is cool!

     

    100$ for something the will be included in up coming presta 1.6 by default... ?

     

    I will watching your topic and progress.

     

    Regards from Bulgaria

    /Detelin Markov

×
×
  • Create New...

Important Information

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