Wednesday, August 6, 2014

How to use "Exchange rate" in shop pages

Exchange rates are just numbers which you can use in calculaton. They are not altrnative currency prices. 
The main indea of this section is to define the ratio of each exchange rate, and use it globally among the given shop subpages, thus saving time in replacing values for exchange rates on a daly basis.

  • Create exchange rates macros:
  1.  Go to shop online admin page and click on "SETTINGS" navigation tab.
  2.  Click on "exchange rate" button.
  3.  In Exchange Rate Options table you can add currencies with rates. You can only use lowercase characters and underscore for the currency name and floating point  numbers or whole numbers for the rate.
  4.  When finished adding currencies with rates click on "Save" button and now you have macros currencies in your database. Those currencies are available only for current shop page.
  • Use exchange rates in shop page (img.1):
  1. Open you project in Ezgenerator and go to the shop page for which you create Exchange Rates (currencies macros).
  2. Click on "categories", for example.
  3. in "CART" you can type: %EVAL(%your_currency_name%<*>%SHOP_TOTAL%)%  or other formula
  4. Publish your changes.
  5. In the end eval function multiplies current SHOP_TOTAL by your exchange rate.

posted by nikolay  06.08.14 10:29 AM  tags: • macros • tutorial • shop • settings 


0 0

Friday, June 20, 2014

Shop Features - Compare Products

With Shop Product Features you can specify unique features for each product category. Same features can be used in different categories.

For example, you have 2 categories of products:


1. mobile phones with features : OS, Memory, Connectivity, Display Size, Battery

2. monitors with features : Display Size, 3D, HD


when defined, you can specify feature settings for each product

product features are displayed on product page as list (use %FEATURES% macro to display features on page)

user can add features to "compare products list" (use %COMPARE_ADD% macro)

and compare products (use %COMPARE% to display list of products added to compare list)




posted by miro  20.06.14 07:26 PM  tags:


0 0

Thursday, October 31, 2013

Handling Credit Cards in shop

First and foremost the site needs to have a SSL Certificate installed, you can purchase one from many hosting services. Install it in root of website, hosting company usually will help you install it through their control panel.


- Add a Shop as you would normally.

- In shop settings click "SSL on Checkout"

- Click on shop and click on checkout page in the right side panel:

   Add fields below to form

   1. Payment Type: (dropdown with accepted credit cards, Visa, MasterCard etc..)

   2. Credit Card Number

   3. Expiration Date: Month and Year

   4. Security code: CSC

  Add a hidden field before checkout or submit payment button called ec_PaymentMethod, value = bankwire


- You may have a PayPal button as well, if you are not using PayPal in addition to Credit Cards, then you can delete it.


If you have an edit area on the side you can place the script below to show categories in secure mode using insert html.

for example (wherever your shop is located)

<script src=""></script>


Then go ahead and make visual changes to shop pages as you see fit.

I have a test credit card sample shop that you can use as a template. Fill in your shop email and make visual changes to cart and then add your upload settings.

posted by miro  31.10.13 02:07 PM  tags: • creditcard • ssl • checkout 


0 0

Saturday, October 12, 2013

Tweaking Shop/Catalog Rss

available rss feed parameters:



fieldname of image field used for rss items (default is image1)

example:   shop.php?action=rss&rss_image=image2



fieldname of enclosure field used for rss items (default is none)

example:   shop.php?action=rss&enclosure=image3

enclosure field can be any field containing images or audio/video content



if rss is used as input for Google Merchant Center

example:   shop.php?action=rss&type=googlebase



specify p=0 to do hide price

example:   shop.php?action=rss&p=0



specify b=0 to hide buy button

example:   shop.php?action=rss&b=0





posted by miro  12.10.13 11:51 PM  tags: • shop • rss 


5 1

Tuesday, June 26, 2012

Using custom buy button image

you can use your own buy button image in shop:


1. insert follwing macros on page :






2. place any image (you can also use button factory to insert button) between this macros


adding buy button



posted by miro  26.06.12 09:18 AM  tags: • shop • cart 


5 1

Friday, June 8, 2012


