Few starter questions:
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2812
Printed Date: 27-February-2025 at 5:41pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Few starter questions:
Posted By: e4h
Subject: Few starter questions:
Date Posted: 22-June-2009 at 2:00pm
hi there. setting up the final touches before my store goes live.
i have a few questions that i am unable to answer myself:
1. i have 2 types of payment options, prepaid and net30. is there a way to bind a payment type to a specific customer? i would like it so the customers DO NOT have the option of choosing, and are either picked to be prepay or net30 in the back end.
2. is it possible to add the "add to cart" button to the browse category page, next to the "more details" button for each product? how about next to the sku/inventory on the product page?
|
Replies:
Posted By: Hamish
Date Posted: 22-June-2009 at 2:15pm
Hi, With regard to payment options, you can offer different payment options to wholesale customers that are unavailable to retail customers.
The presence of a "buy" button next to a product when browsing categories depends on whether the item is configurable, such as a BTO product, or an apparel product which has sub-products which need to be selected. In either of those cases a buy button is not displayed, but straight forward products do have a buy button displayed.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: e4h
Date Posted: 22-June-2009 at 2:32pm
Thanks, all of my customers are wholesale, we do not sell to retail customers. for the wholesale, we want to have net30 and prepay, but pre-defined for each customer. i guess it would be easiest to set up one as retail and one as wholesale, providing each with one payment option? i would need to hide pricing from anyone NOT logged in though.
as for the buy button- all products are straight forward products. -i see the buy button at the bottom of the product page, but would like it to appear at the top also... -would you have any code snippits to make it appear on the category view page?
also- looking to have a page that displays a list of all the products, with boxes for quantity for each one and a submit/add to car button at the bottom.
|
Posted By: Hamish
Date Posted: 22-June-2009 at 2:55pm
The presence of the buy button also depends on the page layout. See : http://wiki.earlyimpact.com/productcart/settings-display#product_display_options - wiki.earlyimpact.com/productcart/settings-display#product_display_options
For a wholesale store I think the "Display Items Vertically (list view) with the ability to add multiple items to the cart at the same time" is a great option as the customer can select multiple different items on the page and then select "add to cart" just once.
Regarding the payment options, there are other differences between wholesale and retail customers which mean you should keep them all under wholesale. Customer groups would be a good starting point, but I believe a smallish amount of custom code would be required to show/hide payment options based on their customer group.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: e4h
Date Posted: 22-June-2009 at 3:03pm
Thanks again- that answered my questions. The list view works PERFECTLY!
I'll start hunting for code and trial/error to get the pre-selection of payment type to work.
|
Posted By: Hamish
Date Posted: 22-June-2009 at 3:05pm
Hi, If you want to see an example of the different layouts try the following URLs. http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=m&idCategory=8 - www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=m&idCategory=8 http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=l&idCategory=8 - www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=l&idCategory=8 http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=h&idCategory=8 - www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=h&idCategory=8 http://www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=p&idCategory=8 - www.earlyimpact.com/demos/standard/pc/viewCategories.asp?pageStyle=p&idCategory=8
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: e4h
Date Posted: 29-June-2009 at 3:39pm
Would it be possible to get a listing of customer groups?
I see the variables are numbers, such as customer group= 1, etc.
|
Posted By: Hamish
Date Posted: 29-June-2009 at 4:27pm
See - http://wiki.earlyimpact.com/how_to/show_different_content_customer_type - http://wiki.earlyimpact.com/how_to/show_different_content_customer_type
There are two "customertype"'s - Wholesale (1) and Retail (0) The customer pricing categories are assigned an identifying number as you create each pricing category so there are no predefined numbers for these as none exist by default..
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: e4h
Date Posted: 01-July-2009 at 2:25pm
I have 2 types of customer categories, both are wholesale type.
I found instructions on locating the identifying number for the categories. They state:
"The value assigned to the session variable is the ID of the Customer
Pricing Category. You can view this value when you add/edit a pricing
category in the Control Panel." I can not find this value on the add/edit pricing category.
|
Posted By: e4h
Date Posted: 01-July-2009 at 2:56pm
ah ha.
found it by hovering over the link for a category, it mentioned the ID inside the link's address.
|
Posted By: e4h
Date Posted: 01-July-2009 at 5:05pm
ok... so i have been toying with the OrderVerify.asp page.
I have located the code that populates the payment type dropdown box. I have used this code:
if int(pidPayment)=int(tempidPayment) then %>
<% If session("customerCategory")="6" then %> <option value="OrderVerify.asp?idpchange=<%=tempidPayment%>&idDbSession=<%=pidDbSession%>&randomKey=<%=prandomKey%>&UseRewards=<%=session("pcSFUseRewards")%>&discountcode=<%=pDiscountShowCode%>" selected> <% end if %>
<% else %>
<% If session("customerCategory")="5" then %> <option value="OrderVerify.asp?idpchange=<%=tempidPayment%>&idDbSession=<%=pidDbSession%>&randomKey=<%=prandomKey%>&UseRewards=<%=session("pcSFUseRewards")%>&discountcode=<%=pDiscountShowCode%>" selected> <%end if %>
<% end if %>
now, the drop down box will only display ONE payment type. PERFECT.
however, by default NET 30 is still selected, and the drop down box shows Prepay.
in other words- it is displaying prepaid in the box, but net 30 is selected.
it seems as if the code from the "onchange" location.href=this[this.selectedIndex].value; would do it, but i am unsure how to execute this.
|
|