Welcome, Guest. Please Login or Register
PDG Commerce Shopping Cart
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Starting to setup our shopping cart (Read 806 times)
Robert McMahan
YaBB Newbies
*
Offline


I Love PDG!

Posts: 2
Starting to setup our shopping cart
Apr 30th, 2009 at 1:51am
 
I'm tried using the <!---BASKET---> tag, but there is not enough CSS classes in the generated code to get the look that we want.  To get around this, I'm trying to duplicate the code generated by basket tag, but am missing a few items. 

1.  Is there a tag to display the Global Price Code value.  I've got the entry and update working to apply the code, but I've not been able to find a tag to show the currently applied code.

2.  Is there a way to only display the  quantity discount if the value is > 0.  The basket template does this, although I suspect that the EXE just generates the HTML code base in internal values.

I've looked at the basket-custom file from the message archives, but have not seen a way to acomplish these items.

Bob McMahan
Back to top
 
 
IP Logged
 
PDG Josh
YaBB Administrator
*****
Offline


Pull the curtain Fred.

Posts: 140
Re: Starting to setup our shopping cart
Reply #1 - Apr 30th, 2009 at 2:30am
 
I'm glad that you found the Message Board Downloads page, you'll find a great deal to help you switch some things up from the default installation there.  Have you tried using the <---PRCAT---> tag to display the global price code?  I'm not quite sure what you mean by displaying the quantity discount if its greater that zero, because the only way that the quantity discount will work is if the value is greater than zero--so it shouldn't hesitate to display with a minimum quantity of at least 1 (or your smallest fractional quantity amount.  And in closed source compiled binary, I would venture to say that all of the values generated are internal until they display the dynamically generated information through the 'live' side of the software.   Wink  Welcome to the message board and PDG!
Back to top
 

Ask not what your software can do for you, ask what you can do for your software.
 
IP Logged
 
DaK
God Member
*****
Offline


DaK & DaK jr

Posts: 853
Central Florida
Re: Starting to setup our shopping cart
Reply #2 - Apr 30th, 2009 at 2:43am
 
If you really want to dive into customization, have a look at the tech manual for cart. You can access it by clicking support >> manuals in your admin. There is a wealth of information there for customization.

DaK
Back to top
 

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login or Register Register
 
IP Logged
 
Robert McMahan
YaBB Newbies
*
Offline


I Love PDG!

Posts: 2
Re: Starting to setup our shopping cart
Reply #3 - Apr 30th, 2009 at 9:36am
 
Thanks for the response.

PDG Josh wrote on Apr 30th, 2009 at 2:30am:
Have you tried using the <---PRCAT---> tag to display the global price code?


I tried <!---PRCAT--->, but I still don't get the Global Price Code to display.  I can see by the unit price that it has been applied, but I would like to display it on the page somewhere.  I've looked at the Tech Ref, and this tag seems to apply to the Search Results template.  I don't know if the shopper.exe is ignoring it because I'm calling the basket template.      

PDG Josh wrote on Apr 30th, 2009 at 2:30am:
I'm not quite sure what you mean by displaying the quantity discount if its greater that zero


If you look at the default template generated by the shopper.exe program, it only adds the "Quantity Modifier" line when one applies.  I have not found a way to do this same thing through a pure html template.  I suspect that the shopper.exe program dynamically creates the HTML, instead of processing a HTML Template file, allowing it do precheck values, and only output lines that are needed.  There does not seem to be a conditional tag that would allow me to ouput a line based on a value.  

It would be acceptable to just show a sum of all of the discount values, and not show the quantity discount for each row, but I have not found a tag that display's this in either the Tech Ref or Site Design guides.  

I've got an example page at

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login or Register Register

Add some items to the cart.  If you an item in with quantity 1, and put another item in with quantity 25, you should see where on my template (top), it always shows the quantity discount, but at the bottom using the <!---BASKET---> tag only shows the quantity discount on the items that are eligible for one.

Thanks,
Bob McMahan
Futuresoft, Inc.
 
Back to top
« Last Edit: Apr 30th, 2009 at 10:40am by Robert McMahan »  
 
IP Logged
 
PDG Josh
YaBB Administrator
*****
Offline


Pull the curtain Fred.

Posts: 140
Re: Starting to setup our shopping cart
Reply #4 - May 1st, 2009 at 2:47am
 
Robert McMahan wrote on Apr 30th, 2009 at 9:36am:
only shows the quantity discount on the items that are eligible for one.



It should only show the quantity discount for items that are eligible for one.  Why would you want it to show the discount on items that aren't eligible for one?  Sorry if my obtuse perspective continues to overlook your true goal here...
Back to top
 

Ask not what your software can do for you, ask what you can do for your software.
 
IP Logged
 
Page Index Toggle Pages: 1