[ic] Quantity Price print out for retail customers

kerry blalock kerry at basicq.com
Tue Jan 27 21:44:59 UTC 2015


On 01/27/2015 04:05 PM, Gert van der Spoel wrote:
>>>>> Hi Kerry,
>>>>>
>>>>> I think this comes from the depths of Interchange setup regarding 
>>>>> normal customers and dealers related to pricing. I have not looked a 
>>>>> lot but I found an old post:
>>>>> http://www.gossamer-threads.com/lists/interchange/users/10416?do=pos
>>>>> t_
>>>>> view_t
>>>>> hreaded
>>>>>
>>>>> So a 'dealer' gets quantity discounts on price groups.
>>>>> Not a dealer then quantity discounts come from qX fields
>>>>>
>>>>> So if you want to offer quantity discounts for normal customers you 
>>>>> will likely need to use a different approach.
>>>>>
>>>>> CU,
>>>>>
>>>>> Gert
>>>> Thanks Gert,
>>>> I do have the quantity breaks working for regular consumer. They 
>>>> simply
>>> change price when put in the cart when the break quantity  is entered 
>>> from the flypage.
>>>> If it is a dealer, and they order less than the quantity, "Quantity
> Price"
>>> is printed in the cart as a link. This is what I am trying to 
>>> duplicate for regular customer, so they have a chance to increase 
>>> order a little to get the break in price.
>>>> I will take a look at the link and see if it is one that I have 
>>>> already
>>> found.
>>> So if I understand correctly you there is this piece of code:
>>> [if scratch dealer]
>>> 	[if-item-data pricing sku]
> v> 		<BR>[page quantity [item-code]]
>>> 		[L]QUANTITY PRICING[/L]</A>
>>> 	[/if-item-data]
>>> [/if]
>>>
>>> And the if scratch dealer decides if it is a dealer or not and the 
>>> next if decided if quantity has been reached? Have not looked at this 
>>> for a long time :) ...
>>>
>>> Have you tried to just remove both 'if' statements? In that case you'd 
>>> expect it always shows the quantity pricing link .. right? Or doesn't it?
>>> Just to check if it shows the link then for non-dealers. If it does 
>>> not in that case then there are more rules somewhere deciding to show
> this.
>>> CU,
>>>
>>> Gert
>>>
>> I just checked with a dealer with code removed, and it does take the link
> out there, so the [if scratch >dealer] must be setting something that is
> needed. I tried using retail in place of dealer in the scratch, but
>> apparantly it is just default with no setting as dealer has.
> I had a bit of a look and interesting stuff this dealer ... At some point
> sometime some code must have been added and extra fields where needed.
> Already from IC 4.6 (adds the 'dealer' field):
> http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icupgrade.html
>
> dealer is here to be char(3) (why???), but it exists as varchar(32):
> https://github.com/interchange/interchange/blob/master/dist/standard/dbconf/
> mysql/userdb.mysql
>
> and when you check the following link, it could just be a single
> character/Boolean:
> http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icfoundation_41.html
>
> Confusing :) In case anybody remembers, some light history lesson would be
> fun. :)
>
> I assume you have this table?
> http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icfoundation_34.html
Yes, or a much expanded version as I have a large number of different
breaks among the products.
> And are you making use of Profiles?  Or do you handle things differently?
> http://interchange.rtfm.info/icdocs/config/Profile.html
Yes, something like this:
CommonAdjust   pricing:q2..q100:, ;:sale_price, ;:price, ;$, :related,
==:options
> Do you have this line in your catalog.cfg or something similar?
> # Don't want people setting their credit limit or dealer status directly
> UserDB default scratch "dealer price_level credit_limit"
Yes, exact.
> Spinned your brain? It did mine! :)

I am thinking that it may not matter as most times, a regular customer
would not setup the account until they have placed the items in the
cart. Unless there is a way to have the Quantity link show up even if
not logged in.

Kerry
>
>>>>> -----Original Message-----
>>>>> From: interchange-users-bounces at icdevgroup.org
>>>>> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of kerry 
>>>>> blalock
>>>>> Sent: Saturday, January 24, 2015 4:22 PM
>>>>> To: interchange-users at icdevgroup.org
>>>>> Subject: [ic] Quantity Price print out for retail customers
>>>>>
>>>>> I would like to have the "Quantity Price" page print the quantities 
>>>>> and price from the quantity.html page. It shows up in the shopping 
>>>>> cart for dealers fine. I have located two pages with the quantity 
>>>>> information in them, the quantity.html page, which is where the link 
>>>>> in the shopping cart takes it, and in the shopping_cart page.
>>>>>
>>>>> Both have the [if scratch dealer][/if] code in them.
>>>>>
>>>>> I have found much information the quantity pricing in the email and 
>>>>> docs, but nothing so far on having the Quantity link in the shopping 
>>>>> cart display when a retail customer is logged in.
>>>>>
>>>>> Tried replacing dealer with retail, but this does not seem to work.
>>>>>
>>>>> It seems like I am missing the file the Quantity is called from.
>>>>>
>>>>> Kerry
>>>>>
>>>>> Interchange 5.8
>>>>>
>>>>> --
>>>>> BasicQ Inc.
>>>>> PO Box 381
>>>>> Boca Raton, FL 33432
>>>>>
>>>>> Phone: 800-448-0655
>>>>> Fax: 888-390-6130
>>>>>
>>>>> http://decor.basicq.com
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> interchange-users mailing list
>>>>> interchange-users at icdevgroup.org
>>>>> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>>> _______________________________________________
>>> interchange-users mailing list
>>> interchange-users at icdevgroup.org
>>> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
> --
> BasicQ Inc.
> PO Box 381
> Boca Raton, FL 33432
>
> Phone: 800-448-0655
> Fax: 888-390-6130
>
> http://decor.basicq.com
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users


-- 
BasicQ Inc.
PO Box 381
Boca Raton, FL 33432

Phone: 800-448-0655
Fax: 888-390-6130

http://decor.basicq.com




More information about the interchange-users mailing list