Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
3.0.0
  • Loading branch information
PhocaCz committed Oct 24, 2017
1 parent d083e26 commit 9d459df
Show file tree
Hide file tree
Showing 146 changed files with 4,366 additions and 2,175 deletions.
109 changes: 92 additions & 17 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<field name="checkout_desc" type="modal_article" select="true" new="true" edit="true" clear="true" class="inputbox" label="COM_PHOCACART_FIELD_CHECKOUT_DESCRIPTION_LABEL" description="COM_PHOCACART_FIELD_CHECKOUT_DESCRIPTION_DESC" addfieldpath="/administrator/components/com_content/models/fields" />




<field name="phocahead1" type="phocahead" default="COM_PHOCACART_CATEGORIES_VIEW_LABEL" label="" description=""/>


Expand Down Expand Up @@ -72,6 +74,9 @@
-->





<field name="phocahead4" type="phocahead" default="COM_PHOCACART_CATEGORY_AND_ITEMS_VIEW_LABEL" label="" description=""/>


Expand Down Expand Up @@ -108,8 +113,15 @@
<option value="0">COM_PHOCACART_NO</option>
<option value="1">COM_PHOCACART_YES_STANDARD</option>
<option value="4">COM_PHOCACART_YES_STANDARD_ICON_ONLY</option>
<option value="2">COM_PHOCACART_YES_BUY_NOW_PADDLE</option>
<option value="3">COM_PHOCACART_YES_EXTERNAL_LINK</option>
<option value="102">COM_PHOCACART_YES_BUY_NOW_PADDLE</option>
<option value="103">COM_PHOCACART_YES_EXTERNAL_LINK</option>
</field>



<field name="hide_attributes_category" default="1" type="radio" class="btn-group btn-group-yesno" label="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_CATEGORY_LABEL" description="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_CATEGORY_DESC" >
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="item_ordering" type="list" default="1" label="COM_PHOCACART_FIELD_PRODUCT_ORDERING_LABEL" description="COM_PHOCACART_FIELD_PRODUCT_ORDERING_DESC">
Expand Down Expand Up @@ -207,8 +219,13 @@
<option value="0">COM_PHOCACART_NO</option>
<option value="1">COM_PHOCACART_YES_STANDARD</option>
<option value="4">COM_PHOCACART_YES_STANDARD_ICON_ONLY</option>
<option value="2">COM_PHOCACART_YES_BUY_NOW_PADDLE</option>
<option value="3">COM_PHOCACART_YES_EXTERNAL_LINK</option>
<option value="102">COM_PHOCACART_YES_BUY_NOW_PADDLE</option>
<option value="103">COM_PHOCACART_YES_EXTERNAL_LINK</option>
</field>

<field name="hide_attributes_item" default="0" type="radio" class="btn-group btn-group-yesno" label="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_ITEM_LABEL" description="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_ITEM_DESC" >
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="enable_item_navigation" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DISPLAY_NAVIGATION_ITEM_VIEW_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_NAVIGATION_ITEM_VIEW_DESC">
Expand All @@ -223,15 +240,6 @@
<option value="3">COM_PHOCACART_SEARCH_OUTCOME</option>
</field>

<field name="dynamic_change_price" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_PRICE_LABEL" description="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_PRICE_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="dynamic_change_image" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_IMAGE_LABEL" description="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_IMAGE_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="item_askquestion" type="list" default="0" label="COM_PHOCACART_FIELD_ASK_A_QUESTION_BUTTON_ITEM_VIEW_LABEL" description="COM_PHOCACART_FIELD_ASK_A_QUESTION_BUTTON_ITEM_VIEW_DESC">
<option value="1">COM_PHOCACART_YES</option>
Expand Down Expand Up @@ -278,8 +286,15 @@

<field name="zero_shipping_price" type="list" default="1" label="COM_PHOCACART_FIELD_ZERO_SHIPPING_PRICE_LABEL" description="COM_PHOCACART_FIELD_ZERO_SHIPPING_PRICE_DESC">
<option value="1">COM_PHOCACART_DISPLAY_PRICE</option>
<option value="0">COM_PHOCACART_DISPLAY_NOTHING</option>
<option value="2">COM_PHOCACART_DISPLAY_FREE_TEXT</option>
<option value="0">COM_PHOCACART_DISPLAY_BLANK_PRICE_FIELD</option>
</field>

