<%= render "layouts/header" %>
<%= render "layouts/sidebar" %>
Add Products To Catalogue
<%= render "layouts/breadcrumbs" %>
<%= form_tag({action: 'index'}, multipart: :true, id: :myForms) do %>
checked<% elsif @PostCheckFlags%><% else %>checked <% end %> name="show_latest" id="show_latest" value="Y"/> Show Latest
<% end %> <% pagestart = params[:page].present? ? params[:page].to_i : 1 %> <% i = pagestart <= 1 ? 1 : ((pagestart - 1) * 10) + 1 %> <% if @product_list.length>0 %> <% @product_list.each do |product| %> <% gender="" genderobj=get_basic_information(product.pd_compcode,product.pd_id) if genderobj gender=genderobj.pd_bsc_gender end material="" materialobj=get_basic_information(product.pd_compcode,product.pd_id) if materialobj material=materialobj.pd_bsc_material end category = "" categoryobj = get_category_information(product.pd_compcode, product.pd_category) # Change product.pd_id to product.pd_category if categoryobj category = categoryobj.pc_categoryname end %> <% i += 1 %> <% end %> <% else %> <% end %>
S.No Image Product Category Sub-Category Gender Material Action
<%= i %> <% if image_url =product.pd_img.present? ? "#{root_url}images/product/#{product.pd_img}" : "../assets/img/course/course1.jpg" %>
<%else%> N/A <%end%>
<%=product.pd_id%> <%=category%> <%=product.pd_subcategory%> <%=gender%> <%=material%>
No record(s) found.
<% pagestart = params[:page].present? ? params[:page].to_i : 1 %> <% i = pagestart <= 1 ? 1 : ((pagestart - 1) * 10) + 1 %> <% if @product_grid.length > 0 %> <% @product_grid.each do |product| %> <% image_url = product.pd_img.present? ? "#{root_url}images/product/#{product.pd_img}" : "../assets/img/course/course1.jpg" %>
user
<%= product.pd_id %>
<% i += 1 %> <% end %> <% else %>

No products available.

<% end %>