Tag Archives: shop

Add Wishlist Feature

Wishlist is a web-based feature which allows registered users to add their favourite shop products into wish list.


- to use wishlist, add following macros (on categories/product detail page):

  1. %WISHLIST_LINK% macro, add this anywhere in categories page. User can access his wishlist through this link (when logged and wishlist is not empty).
  2. <ADD_TO_WISHLIST><a class="e_button" href="%URL%">add to wishlist</a></ADD_TO_WISHLIST>
     add this macro insde product body. With this macro user can add products to wishlist. When wishlist is not empty, macro is replaced with message : "You and 2 more customers added to wishlist" or replaced with wishlist link if user is the only one who have same product in his wishlist.
  3. (optional) <REMOVE_FROM_WISHLIST><a class="rvts4" href="%URL%">x</a></REMOVE_FROM_WISHLIST>
     this macro is visible only in wishlist page and is used to remove products from wishlist



Print  posted by miro   Shop/lister tags:  wishlist • shop page   permalink
2.3 3

Adding Published / Unpublished dates to shop products

With  Published / Unpublished dates you can set products which will be published between those two dates ( like promo products ).

To activate this future have to add two shop custom fields:


  1. published_date (field type: datetime )

  2. unpublished_date (field type: datetime )


After Upload your project changes and Click on "Update database" button in shop Online Administration "settings" section you will see 

PUBLISHED_DATE / UNPUBLISHED_DATE row when edit or create new product. (In order to work, "PUBLISHED" checkbox of your product must be enabled).

First date is published date and by default it gets value of the created or updated date of the product.


By default unpublished date is not set so product will not have expired date. To activate unpublished date click on checkbox "unpublish":


Now all you have to do is set proper dates and this product will be published only in this period PUBLISHED_DATE - UNPUBLISHED_DATE.

Print  posted by miro   Shop/lister tags:  published date • unpublished date • shop • promo product   permalink
0 0

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="http://miro.image-line.com/max4_jquery/shop/shop.php?category_vlist"></script>


<script type="text/javascript" src="http://miro.image-line.com/max4_jquery/shop/shop.php?category_hlist"></script>

2. to display shop minicart, add :

<script type="text/javascript" src="http://miro.image-line.com/max4_jquery/shop/shop.php?action=minicartjs"></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="http://miro.image-line.com/max4_jquery/shop/shop.php?action=tagcloud"></script>

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

<script type="text/javascript" src="http://miro.image-line.com/max4_jquery/shop/shop.php?action=random&count=2"></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


Print  posted by miro   Shop/lister tags:  external • shop • macros • random   permalink
5 1


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).

Print  posted by atanas   Shop/lister tags:  shop • coupons   permalink
2.7 3

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...




Print  posted by miro   Shop/lister tags:  shop • taxes   permalink
3 1

[home] [1] 2 3  [next]1-5 of 13