Coupons are items, that shop administrators can create and provide to customers (for some reasons). Using this item, the customer receives discount for the current order. Cuponst are NOT assigned to products or the cart. They can be used on any cart that matches the requirements, the coupon has. Consider them as extra item, added to the shopping cart that reduces the total price.


To use the coupons in Your shop, You have to do follow these two steps:


  1.  Add the coupon macro on the cart page of the shop;

  1.  Define the coupons that will be used in the shop online administration


Information about the fields in the coupon settings page:

ID - something like a label or name. You define the coupon and this is what users fill out when they have it. 
Order Minimum - The minimum amount the order has to be. If order amount is below this number, coupon cannot be used.
Order Limit - How many times you can use this coupon (0 means no limit)
Order Count - How many times coupon is used. It can be edited (if problem occurs or something else). 

(Note: Order count field may not be there)
Valid From - To - (the start/end the coupon can be used).

posted by atanas  08.06.12 02:16 PM  tags: • shop • coupons 


2.7 3

Wednesday, June 6, 2012

Adding shop output on other pages (external shop macros)

there are several macros available to display shop output on other pages :

to add all this macros on other page, use ezgenerator 'insert html' function

1. to display vertical or horizonatl shop category list, add following code :
<script type="text/javascript" src=""></script>


<script type="text/javascript" src=""></script>

2. to display shop minicart, add :

<script type="text/javascript" src=""></script>

notice, minicart has to be also used on shop main or category page

3. to display shop tag cloud, add:

<script type="text/javascript" src=""></script>

4. to display random shop product, add following code:

<script type="text/javascript" src=""></script>

available parameters :
count : number of random products to be displayed
dir:   dir=h (products will be displayed horizontaly)
root:    specify root=1  if  destination page is in website root
file: path to file with random macro template (you have to use this parameter if you don't have random macro included on shop main page)

--> create extra page in your project (you can made this page hidden in menu) and copy random macro to this page, then use page relative path as file parameter

example of random macro in this file :

random macro

notice: random macro has to be also used on shop main or category page

example page with external shop macros


posted by miro  06.06.12 08:55 AM  tags: • external • shop • macros • random 


5 1

Thursday, May 24, 2012

Handling US/Canada Taxes in Shop

By default, shop in EzGenerator works with Taxes Included in price of products.

To display prices without Taxes, go to shop settings and enable 'VAT EXC MODE' and 'Tax Handling' options:

tax options


in payment settings, make sure tax is included in payment settings :


payment settings




do upload and login into shop online administration, taxes tab and use "Add CA taxes" button to add tax values for Canada and/or "Add Tax Line" to add US taxes


tax tab



on tax line use abbreviations --> US (for United States)   CA (for CANADA)

you can find US states abbreviations here


when ready, all prices in shop will be without taxes and tax will be calculated on checkout page (when custommer select country and state)

you can use following macros on cart page to display vat and prices :


taxes macros



or, to make it easier : add new shop page and select : paypal_IPN_ex_vat page layout preset...




posted by miro  24.05.12 09:06 AM  tags: • shop • taxes 


3 1

Tuesday, April 3, 2012

Protecting Shop Checkout

By default ezg shop page  is open, everyone can use it without registering.

If you want to get users to register (log-in) on checkout follow this steps:


posted by miro  03.04.12 09:39 PM  tags: • shop • check-out 


5 2

Friday, February 10, 2012

How to add and use shop custom fields

To use add custom fields to the shop products data, follow these steps:

  1. Open the shop page settings
  2. Open the Data dialog
  3. Edit the fields
  4. Confirm the changes

    Data management steps

  5. Open the page where the changes should be visible.
  6. Open the macros fields dialog

  7. Select the new fields from the macros list
  8. Place the macros to the desired place

  9. Upload your project changes
  10. Go to the shop Online Administration

  11. Go to the "settings" section

  12. Click on "Update database" button

  13. Modify the products (or add new ones)

Note: User input field does not have corresponding field in the products management section (as this is something users fill, not the shop moderator).

posted by atanas  10.02.12 11:27 AM  tags: • shop • catalog • customize • fields 


5 1

Saturday, January 14, 2012

PayPal Order Processing Problems

Order Pending Reason parameters :



You do not have a balance in the currency sent, and you do not have your Payment Receiving Preferences set to automatically convert and accept this payment. You must manually accept or deny this payment.



You set the payment action to Order and have not yet captured funds.



The payment is pending while it is being reviewed by PayPal for risk.



The payment is pending because it was made to an email address that is not yet registered or confirmed.



The payment is pending because it was made via credit card and you must upgrade your account to Business or Premier status in order to receive the funds.upgrade can also mean that you have reached the monthly limit for transactions on your account.



The payment is pending because you are not yet verified. You must verify your account before you can accept this payment.



The payment is pending for a reason other than those listed above. For more information, contact PayPal Customer Service.



posted by miro  14.01.12 11:06 PM  tags: • paypal • errors 


0 0

Tuesday, September 20, 2011

Ogone Configuration


To Use Ogone as payment provide in shop: 

a. add new page and select layout "shop_ogone"

b. create Ogone account (on Ogone website)

c. Configure following options in Ogone account



in 1. use url of your shop page with ?action=checkout at the end

in 2. SHA-IN : define password phrase here, you will also need it inside ezgenerator payment settings (see below)



in 3. use url of your shop page with ?action=return at the end

enable option 3. and 4.

in 6. SHA-OUT : define password phrase here, you will also need it inside ezgenerator payment settings (see below)


c.) inside EZGenerator, shop page settings, payment tab define following parameters