<field name="zero_shipping_price_calculation" type="list" default="0" label="COM_PHOCACART_FIELD_ZERO_SHIPPING_PRICE_CALCULATION_LABEL" description="COM_PHOCACART_FIELD_ZERO_SHIPPING_PRICE_CALCULATION_DESC">
<option value="1">COM_PHOCACART_DISPLAY_PRICE</option>
<option value="2">COM_PHOCACART_DISPLAY_FREE_TEXT</option>
<option value="0">COM_PHOCACART_DISPLAY_BLANK_PRICE_FIELD</option>
<option value="-1">COM_PHOCACART_HIDE_COMPLETELY</option>
</field>

<field name="display_payment_desc" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DISPLAY_PAYMENT_DESCRIPTION_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_PAYMENT_DESCRIPTION_DESC">
Expand All @@ -289,13 +304,20 @@

<field name="zero_payment_price" type="list" default="1" label="COM_PHOCACART_FIELD_ZERO_PAYMENT_PRICE_LABEL" description="COM_PHOCACART_FIELD_ZERO_PAYMENT_PRICE_DESC">
<option value="1">COM_PHOCACART_DISPLAY_PRICE</option>
<option value="0">COM_PHOCACART_DISPLAY_NOTHING</option>
<option value="2">COM_PHOCACART_DISPLAY_FREE_TEXT</option>
<option value="0">COM_PHOCACART_DISPLAY_BLANK_PRICE_FIELD</option>
</field>

<field name="zero_payment_price_calculation" type="list" default="0" label="COM_PHOCACART_FIELD_ZERO_PAYMENT_PRICE_CALCULATION_LABEL" description="COM_PHOCACART_FIELD_ZERO_PAYMENT_PRICE_CALCULATION_DESC">
<option value="1">COM_PHOCACART_DISPLAY_PRICE</option>
<option value="2">COM_PHOCACART_DISPLAY_FREE_TEXT</option>
<option value="0">COM_PHOCACART_DISPLAY_BLANK_PRICE_FIELD</option>
<option value="-1">COM_PHOCACART_HIDE_COMPLETELY</option>
</field>

<field name="display_discount_product" type="list" default="1" label="COM_PHOCACART_FIELD_DISPLAY_DISCOUNT_PRICE_PRODUCT_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_DISCOUNT_PRICE_PRODUCT_DESC">
<option value="0">COM_PHOCACART_NO</option>
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="enable_captcha_checkout" type="list" class="btn-group btn-group-yesno" default="2" label="COM_PHOCACART_FIELD_ENABLE_CAPTCHA_CHECKOUT_LABEL" description="COM_PHOCACART_FIELD_ENABLE_CAPTCHA_CHECKOUT_DESC">
Expand All @@ -306,6 +328,22 @@



<field name="cofirm_order_text" default="" type="text" label="COM_PHOCACART_FIELD_CONFIRM_ORDER_TEXT_LABEL" description="COM_PHOCACART_FIELD_CONFIRM_ORDER_TEXT_DESC"/>

<field name="cofirm_order_text_zero" default="" type="text" label="COM_PHOCACART_FIELD_CONFIRM_ORDER_TEXT_ZERO_LABEL" description="COM_PHOCACART_FIELD_CONFIRM_ORDER_TEXT_ZERO_DESC"/>

<field name="checkout_scroll" type="radio" class="btn-group btn-group-yesno" default="1" label="COM_PHOCACART_FIELD_SCROLL_CHECKOUT_LABEL" description="COM_PHOCACART_FIELD_SCROLL_CHECKOUT_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="checkout_icon_status" type="radio" class="btn-group btn-group-yesno" default="1" label="COM_PHOCACART_FIELD_CHECKOUT_STATUS_ICON_LABEL" description="COM_PHOCACART_FIELD_CHECKOUT_STATUS_ICON_DESC">
<option value="0">COM_PHOCACART_DEFAULT_ICONS</option>
<option value="1">COM_PHOCACART_DEFAULT_NUMBERS</option>
</field>



