• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » Goods options don't show what the client chose. (Goods options don't show what the client chose.)
Goods options don't show what the client chose.
Admin8043
Posts: 12
Reputation: 0

Message # 1 | 1:02 PM
Hello,

The problem with the goods options is the following - when I open the Orders Management, I can't see what options the client has chosen so I am sure the issue is in the code of the "item page" of the template I bought from Ucoz.
This problem exists from the very beginning of the website and I don't remember changing the code.
When I use another deafult template, everything works - it is just that I am not that good with html.

The site is http://noktoplastika.ucoz.com and here are screenshots of the problem.


biggrin biggrin
Attachments: 0775268.jpg (112.9 Kb) · 6798918.jpg (36.2 Kb)
Post edited by Admin8043 - Friday, 2014-09-26, 1:15 PM
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 1:28 PM
Admin8043, go to the "Item page" template and replace

Code
<a href="javascript://" class="se-add" onclick="add2Basket('$ID$','$BLOCK_PREF$');">Добави</a>
  <a href="javascript://" class="se-buynow" onclick="buyNow('$ID$','$BLOCK_PREF$');">Купи</a>


with

Code
<a href="javascript://" class="se-add" onclick="add2Basket('$ID$','id');">Добави</a>
  <a href="javascript://" class="se-buynow" onclick="buyNow('$ID$','id');">Купи</a>

I'm not active on the forum anymore. Please contact other forum staff.
Admin8043
Posts: 12
Reputation: 0

Message # 3 | 1:54 PM
Yes, it fixed it. Thank you very very much!
Good
Posts: 360
Reputation: 12

Message # 4 | 7:05 AM
I also have the same problem but I cound not find the above code in Item page template.

Code
<html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title><?if($META_TITLE$)?>$META_TITLE$ - A$ID$<?else?><?if($ENTRY_MODE$ == "spec")?>Specification <?endif?><?if($ENTRY_MODE$ == "imgs")?>Images <?endif?><?if($ENTRY_MODE$ == "comm")?>Reviews <?endif?>$ENTRY_TITLE$ - $MODULE_NAME$ - $SITE_NAME$<?endif?></title>
  <!--[if lt IE 9]>
  <script type="text/javascript">
  var e = ("header,footer,article,aside,section,nav").split(',');
  for (var i = 0; i < e.length; i++) {
  document.createElement(e[i]);
  }
  </script>
  <![endif]-->
  <link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700&subset=latin,cyrillic" rel="stylesheet" type="text/css" />
  <link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>
<body class="t-body">
$ADMIN_BAR$
$GLOBAL_AHEADER$
<div class="b-main t-container clearfix">
  <!-- <middle> -->
  <div class="b-logo b-white">
  <a title="Home" href="$HOME_PAGE_LINK$"><img class="logo-img" src="/shopping-icon.png" alt=""/></a>
  <div class="site-title"><!-- <logo> -->oVo<!-- </logo> --></div>
  <div class="site-slogan">$SITE_NAME$</div>
  </div>
  <div class="b-maincontent b-white" role="main">
  $GLOBAL_PROMO$
  <div class="content-padding">
  <!-- <body> -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="white-space: nowrap;">$SHOP_PATH$</td>
<?if($EDIT_ENTRY_LINK$)?><td align="right" style="white-space: nowrap;">[ <a href="$EDIT_ENTRY_LINK$"><!--<s4443>-->Sửa <!--</s>--></a> ]</td><?endif?>
</tr>
</table>

<h1><?if($MODER_PANEL$)?>$MODER_PANEL$ <?endif?>$ENTRY_TITLE$ - A$ID$</h1>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top"><td style="padding-right:10px; width:1%">

$IMGS_ARRAY_JS$
<script type="text/javascript">
function _bldCont(indx){
var bck=indx-1;var nxt=indx+1;
if (bck<0){bck = allEntImgs$ID$.length-1;}
if (nxt>=allEntImgs$ID$.length){nxt=0;}
var imgs='';
if (allEntImgs$ID$.length>1){
for (var i=0;i<allEntImgs$ID$.length;i++){var img=i+1;
if(allEntImgs$ID$[i][0].length<1){continue;}
if (i==indx){imgs += '<b class="pgSwchA">'+img+'</b> ';}
else {imgs += '<a class="pgSwch" href="javascript://" rel="nofollow" onclick="_bldCont('+i+');return false;">'+img+'</a> ';}
}
imgs = '<div align="center" style="padding:8px 0 5px 0;white-space:nowrap;overflow:auto;overflow-x:auto;overflow-y:hidden;"><a class="pgSwch" href="javascript://" rel="nofollow" onclick="_bldCont('+bck+');return false;">« Back</a> '+imgs+'<a class="pgSwch" href="javascript://" rel="nofollow" onclick="_bldCont('+nxt+');return false;">Next »</a> </div> ';}
var hght = parseInt(allEntImgs$ID$[indx][2]); if ($.browser.msie) { hght += 28; };
_picsCont = '<div id="_prCont" style="position:relative;"><img alt="" border="0" src="' + allEntImgs$ID$[indx][0] + '"/>'+imgs+'</div>';
new _uWnd('wnd_prv', "Item images", 10, 10, { waitimages:300000, autosizewidth:1, hideonresize:1, autosize:1, fadetype:1, closeonesc:1, align:'center', min:0, max:0, resize:1 }, _picsCont);
}
</script>