ID : your Ogone account ID

SHA-IN,SHA-OUT:  password phrases you defined inside Ogone



posted by miro  20.09.11 01:53 PM  tags: • ogone • e-commerce 


0 0

Monday, September 5, 2011

How to display Blog/Shop category links on other pages in website

 use this code to add text links for shop/blog/photoblog categories on different page or editable area (even for pages in different project)


use insert html and following code :


for vertical list:

 < script type="text/javascript" src="../shop/shop.php?category_vlist">< /script >


for horizontal list:

 < script type="text/javascript" src="../shop/shop.php?category_hlist">< /script>


style of links can be tweaked by adding extra css to page :

for example

.ver_cat_list a{font:11px verdana;color: #c0c0c0;}


.hor_cat_list a{font:11px verdana;color: #c0c0c0;}


posted by miro  05.09.11 10:47 AM  tags: • categories • link • shop • catalog 


3.5 2

Thursday, October 14, 2010

Linking Shops

multiple shops can be linked to single products database

in this example SHOPA is main shop with source products database and SHOPB is linked shop (will use products database from SHOPA). Also we will create new price field in SHOPA to use different prices for same products in SHOPB (this is not required, both shops can also use same prices)


follow this steps to link SHOPB to SHOPA:


1. Make sure both shops are on same directory level (either both in ---root--  or both in 2nd level folders)

2. in SHOPA, go to shop settings, data and add new field of type 'price', (in this example we will give it name price2)

3. in SHOPB, go to shop settings, settings and define LINKED ID property, Linked ID is internal Ezgenerator page ID of SHOPA, you can find this id on status bar:


status bar


4. to use price field, set 'Linked Price Field' to 'price2' (name of field we created in step 1), also you will have to replace all %price% macros on pages of SHOPB with macro %price2%


5. do upload and login to SHOPA first (to apply database changes), then to SHOPB




how things works:

both shops use their own databases for orders/settings, but share products database from SHOPA

some things you have to know:

- all shop settings defined inside EzGenerator and in online administration are not shared between SHOPA and SHOPB (except for data)

- if you visit administration panel of SHOPB, you actually edit products from SHOPA

- stock information is shared between SHOPA and SHOPB



since version you can limit products/items in shopB by using "limit by" option:


1. in SHOPA define new field (let's call it : "linked") of type boolean

2. in SHOPA set for all products which you want to use in SHOPB, value for field "linked" to TRUE (or YES)

3. in SHOPB settings select "linked" as "limit by" option











posted by miro  14.10.10 09:30 AM  tags: • e-commerce 


3.8 4



How to use "Exchange rate" in shop pages

-Wednesday, August 6, 2014

Shop Features - Compare Products

-Friday, June 20, 2014

Handling Credit Cards in shop

-Thursday, October 31, 2013

Tweaking Shop/Catalog Rss

-Saturday, October 12, 2013

Using custom buy button image

-Tuesday, June 26, 2012