Pages

Monday, May 14, 2012

Australia Post eParcel Integration module with your shopping cart

Interspire Add on:


I have created a module for Australia Post eParcel and Interspire shopping cart API integration for BigCommerce


It returns a csv/excel files in the format required by Australia Post eParcel  to be submitted into their system.


Contact me if you want to discuss the module in detail.

Sunday, April 15, 2012

BigCommerce API SSL error

While using BigCommerce API  if you are getting the below error:


" Fatal error: Uncaught exception 'BigCommerce_Api_NetworkError' with message 'SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL "


This is because by default it checks to verify the SSL certificate used by the BigCommerce store.


Adding the below line of code will disable the check.


BigCommerce_Api::verifyPeer(false);



Monday, March 19, 2012

Can't connect to database in Prestashop

If you are trying to setup database details for Prestashop locally and getting the following error:

"Database server was not found. Please verify the login, password and server fields."

Then try replacing localhost with 127.0.0.1 as hostname. This worked for me.

Tuesday, March 6, 2012

Include file in CakePHP

To include a file in your .ctp files, make the path is given from webroot. So if you have placed your file outside the "app" directory then the path will be set as include("../../file.php");

Monday, March 5, 2012

550 SSL/TLS required on the control channel

When trying to connect through FTP, if you get the following error:

"550 SSL/TLS required on the control channel"

then try adding prefix to the hostname with ftpes://

This worked for me.

Sunday, March 4, 2012

Adding additional product attributes to display in Interspire shopping cart

To add additional product attributes in product details page of Interspire shopping cart we need to add an inteface in admin section to enter those details. I tried the following:

  1. Admin Section: code changes
    1. Open admin/templates/product_form.tpl
    2. Add additional fields attribute in html format as required.
    3. In admin/includes/classes/class.product.php, include the post data for inserting into database and add the fields in database as well.
    4. Search for AddProductStep2
    5. Add entry under lib/entities/entity.product.php
Hope this will work for you.

Thursday, March 1, 2012

Customer Rewards Point Module for Interspire

This is a very interesting feature to bring customers back to your site. I have worked on a rewards point module for Interspire shopping cart.
It works on all the interspire themes and very easy to integrate.


There are 2 sections in the module:


  • Admin Section
    • Assign points to each product
    • Check the status under Orders tab whether orders are paid or customers have redeemed points against their purchase.
    • Admin can also assign loyalty points to users and assign it to their account
    • Admin can also set the minimum points against every order or amount spent.
  • User Section
    • Users can see the points earned in their My Account section
    • Users can redeem points against products


Contact me if you want to know the module in detail.

Sunday, February 19, 2012

Cannot modify header information - headers already sent error

This error ususally comes when we are working with session,cookies,redirects. If you are getting this error then try to follow the below steps to resolve:
  • Session should be started at the begining of the script and it should be written at the very first line.
  • There should not be any white spaces before session_start();
  • If you are using any MVC framework then make sure there are no whitespaces in controller files after the class is closed (after the close php tag " ?> " tag).

Wednesday, February 15, 2012

Popular open source shopping carts

Paid Version

  • Interspire
  • Magento
  • X-Cart
  • Free Version
  • ZenCart
  • Oscommerce
  • VirtueMart
  • UberCart
  • WordPress Ecommerce
  • Magento
  • PrestaShop
  • Wednesday, February 8, 2012

    Changing the cart quantity in Interspire Shopping Cart

    The Cart "quantity" dropdown when changed to textbox allows only 2 digits that can be entered. To change this I tried the following:

    1. Open the template folder that is being used. You can check in "Store Design" section of Admin about the template that you are using.
    2. Go to Snippets and open  CartItemQtyText.html file.
    3. Search for "maxlength=" and change the number or remove it.
    4. Save the changes made.
    Please note that the above steps has to be repeated when another template is used.