<img alt="" src="$THUMB$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" id="ipreview" idx="0" title="Click để phóng to ảnh">

<?if($SMALL_1$)?>
<img alt="" src="$SMALL$" class="gphoto" onclick="var el=getElementById('ipreview'); el.src='$THUMB$'; el.setAttribute('idx',0);">
<img alt="" src="$SMALL_1$" class="gphoto" onclick="var el=getElementById('ipreview'); el.src='$THUMB_1$'; el.setAttribute('idx',1);">
<?endif?>
<?if($SMALL_2$)?><img alt="" src="$SMALL_2$" class="gphoto" onclick="var el=getElementById('ipreview'); el.src='$THUMB_2$'; el.setAttribute('idx',2);"><?endif?>
<?if($SMALL_3$)?><img alt="" src="$SMALL_3$" class="gphoto" onclick="var el=getElementById('ipreview'); el.src='$THUMB_3$'; el.setAttribute('idx',3);"><?endif?>

</td><td>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<?if($RATING$)?>
<td width="1%">
<div style="margin-bottom:10px;"><?$RSTARS$('30','/.s/t/1081/rating30.png','1','float')?><div style="font-size:10px; text-align:center;"><!--<s3119>-->Rating<!--</s>-->: <b><span id="entRating$ID$">$RATING$</span></b>/<span id="entRated$ID$">$RATED$</span></div></div>
</td>
<?endif?>
<td align="right"><b style="font-size:14px; padding:0 10px;"><?if($PRICE_OLD$)?><s>$PRICE_OLD$</s> <span class="newprice">$PRICE$</span><?else?>$PRICE$<?endif?></b> $2BASKET_Q$</td>
</tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td><ul class="shop-options" id="id-$ID$-options">
  <?if($BRAND$)?><li><span class="opt"><!--<s4379>-->Xuất xứ<!--</s>-->:</span> <span class="val">$BRAND$</span><?else?><span class="val"><li><span class="opt"><!--<s4379>-->Xuất xứ<!--</s>-->:</span>Vietnam</li><?endif?>
<?if($GROUP_ID$=4)?> <?if($ART_NO$)?><li><span class="opt"><!--<s4749>-->SKU<!--</s>-->:</span> <span class="val art">$ART_NO$</span></li><?endif?><?endif?>
  <li><span class="opt"><!--<s4377>-->Tình trạng<!--</s>-->:</span> <span class="val stock">$STOCK$</span></li>
  <?if($WARR$)?><li><span class="opt"><!--<s4376>-->Bảo hành<!--</s>-->:</span> <span class="val">$WARR$</span></li><?endif?>
<?if($GROUP_ID$=4)?> <?if($UNIT$)?><li><span class="opt"><!--<s4750>-->Đơn vị<!--</s>-->:</span> <span class="val">$UNIT$</span></li><?endif?><?endif?>
  <?if($WEIGHT$)?><li><span class="opt"><!--<s4751>-->Trọng lượng<!--</s>-->:</span> <span class="val">$WEIGHT$</span></li><?endif?>
  <?if($ENTRY_TYPE$ == 1)?><li><span class="opt"><!--<s5119>-->Kích thước<!--</s>-->:</span> <span class="val">$FILE_SIZE$</span></li><?endif?>

  <?if($TAGS$)?>Tags: $TAGS$<?endif?>
  $OPTIONS$
</ul></td>
<?if($BUY_NOW$)?>
<td align="center" width="1%" nowrap>
  <div style="float:right;" class="goods-list"><!--<s5454>-->Mua ngay<!--</s>--> $BUY_NOW$ $2WISHLIST$</div>
</td>
<?endif?>
</table>

</td></tr>
</table>

<ul class="shop-tabs with-clear">
  <li<?if($ENTRY_MODE$ == 'desc')?> class="postRest1"<?endif?>><a href="$DESC_LINK$"><!--<s4375>-->Mô tả<!--</s>--></a></li>
  <?if($SPEC$)?>
  <li<?if($ENTRY_MODE$ == 'spec')?> class="postRest1"<?endif?>><a href="$SPEC_LINK$"><!--<s4781>-->Quy cách<!--</s>--></a></li>
  <?endif?>
  <?if($PHOTO_1$)?>
  <li<?if($ENTRY_MODE$ == 'imgs')?> class="postRest1"<?endif?>><a href="$IMGS_LINK$"><!--<s3183>-->Hình ảnh<!--</s>--></a></li>
  <?endif?>
  <?if($COM_IS_ACTIVE$)?>
  <li<?if($ENTRY_MODE$ == 'comm')?> class="postRest1"<?endif?>><a href="$COMM_LINK$"><!--<s4783>-->Đánh giá<!--</s>--></a></li>
  <?endif?>