<field name="phocahead7" type="phocahead" default="COM_PHOCACART_GENERAL_DISPLAY_OPTIONS_LABEL" label="" description=""/>


Expand Down Expand Up @@ -349,6 +387,21 @@
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="dynamic_change_price" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_PRICE_LABEL" description="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_PRICE_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="dynamic_change_stock" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_STOCK_LABEL" description="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_STOCK_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="dynamic_change_image" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_IMAGE_LABEL" description="COM_PHOCACART_FIELD_DYNAMIC_CHANGE_IMAGE_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="display_new" default="0" size="10" type="text" label="COM_PHOCACART_FIELD_DISPLAY_NEW_ICON_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_NEW_ICON_DESC" />

<field name="display_hot" default="0" size="10" type="text" label="COM_PHOCACART_FIELD_DISPLAY_HOT_ICON_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_HOT_ICON_DESC" />
Expand Down Expand Up @@ -410,6 +463,27 @@

<field name="icon_suffix" default="-circle" size="20" type="text" label="COM_PHOCACART_FIELD_ICON_SUFFIX_LABEL" description="COM_PHOCACART_FIELD_ICON_SUFFIX_LABEL" />

<field name="display_attribute_image" type="radio" class="btn-group btn-group-yesno" default="1" label="COM_PHOCACART_FIELD_DISPLAY_ATTRIBUTE_IMAGE_CATEGORY_ITEMS_ITEM_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_ATTRIBUTE_IMAGE_CATEGORY_ITEMS_ITEM_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>
<field name="display_attribute_image_checkout" type="radio" class="btn-group btn-group-yesno" default="1" label="COM_PHOCACART_FIELD_DISPLAY_ATTRIBUTE_IMAGE_CHECKOUT_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_ATTRIBUTE_IMAGE_CHECKOUT_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="display_discount_price" type="radio" class="btn-group btn-group-yesno" default="1" label="COM_PHOCACART_FIELD_DISPLAY_ATTRIBUTE_IMAGE_CHECKOUT_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_ATTRIBUTE_IMAGE_CHECKOUT_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="display_discount_product_views" type="radio" class="btn-group btn-group-yesno" default="0" label="COM_PHOCACART_FIELD_DISPLAY_PRODUCT_DISCOUNT_PRICE_CATEGORY_ITEMS_ITEM_LABEL" description="COM_PHOCACART_FIELD_DISPLAY_PRODUCT_DISCOUNT_PRICE_CATEGORY_ITEMS_ITEM_DESC">
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>

</field>



<field name="phocahead8" type="phocahead" default="COM_PHOCACART_AJAX_OPTIONS_LABEL" label="" description=""/>

Expand Down Expand Up @@ -762,13 +836,14 @@
<option value="0">COM_PHOCACART_NO</option>
</field>

<field name="hide_attributes" default="0" type="radio" class="btn-group btn-group-yesno" label="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_LABEL" description="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_LABEL" >
<field name="hide_attributes" default="0" type="radio" class="btn-group btn-group-yesno" label="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_LABEL" description="COM_PHOCACART_FIELD_HIDE_ATTRIBUTES_DESC" >
<option value="1">COM_PHOCACART_YES</option>
<option value="0">COM_PHOCACART_NO</option>
</field>




<field name="phocahead16" type="phocahead" default="COM_PHOCACART_ASK_QUESTION_FEEDBACK_REPORT_OPTIONS_LABEL" label="" description=""/>


