Make {$entry->price} into Add to Cart

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

Make {$entry->price} into Add to Cart

Post by CapereSpiritum »

Hi Folks

A very happy new year.

I'm working on a site for myself. As well as websites, we do print.

I want to make a {$entry->price} into the add to cart button so that I can create a grid of prices relevant to a column of quantities.

That way I can create a number of floated left divs, each containing a specified hirearchy but without an Add to Cart button for every product.

Is there a way of combining: {$currency_symbol}{$entry->price} with {cge_have_module m='CGEcommerceBase' assign='tmp'}{if $tmp}{cgecomm_form_addtocart product=$entry->id}

Here's what I have so far.

BTW, I'm using the older version of CG's ecommerce suite as I will need multiple attributes for some products.

CMS Version 1.11.6
CMSMailer 5.2.1
CMSPrinting 1.0.4
FileManager 1.4.3
MenuManager 1.8.5
MicroTiny 1.2.5
ModuleManager 1.5.5
News 2.12.12
Search 1.7.8
ThemeManager 1.1.8
CGExtensions 1.31.4
FrontEndUsers 1.21.2
CGSimpleSmarty 1.5.3
CustomContent 1.8.3
JQueryTools 1.2.4
Products 2.18.4
CGEcommerceBase 1.3.11
Cart 1.8.4
CGPaymentGatewayBase 1.1
Orders 1.13.3
PaypalGateway 2.3.9
CompanyDirectory 1.17.3
Post Reply

Return to “Modules/Add-Ons”