</ul>
<div class="shop-info">

<?if($ENTRY_MODE$ == 'desc')?>
  <?if($DESCRIPTION$)?>$DESCRIPTION$<?else?><!--<s4782>-->Không có mô tả<!--</s>--><?endif?>

<?if($GROUP_ID$=4)?><?if($OTHER1$)?>Nguồn hàng 1 : $OTHER1$<br><?endif?><?endif?>
<?if($GROUP_ID$=4)?><?if($OTHER2$)?>Nguồn hàng 2: $OTHER2$<br><?endif?><?endif?>
<?if($GROUP_ID$=4)?><?if($OTHER3$)?>Nguồn hàng 3: $OTHER3$<br><?endif?><?endif?>
<?if($GROUP_ID$=4)?><?if($OTHER4$)?>Nguồn hàng 4: $OTHER4$<br><?endif?><?endif?>

<?endif?>

<?if($ENTRY_MODE$ == 'spec')?>
  $SPEC$
<?endif?>

<?if($ENTRY_MODE$ == 'imgs')?>
  <div class="shop-imgs with-clear">
  <?if($PHOTO$)?><img alt="" src="$THUMB$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="0" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_1$)?><img alt="" src="$THUMB_1$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="1" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_2$)?><img alt="" src="$THUMB_2$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="2" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_3$)?><img alt="" src="$THUMB_3$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="3" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_4$)?><img alt="" src="$THUMB_4$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="4" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_5$)?><img alt="" src="$THUMB_5$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="5" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_6$)?><img alt="" src="$THUMB_6$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="6" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_7$)?><img alt="" src="$THUMB_7$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="7" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_8$)?><img alt="" src="$THUMB_8$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="8" title="Click to enlarge the image"><?endif?>
  <?if($PHOTO_9$)?><img alt="" src="$THUMB_9$" class="gphoto" onclick="_bldCont1($ID$, this.getAttribute('idx'));" idx="9" title="Click to enlarge the image"><?endif?>
  </div>
<?endif?>

<?if($ENTRY_MODE$ == 'comm')?>
  <?if($COM_IS_ACTIVE$)?>
  <?if($COM_CAN_READ$)?>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr><td width="60%" height="25"><!--<s5183>-->Total comments<!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr>
  <tr><td colspan="2">$COM_BODY$</td></tr>
  <tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr>
  <tr><td colspan="2" height="10"></td></tr>
  </table>
  <?endif?>

  <?if($COM_CAN_ADD$)?>
  $COM_ADD_FORM$
  <?else?>
  <?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Only registered users can add comments.<!--</s>--><br />[ <a href="$REGISTER_LINK$"><!--<s3089>-->Sign Up<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Đăng nhập<!--</s>--></a> ]</div><?endif?>
  <?endif?>
  <?endif?>
<?endif?>
</div>
<?if($GROUP_ID$=4)?>
<div style="margin-top: 10px; text-align:right;"><?if($ADD_UID$)?><!--<s3178>-->Added by<!--</s>-->: <a href="/shop/user/$ADD_UID$/goods" title="All items $ADD_USER$">$ADD_USER$</a>,<?else?><!--<s4417>-->Đã thêm vào catalog<!--</s>-->:<?endif?> $ADD_WDAY$, $ADD_DATE$</div><?endif?>

<?if($LASTV_2$)?><hr /><div style="font-size:20px; padding:5px 0 10px 0"><!--<s7005>-->Những món hàng đã xem gần đây<!--</s>--></div>$LASTV_2$<?endif?>

<hr />
<?if($RECOMMENDED_PRODUCTS_PRESENT$)?>
  <div id="recommended_products">
  <div id="recommended_products_title"><!--<s7136>-->Sản phẩm có thể bạn quan tâm<!--</s>--></div>
  <?$RECOMMENDED_PRODUCTS$()?>
  </div>
<?endif?>

  <!-- </body> -->
  </div>
  </div>
  <div class="sidebar-clear clearleft"></div>
  <aside class="b-sidebar b-white clearfix">
  $GLOBAL_CLEFTER$
  </aside>
  <!-- </middle> -->
</div>
$GLOBAL_BFOOTER$
</body>
</html>
Sunny
Posts: 9296
Reputation: 456

Message # 5 | 2:03 PM
Good, website URL?
I'm not active on the forum anymore. Please contact other forum staff.
uCoz Community » For Webmasters » Custom Solutions » Goods options don't show what the client chose. (Goods options don't show what the client chose.)
  • Page 1 of 1
  • 1
Search: