Jump to content

wayne_f

Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Location
    Whidbey Island Washington USA
  • First Name
    Wayne
  • Last Name
    Furber
  • Activity
    Agency

Recent Profile Visitors

215 profile views

wayne_f's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. 1. Make sure your tracking code is being placed in the correct spot Use your file manager (or via FTP) open the header.tpl file in the directory /themes/[yourtheme]/ The Google analytics tracking code should go just before the </head> tag in the header.tpl file. 2. Surround your tracking code with the {literal} tags PrestaShop uses the Smarty engine, and Smarty will try to interpret the curly brackets in your Google Analytics tracking code, resulting in an error. All you need to do is surround your tracking code with {literal} {/literal} like the example below, and that’s it. You’re done! {literal} <script> (function(i,s,o,g,r,a,m)... . . . </script> {/literal} This is courtesy of purely.space
  2. I Agree with Simonas Invertus We also upload the special file that Google gives into main directory of the site. I neglected to mention that was also our preferred method Thanks Simonas
  3. Get your site working on Google Search Console Verify your site ownership Follow the instructions from the link below https://support.google.com/webmasters/answer/35179?hl=en
  4. I am going to list the steps to follow to allow you to see the site while it is in Maintenance mode. 1. Get the Public IP for your desktop computer https://www.google.com/?gws_rd=ssl#q=what+is+my+ip 2. Login to stores https://www.MyStoresName.com/XXXXadmin/index.php 3. Under Preferences / Maintenance Maintenance IP add your Public IP 4. Set Enable Shop NO 5. You should be able to see your store while others can not http://www.MyStoresName.com 6. If you want to see what others see when you store is in Maintenance mode try removing your Public IP Address from step 3
  5. Could you give some more information on the code and process you are using. Are you to checking the website from google or google from the website? You can use Google Chrome with the Tag Assistant located in the upper right menu bar. Tag assistant will help you verify tags and pages
  6. I would speak to the person who created the Theme They should have included small_default2x in preferences ->images with the install I also agree that Tweb in that you should try replacing the image for that product then check the folder/directory permissions Using the replace command should not be needed and will most likely cause you problems down the road.
  7. Have you cleared the PrestaShop cache? Go to - Advanced Parameters / Performance the clear cache button is on the top right If you have changed the images it may be trying to display the non existent previous one. Also be sure that your phone's cache is clear. I like to turn off my cache in Desktop Firefox and using the developer's tools to view my sites in responsive mode. This way if you replicate the problem on different devices it will help you track down the actual problem. W-
  8. After Upgrading from PrestaShop 1.6.1.0 > 1.6.1.2 Running PHP 5.2.17 Upgrade appeared to work great Warning: parse_url(/login?back=https://My_Site.com/order?step=1) [function.parse-url]: Unable to parse URL in /classes/Dispatcher.php on line 757 Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /controllers/front/AuthController.php on line 364 I have tried an uninstall of module_newsletter referenced on line 364 cleared cache tried with and without module installed No change I performed the same upgrade process on my test server PHP 5.3.3 and have had no issues. Downloaded all the files and used the Same Database records, and it still works. is there a deprecated feature ??
  9. If you have some basic MySQL Query experience the following will sort selected Attribute groups by name and assign a new position Value. Read the comments carefully and as always backup you data ************** # I am using 2 Temporay Tables the next two commands test and drop the tables if they exist in the database # I have found that making temporary tables allows me to breakup the steps for easier testing of each step. DROP TABLE IF EXISTS tmp_Attribute_Color_Sorted ; DROP TABLE IF EXISTS tmp_Attribute_Color_Sorted_With_Position ; # Here I create a temporay table with the selected attribute group and sort them in name ascending order in this case I am only using one language # Change the select statment to limit the group or language you want to select CREATE TEMPORARY TABLE IF NOT EXISTS tmp_Attribute_Color_Sorted AS (Select ps_attribute.id_attribute, ps_attribute_lang.name, ps_attribute.position From ps_attribute Inner Join ps_attribute_lang On ps_attribute_lang.id_attribute = ps_attribute.id_attribute Inner Join ps_attribute_group_lang On ps_attribute_group_lang.id_attribute_group = ps_attribute.id_attribute_group Where ps_attribute_group_lang.public_name = 'color' Order By ps_attribute_lang.name ) ; # Here using the above temp table a new temp table is created with the field "New_Positon" added with the incremented value of @a SET @a:=0; CREATE TEMPORARY TABLE IF NOT EXISTS tmp_Attribute_Color_Sorted_With_Position AS ( Select tmp_Attribute_Color_Sorted.id_attribute, tmp_Attribute_Color_Sorted.name, tmp_Attribute_Color_Sorted.position, @a:=@a+1 New_Positon From tmp_Attribute_Color_Sorted Order By tmp_Attribute_Color_Sorted.name ) ; # Now Join the "ps_attribute" table to the tmp table and set the position to the New_Position UPDATE ps_attribute t1 INNER JOIN tmp_Attribute_Color_Sorted_With_Position t2 ON t1.id_attribute = t2.id_attribute SET t1.position = t2.New_Positon WHERE t1.id_attribute = t2.id_attribute ; # This query is only to show me that all the above worked by displaying the "ps_attribute" Select ps_attribute.id_attribute, ps_attribute_lang.name, ps_attribute.position From ps_attribute Inner Join ps_attribute_lang On ps_attribute_lang.id_attribute = ps_attribute.id_attribute Inner Join ps_attribute_group_lang On ps_attribute_group_lang.id_attribute_group = ps_attribute.id_attribute_group Where ps_attribute_group_lang.public_name = 'color' Order By ps_attribute_lang.name
×
×
  • Create New...