Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/18/2017 in all areas

  1. Even though CubeCart does a good job of figuring out where it is, on a local dev machine, it helps tremendously to override some of this decision making. In /includes/global.inc.php, add the following: $glob['storeURL'] = 'http://127.0.0.1/store'; // No trailing slash $glob['standard_url'] = 'http://127.0.0.1/store'; // No trailing slash $glob['ssl_url'] = 'https://127.0.0.1/store'; // No trailing slash $glob['cookie_domain'] = '127.0.0.1'; // No trailing slash $glob['rootRel'] = '/store/'; // YES trailing slash or just a slash $glob['ssl_path'] = '/store/'; // YES trailing slash or just a slash In .htaccess, make these changes: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /store ### or just a slash ### ... ### Default store 404 page ### ErrorDocument 404 /store/index.php If CubeCart is installed in the "doc_root" of the server, that is, not in it's own folder, don't include the "/store" part. Then, use 127.0.0.1 instead of 'localhost'.
    1 point
  2. Pretty easy. go to Product Options and create a new group, call it Roast Type Then also in product options, go to attributes and create a new style of roast - call it light roast, assign it to Roast Type with the drop down. Click the little green plus icon and then create your next style (medium), again, click the plus, create another (Heavy), or what ever styles roasts come as. Click save Create your base item - coffeee beans. When coffee beans has been created, you can assign any number of the above attributes to the product, and assign either a final price or an additional price. eg, Beans are £5.00 Light roast can then be either an additional $0.50 or a full total of $5.50 depending on which tick box you use. Medium roast then be either an additional $0.70 or a full total of $5.70 Heavy roast can be either an additional $1.00 or a full total of $6.00 If you then wanted to do something similar with size of beans, you could create a new attribute called size. see my example below of a product with multiple options. Note how my 1000 and 10000 options are absolute price. This is the final price, and not an additional price.
    1 point
  3. There are a few conversations: https://forums.cubecart.com/topic/52080-directions-to-setup-options/ https://forums.cubecart.com/topic/52233-options-tutorial/ https://forums.cubecart.com/topic/51635-product-options/ https://forums.cubecart.com/topic/51613-resolved-options-and-how-to-use-it/
    1 point
×
×
  • Create New...