Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
ewoud (Guest)
ewoud (Guest)
I have two questions:
1: is it possible to autogenerate the affiliate code for example by setting the dbase field to autoincrement?
 
2. I wanted to have the block_support (which is available in the basket page also on my FAQ pages. I was told to get the code for this block from basket.php and put it in articles.php. the support block did not show in the available block section in the admin section.
( this is the code I took from basket.php:
} elseif ($setting_name == "support_block") {
include_once("./includes/record.php");
include_once("./messages/".$language_code."/support_messages.php");
include_once("./blocks/block_support.php");
support_block($setting_value);
 
am I missing something here or am I doing something wrong?
 
Natalia
Natalia
Hello,
 
1. Yes, it is possible to add some logic to generate affiliate code automatically but it will require some additional programming.
 
2. To make this block appear, you need to add some changes to admin CMS pages and do the appropriate settings for this block there.
 
With regards,
ViArt Support Team