Expand Down
30 changes: 29 additions & 1 deletion install/sql/mysql/install.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ CREATE TABLE IF NOT EXISTS `#__phocacart_products` (
`upc` varchar(15) NOT NULL DEFAULT '',
`ean` varchar(15) NOT NULL DEFAULT '',
`jan` varchar(15) NOT NULL DEFAULT '',
`isbn` varchar(15) NOT NULL DEFAULT '',
`isbn` varchar(20) NOT NULL DEFAULT '',
`mpn` varchar(255) NOT NULL DEFAULT '',
`serial_number` varchar(255) NOT NULL DEFAULT '',
`registration_key` varchar(255) NOT NULL DEFAULT '',
Expand Down Expand Up @@ -196,6 +196,9 @@ CREATE TABLE IF NOT EXISTS `#__phocacart_product_stock` (
`product_key` text,
`attributes` text,
`stock` int(11) NOT NULL DEFAULT '0',
`image` varchar(255) NOT NULL DEFAULT '',
`image_small` varchar(255) NOT NULL DEFAULT '',
`image_medium` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8;

Expand Down Expand Up @@ -452,6 +455,7 @@ CREATE TABLE IF NOT EXISTS `#__phocacart_manufacturers` (
`title` varchar(255) NOT NULL DEFAULT '',
`alias` varchar(255) NOT NULL DEFAULT '',
`image` varchar(255) NOT NULL DEFAULT '',
`link` varchar(255) NOT NULL DEFAULT '',
`description` text,
`published` tinyint(1) NOT NULL DEFAULT '0',
`checked_out` int(11) unsigned NOT NULL DEFAULT '0',
Expand Down Expand Up @@ -589,6 +593,8 @@ CREATE TABLE IF NOT EXISTS `#__phocacart_coupons` (
`quantity_to` int(11) NOT NULL DEFAULT '0',
`available_quantity` int(11) NOT NULL DEFAULT '0',
`available_quantity_user` int(11) NOT NULL DEFAULT '0',
`category_filter` tinyint(1) NOT NULL DEFAULT '1',
`product_filter` tinyint(1) NOT NULL DEFAULT '1',
`description` text,
`access` int(11) unsigned NOT NULL DEFAULT '0',
`published` tinyint(1) NOT NULL DEFAULT '0',
Expand Down Expand Up @@ -644,6 +650,8 @@ CREATE TABLE IF NOT EXISTS `#__phocacart_discounts` (
`quantity_to` int(11) NOT NULL DEFAULT '0',
`available_quantity` int(11) NOT NULL DEFAULT '0',
`available_quantity_user` int(11) NOT NULL DEFAULT '0',
`category_filter` tinyint(1) NOT NULL DEFAULT '1',
`product_filter` tinyint(1) NOT NULL DEFAULT '1',
`description` text,
`access` int(11) unsigned NOT NULL DEFAULT '0',
`published` tinyint(1) NOT NULL DEFAULT '0',
Expand Down Expand Up @@ -2024,6 +2032,26 @@ INSERT INTO `#__phocacart_groups` (`id`, `title`, `published`, `display_price`,
-- ALTER TABLE `#__phocacart_order_total` ADD `item_id` int(11) NOT NULL DEFAULT '0';


-- ---------
-- RC9 -> RC9.1
-- ---------
-- ALTER TABLE `#__phocacart_product_stock` ADD `image` varchar(255) NOT NULL DEFAULT '';
-- ALTER TABLE `#__phocacart_product_stock` ADD `image_small` varchar(255) NOT NULL DEFAULT '';
-- ALTER TABLE `#__phocacart_product_stock` ADD `image_medium` varchar(255) NOT NULL DEFAULT '';

-- ALTER TABLE `#__phocacart_products` CHANGE `isbn` `isbn` varchar(20) NOT NULL DEFAULT '';

-- ---------
-- RC9.1 -> STABLE
-- ---------

-- ALTER TABLE `#__phocacart_manufacturers` ADD `link` varchar(255) NOT NULL DEFAULT '';

-- ALTER TABLE `#__phocacart_coupons` ADD `category_filter` tinyint(1) NOT NULL DEFAULT '1';
-- ALTER TABLE `#__phocacart_coupons` ADD `product_filter` tinyint(1) NOT NULL DEFAULT '1';
-- ALTER TABLE `#__phocacart_discounts` ADD `category_filter` tinyint(1) NOT NULL DEFAULT '1';
-- ALTER TABLE `#__phocacart_discounts` ADD `product_filter` tinyint(1) NOT NULL DEFAULT '1';




Loading

0 comments on commit 9d459df

Please sign in to comment.