Pages

Jul 6, 2017

How to Change Domain Name on your PrestaShop using phpMyAdmin

Changing Domain Name on your PrestaShop using phpMyAdmin

Yet another way to change PrestaShop domain is to use phpMyAdmin. Login to your hosting control panel and access phpMyAdmin.
Once you have phpMyAdmin open, select your PrestaShop database.
Select PrestaShop Database
1. Find the table named configuration and click on Browse button.
PrestaShop-changing-domain-using-phpmyadmin
Locate the records for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL and click on Edit button.
PrestaShop-changing-domain-using-phpmyadmin
Replace the old domain name with your new domain name and click on Go button. Please note that you have to replace the old domain name with your new domain name in both PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL records. After that, PrestaShop will be updated with your new domain name.
PrestaShop-changing-domain-using-phpmyadmin
2. When the database is open, scroll down the left side until you see the table labeled "tableinitals_shop_url". Table initials usually default to "ps" but can be changed to something else during the installation process. Click on this table to select and open it. You will see the option to EDIT this table at left.
Click on EDIT and then change the URL entries. Make sure to change both the entries with the appropriate URL. If you aren't sure about the SSL or you are not using it, simply use the same one.

Jul 4, 2017

How to SHow Paypal logo in Prestashop quick order

To solve the missing Paypal logo. in checkout, quick order etc   
Prestahop 1.6 xx   PayPal v3.11.4 
1. Go to CPanel > File Manager > public_html > modules > paypal > logos.xml

2. Right click on logos.xml >edit >  Every occassion of  

<LocalPayPalHorizontalSolutionPP>/views/img/default_logos/default_horizontal.png
<LocalPayPalVerticalSolutionPP>/views/img/default_logos/default_logo.gif

insert >    /modules/paypal     before the word views

example of correct code 

 <LocalPayPalHorizontalSolutionPP> /modules/paypal/views/img/default_logos/default_horizontal.png

<LocalPayPalVerticalSolutionPP>/modules/paypal/views/img/default_logos/default_logo.gif

There are 13  lines that need fixing.

A quick hint is to search for the word views e.g. Ctrl F > insert the word views then insert  /modules/paypal  before the word views.