Advertisement
Guest User

Untitled

a guest
Sep 27th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 0.72 KB | None | 0 0
  1. <input
  2.     class="add-to-cart"
  3.     type="submit"
  4.     value="купить"
  5.     onclick="javascript:open_window('/cart.php?addproduct={$product_info.productID}{*
  6.         *}{counter name='select_counter_hidden' start=0 skip=1 print=false}{*
  7.         *}{counter name='select_counter_hidden_extra' start=0 skip=1 print=false}{*
  8.         *}{section name=i loop=$product_extra}{*
  9.             *}{if $product_extra[i].option_type eq 1}{*
  10.                 *}{section name=s loop=$product_extra[i].option_show_times}{*
  11.                     *}&option_select_hidden_{*
  12.                         *}{counter name=select_counter_hidden}=' + document.HiddenFieldsForm.option_select_hidden_{*
  13.                         *}{counter name=select_counter_hidden_extra}.value + '{*
  14.                 *}{/section}{*
  15.             *}{/if}{*
  16.         *}{/section}', 400, 300); return false;"
  17. />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement