Tutorials/Removed deprecated source

Here is the list of all source code, which was deprecated and removed from OXID eShop:

Marked as deprecated
none.

To Be Removed
none.

Marked as deprecated
oxModule::isExtended oxSepaValidator::isValidIBANRegistry oxSepaValidator::setIBANRegistry oxSepaValidator::getIBANRegistry

Marked as deprecated
oxCmp_utils::getArticle Details::getParameterName Details::getParentUrl oxUBase::isLowOrderPrice oxUbase::getMinOrderPrice oxArticle::getFTPrice oxArticle::getFPrice oxArticle::getFNetPrice oxArticle::getFUnitPrice oxArticel::getFMinPrice oxArticel::getFVarMinPrice oxBasket::getProductNetPrice oxBasket::getFProductsPrice oxBasket::getCostVatPercent oxBasket::getDelCostVat oxBasket::getDelCostNet oxBasket::getPayCostVatPercent oxBasket::getPayCostVat oxBasket::getPayCostNet oxBasket::getPaymentCosts oxBasket::getFPaymentCosts oxBasket::getFVoucherDiscountValue oxBasket::getWrappCostVatPercent oxBasket::getGiftCardVatPercent oxBasket::getWrappCostVat oxBasket::getWrappCostNet oxBasket::getFWrappingCosts oxBasket::getGiftCardCostVat oxBasket::getGidtCardCostNet oxBasket::getFGiftCardCosts oxBasket::getFPrice oxBasket::getFDeliveryCosts oxBasket::getDeliveryCosts oxBasket::getFTsProtectionCosts oxBasket::getTsProtectionVatPercent oxBasket::getTsProtectionVat oxBasket::getTsProtectionNet oxBasket::getTsProtectionCosts oxBasketItem::getFRegularUnitPrice oxBasketItem::getFUnitPrice oxBasketItem::getFTotalPrice oxPayment::getNettoPrice oxPayment::getFBruttoPrice oxPayment::getFPriceVat oxTsProduct::getFPrice oxTsProduct::getFNettoPrice oxTsProduct::getFVatValue oxWrapping::getFPrice oxView::getShopLogo oxView::setShopLogo oxReverseProxyBackend::setReverseProxyCapabaleDoEsi oxReverseProxyBackend::isReverseProxyCapabaleDoEsi oxViewConfig::getSessionId

Deprecated template variable getters in templates for widgets (with new usage)
In widget templates under directories widget/product and widget/reviews and templates sub-loaded by article details widget templates under directory page/details/inc $oViewConf-&gt;getActiveClassName                         $oViewConf-&gt;getTopActiveClassName $product                                                                  $oView-&gt;getBoxProduct $_product                                                                $oView-&gt;getBoxProduct $currency-&gt;sign                                                       $oView-&gt;getActCurrencySign $oDetailsProduct-&gt;oxarticles__oxid-&gt;value                 $oView-&gt;getArticleId $oDetailsProduct-&gt;oxarticles__oxnid-&gt;value               $oView-&gt;getArticleNId $owishid                                                                  $oView-&gt;getWishId $_actvrecommlist-&gt;oxrecommlists__oxid-&gt;value         $oView-&gt;getRecommListId $recommid                                                              $oView-&gt;getRecommId $showMainLink                                                        $oView-&gt;getShowMainLink $removeFunction                                                      $oView-&gt;getRemoveFunction $toBasketFunction                                                   $oView-&gt;getToBasketFunction $blDisableToCart                                                      $oView-&gt;getDisableToCart $sReviewUserHash                                                  $oView-&gt;getReviewUserHash $smarty.foreach.bargainList.iteration                          $oView-&gt;getIteration $altproduct                                                              $oView-&gt;getAltProduct $testid                                                                     $oView-&gt;getTestId

Moved to new widgets
Details::loadVariantInformation                 oxwArticleDetails::loadVariantInformation Details::ratingIsActive                               oxwArticleDetails::ratingIsActive Details::canRate                                       oxwArticleDetails::canRate Details::canChangeTags                            oxwArticleDetails::canChangeTags Details::getAttributes                                oxwArticleDetails::getAttributes Details::_checkVariantAccessRights          oxwArticleDetails::_checkVariantAccessRights Details::getTagCloudManager                     oxwArticleDetails::getTagCloudManager Details::isEditableTags                              oxwArticleDetails::isEditableTags Details::getVariantList                               oxwArticleDetails::getVariantList Details::getVariantListExceptCurrent          oxwArticleDetails::getVariantListExceptCurrent Details::getCaptcha                                  oxwArticleDetails::getCaptcha Details::getMediaFiles                              oxwArticleDetails::getMediaFiles Details::getLastProducts                           oxwArticleDetails::getLastProducts Details::getVendor                                    oxwArticleDetails::getVendor Details::getManufacturer                           oxwArticleDetails::getManufacturer Details::getCategory                                 oxwArticleDetails::getCategory Details::morePics                                    oxwArticleDetails::morePics Details::getIcons                                      oxwArticleDetails::getIcons Details::showZoomPics                            oxwArticleDetails::showZoomPics Details::getZoomPics                               oxwArticleDetails::getZoomPics Details::getActZoomPic                            oxwArticleDetails::getActZoomPic Details::isMdVariantView                          oxwArticleDetails::isMdVariantView Details::isPersParam                               oxwArticleDetails::isPersParam Details::getTagSeparator                          oxwArticleDetails::getTagSeparator Details::getRatingValue                            oxwArticleDetails::getRatingValue Details::isReviewActive                             oxwArticleDetails::isReviewActive Details::getRatingCount                            oxwArticleDetails::getRatingCount

To Be Removed
none.

To Be Added
none.

Marked as deprecated
oxSepaValidator::isValidIBANRegistry oxSepaValidator::setIBANRegistry oxSepaValidator::setIBANRegistry

Marked as deprecated
oxViewConfig::getTsWidgetUrl oxViewConfig::getTsInfoUrl

Marked as deprecated
oxUbase::getSearchCatTree oxUbase::setSearchCatTree oxBasket::getDiscountedNettoPrice oxCategoryList::buildList oxFunctions::oxNewArticle oxUtilsObject::oxNewArticle

Marked as deprecated
oxView::getActCategory oxView::setActCategory oxShop::getShopIds

Marked as deprecated
aList::getSorting guestBook::prepareSortColumns manufacturerList::setItemSorting manufacturerList::getSorting oxubase::prepareSortColumns search::setItemSorting serach::getSorting tag::getSorting tag::setItemSorting vendorList::setItemSorting vendorList::getSorting oxTagCloud::setProductId oxTagCloud::getProductId oxTagCloud::setLanguageId oxTagCloud::getLanguageId oxTagCloud::getTags oxTagCloud::prepareTags oxTagCloud::trimTags oxTagCloud::stripMetaChars oxTagCloud::getTagMaxLength oxTagCloud::getTagLink oxTagCloud::getTagTitle oxTagCloud::canBeTagged oxTagCloud::_fixTagLength oxTagCloud::_getCacheKey oxTagCloud::_sortTags oxArticle::getStdTagLink oxArticle::getTags oxArticle::saveTags oxArticle::addTag

Marked as deprecated
shop_cache::isReverseProxyHeaderAvailable shop_config::_loadConfVars shop_mall::updateViews oxArticleList::loadAktionArticles oxDiscount::applyDiscount oxDb::updateViews thankYou::showFinalStep oxArticle::getFileUrl oxUser::_loadSavedUserBasketAfterLogin

part of oxLang::_appendModuleLangFiles - since 4.7/5.0 translation files should be in modules/modulepath/views/admin/ dir

Marked as deprecated
oxUbase::isSortingActive Shop_config::_loadConfVars oxArticle::setSkipAbPrice oxArticle::getPricePerUnit oxArticle::getPriceFromPrefix oxArticle::_assignPrices oxArticle::_onChangeUpdateMinVarPrice oxArticle::_applyRangePrice oxArticle::getProductParentId oxDeliveryList::getInstance oxDeliverySetList::getInstance oxDiscountList::getInstance oxDiscountList::applyDiscounts oxDiscountList::applyBasketDiscounts oxPayment::getPaymentPrice oxPaymentList::getInstance oxSeoEncoderArticle::getInstance oxSeoencoderCategory::getInstance oxSeoEncoderContent::getInstance oxSeoEncoderManufacturer::getInstance oxSeoEncoderRecomm::getInstance oxSeoEncoderTag::getInstance oxSeoEncoderVendor::getInstance oxVatSelector::getInstance oxConfig::getInstance oxConfig::getParameter oxConfig::checkSpecialChars oxFb::getInstance oxInputValidator::getInstance oxLang::getInstance oxPictureHandler::getInstance oxPrice::setUserVat oxPrice::_recalculate oxseoencoder::getInstance oxSession::getInstance oxSession::hasVar oxSession::setVar oxSession::getVar oxSession::deleteVar oxShopMetaData::getInstance oxUtils::getInstance oxUtilsCount::getInstance oxUtilsDate::getInstance oxUtilsFile::getInstance oxUtilsObjec::oxNewArticle oxUtilsPic::getInstance oxUtilsServer::getInstance oxUtilsString::getInstance oxUtilsUrl::getInstance oxUtilsView::getInstance oxEmosAdapter::getInstance

Removed
views/popup.php oxubase::showLeftBasket - use $oViewConf-&gt;getViewThemeParam('bl_perfShowLeftBasket') oxubase::showRightBasket - use $oViewConf-&gt;getViewThemeParam('bl_perfShowRightBasket') oxubase::showTopBasket - use $oViewConf-&gt;getViewThemeParam('bl_perfShowTopBasket') oxubase::showTopCatNavigation - use $oViewConf-&gt;getViewThemeParam('blTopNaviLayout') oxViewConfig::isAutoSearchOnCat - use $oViewConf-&gt;getViewThemeParam('blAutoSearchOnCat') oxubase::loadManufacturerTree - use $oViewConf-&gt;getViewThemeParam('bl_perfLoadManufacturerTree') oxubase::loadVendorTree - use $oViewConf-&gt;getViewThemeParam('bl_perfLoadVendorTree')

details::_checkProductAccessRights oxsimplevariants::_setLongDesc oxbasketitem:: getImageUrl oxbasketitem::getIcon oxarticlelist::_sortByIds oxutilsobject.pphisModuleActive oxutilsfile::handleUploadedFile oxarticle::getSearchableFields oxarticle::applyBasketDiscounts oxarticle::getArticleLongDesc oxarticle::_setLongDesc oxarticle::getVariantList - use oxarticle::getVariants oxarticle::_applyDiscounts oxarticle::_getParentAricle oxarticle::_resetCacheAndArticleCount oxutils::getShopBit oxutils::bitwiseAnd oxutils::bitwiseOr oxlang::_readTranslateStrFromTextFile oxlang::registerAdditionalLangFile oxdb::getMultiLangFieldName oxdb::isQuoteNeeded oxdb::createSQLList oxdb::startTransaction oxdb::commitTransaction oxdb::rollbackTransaction oxdb::setTransactionIsolationLevel oxdb::cleanMultishopFields oxconfig::getIconUrl oxconfig::getLanguagePath oxconfig::getStdLanguagePath oxconfig::getLanguageDir oxbase::validate oxbase::hasErrors oxbase::getErrors oxbase::getError oxbase::getHtmlError oxbase::_setRecordNumber oxutils::rebuildCache oxutils::_rebuildCache oxutilsfile::getMimeType oxuser::addUserAddress oxuser::_loadSavedUserBasketAfterLogin oxuser::_checkPassword oxuser::_hasUserAddress oxuser::_setUserCookie oxuser::_deleteUserCookie oxuser::_getUserCookie oxuser::getAdminUser oxuser::getActiveUser oxseoencodercontent::_getContentUri oxseoencoderarticle::_getArticleRecommUri oxseoencoderarticle::_getArticleTagUri oxseoencoderarticle::_getArticleUri oxseoencoderarticle::_getArticleMainUri oxseoencoderarticle::_getArticleVendorUri oxseoencoderarticle::_getArticleManufacturerUri oxpdf::Text oxcategory::sortSubCats oxcategory::cmpCat oxcategory::setSortingIds oxdelivery::hasArtices oxtsproduct::_setDeprecatedValues oxshopcontrol::_output article_pictures::_getUploadedMasterPicIndexes shop_main::_getShopIds oxnavigationtree::init oxnavigationtree::getShopVersionNr oxvendor::__get oxsimplevariant::__get oxcmp_categories::_loadVendorTree

Changed
payment::_setDeprecatedValues           payment::_setValues oxbasket::_setDeprecatedValues        oxbasket::formatDiscount

Added
vendorlist::getVendorTree

Marked as deprecated

 * 'blCalcVATForPayCharge' =&gt; 'blShowVATForPayCharge'
 * 'blCalcVATForDelivery' =&gt; 'blShowVATForDelivery'
 * 'blCalcVatForWrapping' =&gt; 'blShowVatForWrapping'.
 * oxBase::_setRecordNumber;
 * shop_main::_getShopIds; - call oxshop::getShopIds;
 * oxUtils::getInstance-&gt;getShopBit; - use oxShopMetaData::getInstance-&gt;getShopBit;
 * oxUtils::getInstance-&gt;bitwiseAnd; - use oxShopMetaData::getInstance-&gt;isIncludedInShop or oxShopMetaData::getInstance-&gt;isExcludedFromShop;
 * oxUtils::getInstance-&gt;bitwiseOr;
 * property $_sCoreTbl deprecated in oxBase class. Instead of this use property $_sCoreTable;
 * oxArticle::getArticleLongDesc;
 * oxDb::getMultiLangFieldName;
 * oxDb::isQuoteNeeded;
 * oxDb::createSQLList;
 * oxDb::startTransaction;
 * oxDb::commitTransaction;
 * oxDb::rollbackTransaction;
 * oxDb::setTransactionIsolationLevel;
 * oxDb::cleanMultishopFields;
 * oxUtilsObject::isModuleActive;
 * Part of oxUtilsView::_getTemplateBlock - file extension check marked as deprecated; from 4.6 insert in oxtplblocks the full file name;

Marked as deprecated
oxubase::getArticleCount;

Marked as deprecated
oxArticleList::_sortByIds;

oxUtils::rebuildCache;

Marked as deprecated
oxLang::registerAdditionalLangFile;

Part of:


 * oxArticle::setArticleLongDesc - deprecated original value setting.
 * oxArticle::getVendor - removed config option "bl_perfLoadVendorTree";
 * oxFiled2Shop::setProductData - deprecated usage of orginal value.

Marked as deprecated
oxCmp_basket::wl_tobasket;

oxUsers::addUserAddress;

oxUsers::_hasUserAddress;

To Be Removed
CSS and HTML cleanup

Removed / renamed CSS classes from templates:

oxValidate -&gt; js-oxValidate oxError -&gt; oxInValid oxValidate_notEmpty -&gt; js-oxValidate_notEmpty oxError_notEmpty 	 -&gt; js-oxError_notEmpty oxValidate_email 	 -&gt; js-oxValidate_email oxValidate_length -&gt; js-oxValidate_length oxValidate_match -&gt; js-oxValidate_match oxError_length -&gt; js-oxError_length oxError_match -&gt; js-oxError_match oxError_email -&gt; js-oxError_email onTop recomm_input listmaniaAdd fontunderline overlayPop suggestView customFields suggestForm manufacturers vendors errorbox errhead errbody overviewLink shadowLeft innerLabel lastInCol prevnext right done artlink tocart inbox left orderData btn

flash firstCol -&gt; js-firstCol no_left_brd hreview-aggregate hproduct category hreview dtreviewed date newsView newsItem external 	 -&gt; js-external msg pageLayout welcomebox shopselectbox linkAll tags 	 fx-gradient-bg fnSubmit 	 -&gt; js-fnSubmit minibasketIcon articleBox -&gt; js-articleBox type variantBox oxProductForm -&gt; js-oxProductForm

value-title count recommlistsearch image total orderprice totalprice url photo last tagAdd

Links fx-gradient loadVariant details reqlogin priceAlarmLink brandLogo onStock tabcontent ox-zoom-close zoom-close

Removed CSS classes from CSS files:

basket updateBasket testScreen hidden inlineSuccess boxCatshoverBox pictureView head writeReviewLink tag_200 productNr importantSubmit rating_review_input variantlist-box 	 popup

thumbnav notification bottomShadow lightGlowShadow leftShadow topRound leftRound rightRound FXgradBlue FXgradBlueLight FXgradGrey pie prevtItem product locator more-description-box morepic-box tab-container title-box description-box

Deprecated Methods
Deprecated methods used for language handling:

oxConfig::getLanguagePath;

oxConfig::getStdLanguagePath;

Deprecated usage of *.txt language files.

Deprecated or changed methods due to image handling improvements or oxfield2shop refactoring:


 * oxArticle::__get - no longer calls oxArticle::_assignZoomPictureValues in case "oxarticles__oxzoom" field is requested. Zoom pictures are deprecated;
 * oxArticle::assign/save - no longer calls oxArticle::_assignAllPictureValues.;
 * oxArticle::getPictureUrl/getIconUrl/getThumbnailUrl/getZoomPictureUrl - does not generate requested image if it is not available;
 * oxArticle::_getIconName - if picture is not defined returns "nopic.jpg" (prev. "nopic_ico.jpg");
 * oxArticle::_assignPictureValues - does not append directory names to values any more;
 * oxPictureHandler::getIconName/getMainIconName - does not append "_ico" to image file name;
 * oxPictureHandler::getThumbName - does not append "_th" to image file names;
 * oxUtilsFile::$_aTypeToPath - now holds updated images path array;
 * oxWrapping::getPictureUrl - returns full path to wrapping including image name.

Removed methods:

 * oxPictureHandler::generateArticlePictures;
 * oxArticle::_assignAllPictureValues;
 * oxArticle::_assignZoomPictureValues;
 * oxArticle::_generateImages/
 * oxArticle::_hasGeneratedImage;
 * oxArticle::updateAmountOfGeneratedPictures;
 * oxArticle::_setValuesFromSubshop;
 * oxArticle::_getPictureName;
 * oxArticle::_getIconName;
 * oxArticle::_getThumbnailName;
 * oxArticle::_getZoomPictureName;
 * oxArticle::_assignPictureValues;
 * oxArticle::_createUpdateStr;
 * oxArticle::_createInsertStr;
 * oxUtilsFile::_prepareImageName;
 * oxUtilsFile::_prepareImage;
 * oxUtilsFile::_removeTempImage;
 * oxUtilsFile::processFiles.

New methods:

 * oxPictureHandler::getImageSize - returns image sizes from provided config array;
 * oxPictureHandler::_getPictureInfo - returns dir/url info for given image file;
 * oxPictureHandler::getPicUrl - returns requested image url;
 * oxPictureHandler::getProductPicUrl - returns requested product picture url. If image is not available - returns url to nopic.jpg;

Possibly your shop may have third party modules, which can be incompatible with image handling changes. So we prepared special module, which enables backwards compatibility.

Version 4.5.0
oxAdminList::_setFilterParams - was removed due to refactoring of oxadminlist class. Register::_addFakeAddress / User::_addFakeAddress - due to changes in new layout there is no need to have selection which says "use billing address for delivery". There is check box to use different delivery address or no. Similarly were update to basic theme template - selection option was removed and button (which tells to use billing address for delivery) title was updated. So "fake" address is not needed any more; User::setShowShipAddress - wes deprecated long time ago, so just removed;  User::getDelAddress / Account_user::getDeliverAddress / User::_getSelectedAddress: These methods were removed because of change in template and improved user address list getter oxUser::getUserAddresses. Methods were used to get active/user selected delivery address object. Given example clearifies how active delivery address is taken (from basic theme user.tpl):

[{foreach from=$oxcmp_user-&gt;getUserAddresses item=address}] &lt;option ... [{ if $address-&gt;isSelected}][{assign var="delivadr" value=$address}]SELECTED[{/if}]&gt;[{$address}]&lt;/option&gt; [{/foreach}] ... &lt;input ... name="deladr[oxaddress__oxstreet]" value="[{$delivadr-&gt;oxaddress__oxstreet-&gt;value}]"&gt; &lt;input ... name="deladr[oxaddress__oxstreetnr]" value="[{$delivadr-&gt;oxaddress__oxstreetnr-&gt;value}]"&gt; ...

oxCategoryList::sortCats - category sorting is implemented via the initial tree building sql.